Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
Go to file
Greg Wilkins 7d98cbb870 Issue #1851 Improve insufficient thread warnings/errors
Squashed commit of the following:

commit 1d9e8e4b4d53898cb6435f67529347bd2ba82cf0
Merge: 7280594 55b0f10
Author: Greg Wilkins <gregw@webtide.com>
Date:   Thu Sep 28 07:20:37 2017 +1000

    Merge branch 'jetty-9.4.x' into jetty-9.4.x-1851-ThreadBudget

commit 7280594a0058538b603ad35625713a79830e9b93
Author: Greg Wilkins <gregw@webtide.com>
Date:   Wed Sep 27 22:48:58 2017 +1000

    fixed headers

commit f962f18e5b098ae40846ee3832736ee4650aed84
Author: Greg Wilkins <gregw@webtide.com>
Date:   Wed Sep 27 18:12:33 2017 +1000

    Issue #1851 added reset

commit a63894de284c8d8dc5ed031f1f6e0fccaf6c7715
Author: Greg Wilkins <gregw@webtide.com>
Date:   Wed Sep 27 18:08:53 2017 +1000

    Issue #1851 improved test

commit 8bcc460dc63273165305a7adcb88e991e30de4b7
Author: Greg Wilkins <gregw@webtide.com>
Date:   Wed Sep 27 18:03:47 2017 +1000

    Issue #1851 Improve insufficient thread warnings/errors

    Refactor approach to use Leases, to handle multiple executors

commit fe4be5f56594f342ab5c2e6c886397d9b4fe9c14
Merge: abc5eac a248d38
Author: Greg Wilkins <gregw@webtide.com>
Date:   Wed Sep 27 15:37:56 2017 +1000

    Merge branch 'jetty-9.4.x' into jetty-9.4.x-1851-ThreadBudget

commit abc5eac2b73d306a91b28ef4db778455095a5bdb
Author: Greg Wilkins <gregw@webtide.com>
Date:   Wed Sep 27 12:20:03 2017 +1000

    Issue #1851 Improve insufficient thread warnings/errors

    Created a ThreadBudget class that can be used to warn/error for
    registered and unregistered allocations of threads.

    The server on doStart does an unregistered check of all its components that
    implement the Allocation interface.

    The client will register itself as an Allocation if a shared Executor is used.
