Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
Go to file
Greg Wilkins 5aaec6e23f
Issue #4321 Refactored Graceful shutdown (#4482)
* Issue #4321 Refactored Graceful shutdown

removed stopTimeout from all abstractLifeCycles.  It is on Graceful.LifeCycle, which is only implemented by components that can start a graceful shutdown (eg Server, ContextHandler and QueuedThreadPool)

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #4321 Refactored Graceful shutdown

cleanup after review

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #4321 Refactored Graceful shutdown

reinstate other stop tests (more work to do).

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #4321 Refactored Graceful shutdown

Fixes for stop test by improving LocalConnector shutdown handling

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #4321 Refactored Graceful shutdown

Removed broken test on LocalConnector that is already tested in GracefulStopTest

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #4321 Refactored Graceful shutdown

Fixed all stop tests

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #4321 Refactored Graceful shutdown

fixed checkstyle

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #4321 Refactored Graceful shutdown

No stopTimeout JMX attribute

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #4321 Refactored Graceful shutdown

Dump stopTimeout
test with default stopTimeout

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #4321 Refactored Graceful shutdown

USe sendError for 503

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #4321 Refactored Graceful shutdown

minor cleanups

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #4321 Refactored Graceful shutdown

Simplifications after review

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #4321 Refactored Graceful shutdown

after review

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #4321 Refactored Graceful shutdown

after review

Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-01-30 17:05:03 +01:00
.github Fixing typo in stalebot message 2019-11-20 09:58:44 -06:00
advisories Adding reference to patched versions of jetty-http jars 2015-02-25 16:10:06 -07:00
aggregates Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
apache-jsp Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
apache-jstl Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
build-resources skip surefire execution for build-resources module 2020-01-23 07:57:51 +10:00
examples Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-alpn Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2020-01-30 10:17:10 +01:00
jetty-annotations Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-ant Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-bom Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-cdi Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-client Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-deploy Issue #4321 Refactored Graceful shutdown (#4482) 2020-01-30 17:05:03 +01:00
jetty-distribution Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-documentation Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2020-01-30 10:17:10 +01:00
jetty-fcgi Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-gcloud Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-hazelcast Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-home Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-http Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'. 2020-01-30 10:41:43 +01:00
jetty-http-spi Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-http2 Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-infinispan Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-io Issue #4321 Refactored Graceful shutdown (#4482) 2020-01-30 17:05:03 +01:00
jetty-jaas Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-jaspi Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-jmh/src/main/java/org/eclipse/jetty/util Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-jmx Issue #4321 Refactored Graceful shutdown (#4482) 2020-01-30 17:05:03 +01:00
jetty-jndi Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-jspc-maven-plugin Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-maven-plugin Issue #4321 Refactored Graceful shutdown (#4482) 2020-01-30 17:05:03 +01:00
jetty-memcached Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-nosql Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-openid Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-osgi Issue #4496 Update paxexam for osgi tests (#4497) 2020-01-21 09:48:46 +01:00
jetty-plus Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-proxy Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-quickstart Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-rewrite Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-runner Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-security Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-server Issue #4321 Refactored Graceful shutdown (#4482) 2020-01-30 17:05:03 +01:00
jetty-servlet tck tests are done after ServletContext has already been initialized so we need to test this first to get some tck test passing... (#4514) 2020-01-28 20:33:16 +10:00
jetty-servlets Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-spring Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-start Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2020-01-30 10:17:10 +01:00
jetty-unixsocket Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-util Issue #4321 Refactored Graceful shutdown (#4482) 2020-01-30 17:05:03 +01:00
jetty-util-ajax Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
jetty-webapp Issue #4432 Implement get/setSessionTimeout for ServletContext (#4458) 2020-01-20 17:26:55 +01:00
jetty-websocket Make the WebSocketServerContainer initialize methods private 2020-01-30 15:01:15 +11:00
jetty-xml Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
logos Adding logos 2016-07-08 08:45:26 -07:00
scripts Merge branch 'jetty-9.4.x' into jetty-10.0.x 2019-10-24 10:58:45 -05:00
tests Issue #4321 Refactored Graceful shutdown (#4482) 2020-01-30 17:05:03 +01:00
.gitattributes Adding mod & adoc to gitattributes 2018-08-02 08:57:58 -05:00
.gitignore Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-9.4.x-3550-QueuedThreadPool-cleanup 2019-04-25 06:53:07 +02:00
CODE_COVERAGE.md http-spi test improvement (#62) 2016-05-04 10:56:56 +10:00
CONTRIBUTING.md Testing gpg signature setup 2019-09-25 12:42:32 -05:00
Jenkinsfile Removing javadoc:aggregate-jar due to MJAVADOC-618 2020-01-15 12:54:20 -06:00
Jmh_Jenkinsfile Merge branch 'jetty-9.4.x' into jetty-10.0.x 2019-07-09 12:57:26 +10:00
KEYS.txt Fixing typo in email address 2019-09-10 03:57:58 -05:00
LICENSE Issue #3578 - Adopt EPL-2.0 for Jetty-10. 2020-01-09 20:10:19 +01:00
NOTICE.txt Issue #3578 - Adopt EPL-2.0 for Jetty-10. 2020-01-09 20:10:19 +01:00
README.md Updating http to https 2019-11-05 16:23:49 -06:00
VERSION.txt Updating to version 9.4.27-SNAPSHOT 2020-01-17 07:00:10 -06:00
header-template.txt Fixes #3578 - Adopt EPL-2.0 for Jetty-10. 2020-01-09 21:56:05 +01:00
pom.xml Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2020-01-30 10:17:10 +01: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 clean install -DskipTests.

Professional Services

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