Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
Go to file
Greg Wilkins 1159fa399f
Issue #5095 - XmlConfiguration Parser Pool (#5148)
* Issue #5095 XmlConfiguration Parser Pool

Use a pool of parsers rather than a shared static

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

* Some updates to the new Pool class:

 + fixed a race with pending reservations
 + use a pending counter
 + Reservation API to simplify Entry API
 + removed public methods on Entry API

* Some updates to the new Pool class:

 + fixed a race with pending reservations
 + use a pending counter
 + Reservation API to simplify Entry API
 + removed public methods on Entry API

* Updates from review

* Updates from review
Tests for cache size and acquire with creator

* Method no longer required with Reservation

* update from the feedback on the feedback of the feedback from the review.

Moved enable to Entry, removed Reservation class and clarified usage in javadoc

* Issue #5095 XmlConfiguration locking  Use pool instead of static shared instance

* removed fake test

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

* Issue #5095 XmlConfiguration locking  Use pool instead of static shared instance

updates from review
2020-08-24 18:00:28 +02:00
.github add dependabot for 9.4.x branch 2020-08-18 14:08:28 +08: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.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
apache-jsp Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
apache-jstl Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
build-resources Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
examples fix missing SslContextFactory 2020-08-12 18:51:39 +08:00
jetty-alpn Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-annotations Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-ant Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-bom Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-cdi Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-client Improved logging and toString() implementations, 2020-08-22 17:31:12 +02:00
jetty-continuation Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-deploy Issue #5087 Use lock to protect Deployment Mgr startup errors (#5139) 2020-08-24 17:21:53 +02:00
jetty-distribution Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-documentation Removing overlay-deployer documentation 2020-08-11 08:29:23 -05:00
jetty-fcgi Re-implement HTTP connection pooling with a non-queuing algorithm 2020-07-31 10:36:43 +02:00
jetty-gcloud Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-hazelcast Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-home Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-http Issue #5104 - AbstractProxyServlet include incorrect protocol version in Via header when accessed over H2. 2020-08-13 18:23:26 +02:00
jetty-http-spi Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-http2 Re-implement HTTP connection pooling with a non-queuing algorithm 2020-07-31 10:36:43 +02:00
jetty-infinispan Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-io Merge pull request #5125 from eclipse/jetty-9.4.x-5122-WebSocketStats 2020-08-19 08:04:47 +10:00
jetty-jaas Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-jaspi Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-jmh Re-implement HTTP connection pooling with a non-queuing algorithm 2020-07-31 10:36:43 +02:00
jetty-jmx Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-jndi Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-jspc-maven-plugin Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-maven-plugin Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-memcached Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-nosql Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-openid Merge remote-tracking branch 'origin/release-9.4.31' into jetty-9.4.x 2020-07-30 09:02:35 -05:00
jetty-osgi Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-plus Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-proxy Issue #3974 - disable testAfterContentTransformerOverflowingToDisk() 2020-08-24 15:24:58 +10:00
jetty-quickstart Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-rewrite Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-runner Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-security Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-server reorder some CustomRequestLog methods to be same as jetty-10 2020-08-21 10:29:22 +10:00
jetty-servlet Fixes #5079 - :authority header for IPv6 address not having square brackets. 2020-08-07 15:53:19 +02:00
jetty-servlets Fixes #5079 - :authority header for IPv6 address not having square brackets. 2020-08-07 15:53:19 +02:00
jetty-spring Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-start Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-unixsocket Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-util Issue #5095 - XmlConfiguration Parser Pool (#5148) 2020-08-24 18:00:28 +02:00
jetty-util-ajax Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
jetty-webapp Issue #5129 - Directories discovered via classpath glob are not valid 2020-08-11 10:44:05 -05:00
jetty-websocket fix WebSocketStatsTest numMessages back to 1000 2020-08-19 09:36:56 +10:00
jetty-xml Issue #5095 - XmlConfiguration Parser Pool (#5148) 2020-08-24 18:00:28 +02:00
logos Adding logos 2016-07-08 08:45:26 -07:00
scripts simplify release script to not call goals already triggered by eclipse-release profile 2020-05-31 09:04:59 +10:00
tests Improved logging and toString() implementations, 2020-08-22 17:31:12 +02: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
CONTRIBUTING.md Testing gpg signature setup 2019-09-25 12:42:32 -05:00
Jenkinsfile increase surefire memory 2020-05-08 11:00:49 +10:00
Jmh_Jenkinsfile a bit more time to run all jmh tests 2019-07-09 12:56:53 +10:00
KEYS.txt add olamy key 2020-06-10 16:20:58 +10:00
LICENSE Correcting header text mentioning EPL 2.0, we are not EPL 2.0 yet, we are still EPL 1.0 2019-04-22 09:51:29 -05:00
NOTICE.txt Update Notice (#4395) 2019-12-17 07:40:19 +11:00
README.md Updating http to https 2019-11-05 16:23:49 -06:00
VERSION.txt Updating to version 9.4.32-SNAPSHOT 2020-07-23 13:53:47 -05:00
header-template-doc.txt Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'. 2020-01-07 16:35:05 +01:00
header-template-java.txt Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'. 2020-01-07 16:35:05 +01:00
pom.xml upgrade some maven plugins version (#5143) 2020-08-15 10:32:01 +10: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.