2017-09-28 07:35:05 +10:00
LICENSE-CONTRIBUTOR add cla-tbecker.txt 2012-07-17 21:37:33 +02:00
advisories Adding reference to patched versions of jetty-http jars 2015-02-25 16:10:06 -07:00
aggregates Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
apache-jsp Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
apache-jstl Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
examples Issue #1851 Improve insufficient thread warnings/errors 2017-09-28 07:35:05 +10:00
jetty-alpn Issue #215 Conscrypt module for SSL and ALPN 2017-09-26 10:09:30 +10:00
jetty-annotations Issue #1797 MR jar support in java8 code 2017-09-20 13:47:37 +10:00
jetty-ant Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-bom Issue #215 Conscrypt module for SSL and ALPN 2017-09-23 09:22:03 +10:00
jetty-cdi Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-client Issue #1851 Improve insufficient thread warnings/errors 2017-09-28 07:35:05 +10:00
jetty-continuation Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-deploy Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-distribution Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-documentation Adding authorization examples for #1850. 2017-09-27 14:37:39 -04:00
jetty-fcgi Updating to version 9.4.8-SNAPSHOT 2017-09-14 08:44:27 -07:00
jetty-gcloud Updated maven-dependency-plugin to 3.0.2 to solve JDK 9 issue due to 2017-09-21 14:47:24 +02:00
jetty-hazelcast Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-home Issue #215 Conscrypt module for SSL and ALPN 2017-09-21 07:34:25 +10:00
jetty-http Issue #215 Conscrypt module for SSL and ALPN 2017-09-21 07:34:25 +10:00
jetty-http-spi Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-http2 Issue #215 Conscrypt module for SSL and ALPN 2017-09-26 10:09:30 +10:00
jetty-infinispan Issue #1818 2017-09-20 13:31:49 +10:00
jetty-io Issue #1851 Improve insufficient thread warnings/errors 2017-09-28 07:35:05 +10:00
jetty-jaas Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-jaspi Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-jmx Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-jndi Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-jsp Updating to version 9.2.23-SNAPSHOT 2017-08-08 09:12:55 -07:00
jetty-jspc-maven-plugin Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-maven-plugin Updating to version 9.4.8-SNAPSHOT 2017-09-14 08:44:27 -07:00
jetty-memcached Updating to version 9.4.8-SNAPSHOT 2017-09-14 08:44:27 -07:00
jetty-monitor Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-nosql Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-osgi Issue #1829 2017-09-19 14:32:34 +10:00
jetty-overlay-deployer Replace contraction with possesive 2017-01-26 19:26:50 -07:00
jetty-plus Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-proxy Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-quickstart Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-rewrite Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-runner Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-security Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-server Issue #1851 Improve insufficient thread warnings/errors 2017-09-28 07:35:05 +10:00
jetty-servlet Issue #1841 reduce ServletHolder contention 2017-09-26 16:40:49 +10:00
jetty-servlets Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-spdy Updating to version 9.2.23-SNAPSHOT 2017-08-08 09:12:55 -07:00
jetty-spring Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-start Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-unixsocket Updating to version 9.4.8-SNAPSHOT 2017-09-14 08:44:27 -07:00
jetty-util Issue #1851 Improve insufficient thread warnings/errors 2017-09-28 07:35:05 +10:00
jetty-util-ajax Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-webapp Merge pull request #1824 from jglick/WebAppClassLoader.addJars-ordering 2017-09-27 11:12:39 +10:00
jetty-websocket Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
jetty-xml Updating to version 9.3.22-SNAPSHOT 2017-09-18 15:04:47 -07:00
logos Adding logos 2016-07-08 08:45:26 -07:00
scripts Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-12-27 13:33:41 -07:00
tests Issue #1851 Improve insufficient thread warnings/errors 2017-09-28 07:35:05 +10:00
.gitattributes Updating .gitattributes 2017-08-08 09:14:22 -07:00
.gitignore Adding <c:catch> JSTL test cases 2015-07-23 16:11:16 -07:00
CONTRIBUTING.md Updating to reflect changes to Eclipse Contributor Agreement. 2017-08-17 15:03:46 -04:00
Jenkinsfile Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2017-08-16 05:05:58 -07:00
KEYS.txt Updating gpg/pgp KEYS.txt 2016-11-16 07:58:39 -07:00
LICENSE-eplv10-aslv20.html 392237 renamed license file 2012-10-18 14:33:23 +11:00
NOTICE.txt Happy New Year 2017. 2017-01-19 19:26:41 +01:00
README.md Minor update to README 2017-08-09 14:41:25 -07:00
VERSION.txt Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2017-09-20 14:46:13 -07:00
header-template.txt Fixes #487 - JDK 9 build compatibility. 2016-06-06 21:28:51 +02:00
pom.xml Udpdated instructions for javadoc generation 2017-09-21 12:48:16 -04:00

README.md

Eclipse Jetty Canonical Repository

This is the canonical repository for the Jetty project, feel free to fork and contribute now!

Submitting a patch or pull request?

Make sure you have an Eclipse Contributor Agreement (ECA) on file.

Project description

Jetty is a lightweight highly scalable java based web server and servlet engine. Our goal is to support web protocols like HTTP, HTTP/2 and WebSocket in a high volume low latency way that provides maximum performance while retaining the ease of use and compatibility with years of servlet development. Jetty is a modern fully async web server that has a long history as a component oriented technology easily embedded into applications while still offering a solid traditional distribution for webapp deployment.

Documentation

Project documentation is available on the Jetty Eclipse website.

Building

To build, use:

  mvn clean install

The Jetty distribution will be built in jetty-distribution/target/distribution.

The first build may take a longer than expected as Maven downloads all the dependencies.

The build tests do a lot of stress testing, and on some machines it is necessary to set the file descriptor limit to greater than 2048 for the tests to all pass successfully.

It is possible to bypass tests by building with mvn -Dmaven.test.skip=true install but note that this will not produce some of the test jars that are leveraged in other places in the build.

Professional Services

Expert advice and production support are available through Webtide.com.