Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Jetty"

m
 
(48 intermediate revisions by 4 users not shown)
Line 2: Line 2:
  
 
Welcome to the Jetty Documentation Wiki. Jetty is an open-source project providing an HTTP server, HTTP client, and javax.servlet container. This Jetty Wiki provides information about getting started with Jetty, basic configuration, specific features, optimization, security, JavaEE, monitoring, FAQs, help with troubleshooting, and more. It includes tutorials, howtos, videos, feature descriptions, and reference materials.  
 
Welcome to the Jetty Documentation Wiki. Jetty is an open-source project providing an HTTP server, HTTP client, and javax.servlet container. This Jetty Wiki provides information about getting started with Jetty, basic configuration, specific features, optimization, security, JavaEE, monitoring, FAQs, help with troubleshooting, and more. It includes tutorials, howtos, videos, feature descriptions, and reference materials.  
 +
 +
The documentation on this wiki applied to the older Jetty 7 and Jetty 8 releases.  For Jetty 9 we have migrated and updated the content into a format easier to present.  For Jetty 9 documentation please check out the [http://www.eclipse.org/jetty/documentation/current/ Jetty 9 Documentation].
  
 
= Jetty Documentation =
 
= Jetty Documentation =
  
<br/><br/>
+
Look for this box on documentation pages for links to up to date information!
  
 +
{{Jetty Redirect|http://www.eclipse.org/jetty/documentation}}
  
<div style="float: left; width: 45%; margin-left: 5px">
+
Also see the [http://www.eclipse.org/jetty Jetty homepage]!
== Getting Started: Download, Install, Configure, Run  ==
+
  
[http://vimeo.com/19145819 Getting Started with Jetty (video)]
+
<br/>
  
[[Jetty/Starting/Downloads|Download and Install Jetty]]
+
<div style="float: left; width: 45%; margin-left: 5px">
 
+
== Getting Started: Download, Install, Run ==
[[Jetty/Howto/Install Jetty/Bundle|How to Install a Jetty Bundle]]
+
 
+
[[Jetty/Howto/Configure Jetty|How to Configure Jetty – '''Master Doc''']]
+
 
+
[[Jetty/Howto/Run Jetty|How to Run Jetty]]
+
 
+
[[Jetty/Howto/Run Jetty with JConsole|How to Run Jetty with JConsole]]
+
 
+
[[Jetty/Tutorial/Jetty HelloWorld|Jetty HelloWorld Tutorial]]
+
 
+
[[Jetty/Tutorial/Jetty and Maven HelloWorld|Jetty and Maven HelloWorld Tutorial]]
+
 
+
[http://www.itjungle.com/fhg/fhg082708-story02.html Getting Starting with Jetty (6) (on www.itjungle.com)]
+
  
[[Jetty/Feature/Start.jar|Jetty Start.jar]]  
+
[http://vimeo.com/19145819 Getting Started with Jetty (video)]<br/>
 +
[[Jetty/Starting/Downloads|Download and Install Jetty]]<br/>
 +
[[Jetty/Howto/Run Jetty|How to Run Jetty]]<br/>
 +
* [[Jetty/Howto/Run Jetty with JConsole|How to Run Jetty with JConsole]]<br/>
 +
* [[Jetty/Howto/Using Jetty Runner|How to Run Jetty from a single jar]] <br/>
 +
* [[Jetty/Feature/Jetty Maven Plugin|How to Run Jetty from Maven]] <br/>
 +
* [[Jetty/Howto/Use Jetty with Ant|How to Run Jetty from Ant]] <br/>
 +
* [[Jetty/Tutorial/Embedding Jetty|How to Embed Jetty]] <br/>
 +
[[Jetty/Tutorial/Jetty HelloWorld|Jetty HelloWorld Tutorial]]<br/>
 +
[[Jetty/Tutorial/Jetty and Maven HelloWorld|Jetty and Maven HelloWorld Tutorial]]<br/>
 +
[http://www.itjungle.com/fhg/fhg082708-story02.html Getting Starting with Jetty (6) (on www.itjungle.com)]<br/>
 +
[[Jetty/Feature/Start.jar|Jetty Start.jar]]
  
 
== Configuring Jetty  ==
 
== Configuring Jetty  ==
  
[[Jetty/Howto/SetContextPath|How to Set the Context Path]]  
+
[[Jetty/Howto/Configure Jetty|Configuring Jetty]] – '''Master Doc'''<br/>
 +
Configuring...
 +
* [[Jetty/Howto/SetContextPath|A Context Path]]<br/>
 +
**[[Jetty/Howto/SetContextPathto_/|A Context Path to /]]<br/>
 +
**[[Jetty/Howto/MovedContextHandler|Redirecting or Moving a Context]]<br/>
 +
* [[Jetty/Howto/Configure Connectors|Connectors]]<br/>
 +
* [[Jetty/Howto/Custom Error Pages|Custom Error Pages]] <br/>
 +
* [[Jetty/Howto/Configure Form Size|Form Size]]<br/> 
 +
* [[Jetty/Tutorial/JMX|JMX]]
 +
** [[Jetty/Feature/JMX|Java Management Extensions (JMX)]]<br/>
 +
* [[Jetty/Feature/JNDI|JNDI]]<br/>
 +
**[[Jetty/Howto/Configure_JNDI_Datasource|A JNDI Datasource]]<br/>
 +
* [[Jetty/Feature/Annotations|Annotations]]<br/>
 +
* [[Jetty/Howto/Configure JSP|JSP]]<br/>
 +
* [[Jetty/Howto/Port80|Port 80 Access as a Non-Root User]]<br/>
 +
* [[Jetty/Tutorial/RequestLog|Jetty Request Logs]]<br/> 
 +
* [[Jetty/Howto/SessionIds|Session IDs]]<br/>
 +
* [[Jetty/Howto/Persisting Sessions|Persisting Sessions]]<br/>
 +
* [[Jetty/Howto/Configure SSL|SSL]]<br/>
 +
* [[Jetty/Feature/Statistics|Jetty Statistics]] <br/>
 +
* [[Jetty/Tutorial/Statistics|Jetty Statistics Tutorial]]<br/>
 +
* [[Jetty/Howto/Configure Virtual Hosts|Virtual Hosts]]<br/> 
 +
* [[Jetty/Howto/WebappPerConnector|A Web App to Respond on a Specific Port]]<br/>
 +
* [[Jetty/Howto/Prevent Memory Leaks| Memory Leak Prevention]]<br/>
 +
* [[Jetty/Howto/How to serve symbolically linked files|Serving symbolically linked files]]<br/>
  
[[Jetty/Howto/Jars|How to Know Which JARS to USE]]
+
=== Embedding Jetty ===
  
[[Jetty/Feature/JNDI|How to Configure JNDI]]
+
[[Jetty/Tutorial/Embedding Jetty|Embedding Jetty]]<br/>
 
+
[[Jetty/Tutorial/Jetty HelloWorld|Jetty Embedded HelloWorld]]<br/>
[[Jetty/Howto/Configure JSP|How to Configure JSP]]
+
[http://vimeo.com/19146453 Embedding Jetty (video)]<br/>
 
+
[[Jetty/Howto/Jars|Understanding Which JARS to Use]]<br/>
[[Jetty/Howto/Configure SSL|How to Configure SSL]]
+
 
+
[[Jetty/Howto/Port80|How to Access Port 80 as a non-Root User]]
+
 
+
[[Jetty/Howto/Configure Connectors|How to Configure Connectors]]
+
 
+
[[Jetty/Howto/Configure Virtual Hosts|How to Configure Virtual Hosts]]
+
 
+
[[Jetty/Howto/SessionIds|How to Configure Session IDs]]
+
 
+
[[Jetty/Howto/Persisting Sessions|How to Configure Persisting Sessions]]
+
 
+
[[Jetty/Howto/MovedContextHandler|How to Redirect or Move a Context]]
+
 
+
[[Jetty/Howto/WebappPerConnector|How to Have a Web App Respond on a Specific Port]]
+
 
+
[[Jetty/Howto/Configure Form Size]]
+
 
+
== Embedding Jetty  ==
+
 
+
[[Jetty/Tutorial/Embedding Jetty|Embedding Jetty Tutorial]]  
+
 
+
[[Jetty/Tutorial/Jetty HelloWorld|Jetty Embedded HelloWorld Tutorial]]  
+
 
+
[http://vimeo.com/19146453 Embedding Jetty (video)]  
+
  
 
== Optimizing Jetty  ==
 
== Optimizing Jetty  ==
  
[[Jetty/Howto/Garbage Collection|How to Configure Garbage Collection]]  
+
[[Jetty/Howto/Garbage Collection|Configuring Garbage Collection]]<br/>
 
+
[[Jetty/Howto/High Load|Configuring for High Load]]  
[[Jetty/Howto/High Load|How to Configure for High Load]]  
+
  
 
== Deploying Applications within Jetty  ==
 
== Deploying Applications within Jetty  ==
  
[[Jetty/Feature/Deployment Manager|Deployment Manager]]  
+
[[Jetty/Feature/Deployment Manager|Using the Deployment Manager]]<br/>
 
+
[[Jetty/Feature/Deployment Bindings|Setting Deployment Bindings]] <br/>
[[Jetty/Feature/Deployment Bindings|Deployment Bindings]]  
+
[[Jetty/Feature/Hot Deployment|Using Hot Deployment]]<br/>
 
+
[[Jetty/Feature/ContextDeployer|Using the Context Provider]]<br/>
[[Jetty/Feature/Hot Deployment|Hot Deployment]]  
+
[[Jetty/Howto/Deploy Web Applications|Deploying Web Applications]]<br/>
 
+
[[Jetty/Feature/WebAppDeployer|Using the WebApp Provider]]<br/>
[[Jetty/Feature/ContextDeployer|Context Provider]]  
+
[[Jetty/Tutorial/Configuring_the_Jetty_Overlay_Deployer|Using the Overlay Deployer]]<br/>
 
+
[[Jetty/Howto/Deploy 3rd Party Products|Deploying Third Party Products]]<br/>
[[Jetty/Howto/Deploy Web Applications|How to Deploy Web Applications]]  
+
 
+
[[Jetty/Feature/WebAppDeployer|WebApp Provider]]  
+
 
+
[[Jetty/Howto/Deploy 3rd Party Products|How to Deploy Third Party Products]]  
+
 
+
 
[[Jetty Expanded Webapp Deploy|Expanded Webapp Deploy]]  
 
[[Jetty Expanded Webapp Deploy|Expanded Webapp Deploy]]  
  
 
== Developing with Jetty  ==
 
== Developing with Jetty  ==
  
[[Jetty/Howto/Develop|How to Develop with Jetty]]  
+
[[Jetty/Howto/Develop|How to Develop with Jetty]]<br/>
 
+
[[Jetty/Howto/Write Jetty Handler|Writing Jetty Handlers]]<br/>
[[Jetty/Howto/Write Jetty Handler|How to Write Jetty Handlers]]  
+
  
 
== Build/IDE Integration  ==
 
== Build/IDE Integration  ==
  
[[Jetty/Howto/Use Jetty with Maven|How to Use Jetty with Maven]]  
+
[[Jetty/Howto/Use Jetty with Maven|Using Jetty with Maven]]<br/>
 
+
* [[Jetty/Feature/Jetty Maven Plugin|Jetty Maven Plugin]]<br/>
[[Jetty/Howto/Use Jetty with Ant|How to use Jetty with Ant]]
+
* [[Jetty/Feature/Jetty Jspc Maven Plugin|Jetty Jspc Maven Plugin]]<br/>
 
+
* Maven Web App Project Archetypes<br/>
=== More Maven and Ant Support ===
+
[[Jetty/Howto/Use Jetty with Ant|Using Jetty with Ant]]
 
+
* [[Jetty/Howto/Use Jetty with Ant|Ant Jetty Plugin]]
[[Jetty/Feature/Jetty Maven Plugin|Jetty Maven Plugin]]  
+
 
+
[[Jetty/Feature/Jetty Jspc Maven Plugin|Jetty Jspc Maven Plugin]]  
+
 
+
Maven Web App Project Archetypes  
+
 
+
Ant Jetty Plugin  
+
  
 
=== Using IDEs  ===
 
=== Using IDEs  ===
  
[[Jetty/HowTo/Using Jetty with Eclipse|Using Jetty with Eclipse]]  
+
[[Jetty/HowTo/Using Jetty with Eclipse|Using Jetty with Eclipse]]<br/>
 
+
 
[[Jetty/HowTo/Using Jetty with IntelliJ|Using Jetty with IntelliJ]]  
 
[[Jetty/HowTo/Using Jetty with IntelliJ|Using Jetty with IntelliJ]]  
  
 
=== Working with Eclipse  ===
 
=== Working with Eclipse  ===
  
Developing Jetty in Eclipse  
+
[[Jetty/Howto/Develop_with_Eclipse|Developing Jetty in Eclipse]]<br/>
 
+
[http://wiki.eclipse.org/Jetty_WTP_Plugin Using the Jetty WTP Plugin]<br/>
[http://wiki.eclipse.org/Jetty_WTP_Plugin|Using the Jetty WTP Plugin]
+
[http://wiki.eclipse.org/Jetty_WTP_Plugin/Jetty_WTP_Install Installing the Jetty WTP Plugin]<br/>
 
+
[http://wiki.eclipse.org/Jetty_WTP_Plugin/Jetty_WTP_External_WebApp Using the WTP Plugin with an External WebApp]<br/>
[http://wiki.eclipse.org/Jetty_WTP_Plugin/Jetty_WTP_Install Installing the Jetty WTP Plugin]
+
[http://wiki.eclipse.org/Jetty_WTP_Plugin/Jetty_WTP_Modify_ContextPath Modifying the Context Path with the WTP Plugin]<br/>
 
+
[http://wiki.eclipse.org/Jetty-OSGi_SDK JettyOSGi SDK for Eclipse-PDE]<br/>
[http://wiki.eclipse.org/Jetty_WTP_Plugin/Jetty_WTP_External_WebApp Using the WTP Plugin with an External WebApp]
+
[http://wiki.eclipse.org/Jetty/Tutorial/EclipseRT-Jetty-Starter-Kit EclipseRT Jetty StarterKit SDK]
 
+
[http://wiki.eclipse.org/Jetty_WTP_Plugin/Jetty_WTP_Modify_ContextPath Modifying the Context Path with the WTP Plugin]
+
 
+
[http://wiki.eclipse.org/Jetty-OSGi_SDK JettyOSGi SDK for Eclipse-PDE]  
+
 
+
[http://wiki.eclipse.org/Jetty/Tutorial/EclipseRT-Jetty-Starter-Kit EclipseRT Jetty StarterKit SDK]  
+
 
+
  
 
== Configuring Ajax, Comet and Asynchronous Servlets  ==
 
== Configuring Ajax, Comet and Asynchronous Servlets  ==
  
[[Jetty/Feature/Continuations|Continuations and Asynchronous Servlets]]  
+
[[Jetty/Feature/Continuations|Continuations and Asynchronous Servlets]]<br/>
 
+
[[Jetty/Feature/1xx Responses|100 Continue and 102 Processing]]<br/>
[[Jetty/Feature/1xx Responses|100 Continue and 102 Processing]]  
+
[http://blogs.webtide.com/gregw/entry/jetty_websocket_server WebSocket Servlet]<br/>
 
+
[[Jetty/Feature/WebSockets|Using WebSockets]]<br/>
[http://blogs.webtide.com/gregw/entry/jetty_websocket_server WebSocket Servlet]
+
[http://wiki.eclipse.org/Jetty_WTP_Plugin/Jetty_WTP_Websocket_Wizard Using the WebSocket Wizard]<br/>
 
+
[http://blogs.webtide.com/gregw/entry/asynchronous_restful_webapplication Asynchronous REST]<br/>
[http://wiki.eclipse.org/Jetty/Feature/WebSockets Using WebSockets]
+
[[Jetty/Feature/Stress Testing CometD|Stress Testing CometD]]<br/>
 
+
[[Jetty/Feature/SPDY|Using SPDY]]<br/>
[http://wiki.eclipse.org/Jetty_WTP_Plugin/Jetty_WTP_Websocket_Wizard Using the WebSocket Wizard]
+
[[Jetty/Feature/NPN|Configuring NPN]]<br/>
 
+
[http://www.smartjava.org/content/how-use-spdy-jetty How to Use SPDY with Jetty (by Jos Dirksen at Smartjava.org)]
[http://blogs.webtide.com/gregw/entry/asynchronous_restful_webapplication Asynchronous REST]  
+
 
+
[[Jetty/Feature/Stress Testing CometD|Stress Testing CometD]]  
+
  
 
== Using Servlets and Filters  ==
 
== Using Servlets and Filters  ==
  
[[Jetty/Feature/Servlets Bundled with Jetty|Servlets Bundled with Jetty]]  
+
[[Jetty/Feature/Servlets Bundled with Jetty|Servlets Bundled with Jetty]]<br/>
 
+
[[Jetty/Feature/Quality of Service Filter|Quality of Service Filter]]<br/>
[[Jetty/Feature/Quality of Service Filter|Quality of Service Filter]]  
+
 
+
 
[[Jetty/Feature/Cross Origin Filter|Cross Origin Filter]]  
 
[[Jetty/Feature/Cross Origin Filter|Cross Origin Filter]]  
  
 
== Security Topics  ==
 
== Security Topics  ==
  
[[Jetty/Feature/Realms|Security Realms]]  
+
[http://wiki.eclipse.org/Jetty/Jetty_Security_Reports Jetty Security Reports]<br/>
 
+
[[Jetty/Feature/Realms|Security Realms]]<br/>
[[Jetty/Tutorial/Realms|Configuring Security Realms Tutorial]]  
+
[[Jetty/Tutorial/Realms|Configuring Security Realms]]<br/>
 
+
[[Jetty/Feature/JAAS|Java Authentication and Authorization Service (JAAS)]]<br/>
[[Jetty/Feature/JAAS|Java Authentication and Authorization Service (JAAS)]]  
+
[[Jetty/Tutorial/JAAS|Configuring JAAS]]<br/>
 
+
[[Jetty/Feature/JASPI|JASPI]]<br/>
[[Jetty/Tutorial/JAAS|Configuring JAAS Tutorial]]  
+
[[Jetty/Feature/Secure Mode|Secure Mode]]<br/>
 
+
[[Jetty/Tutorial/Passwords|Securing Passwords in Files or Code]]<br/>
[[Jetty/Feature/JASPI|JASPI]]  
+
[[Jetty/Howto/CipherSuites|How to enable and Disable SSL Cipher Suites in Jetty]]<br/>
 
+
[[Jetty/Howto/Secure Passwords|How to Secure Stored Passwords in Jetty]]<br/>
[[Jetty/Feature/Secure Mode|Secure Mode]]  
+
[[Jetty/Howto/Secure Termination|How to Secure Termination of Jetty]]<br/>
 
+
[[Jetty/Tutorial/Passwords|Securing Passwords in Files or Code Tutorial]]  
+
 
+
[[Jetty/Howto/CipherSuites|How to enable and Disable SSL Cipher Suites in Jetty]]  
+
 
+
[[Jetty/Howto/Secure Passwords|How to Secure Stored Passwords in Jetty]]  
+
 
+
[[Jetty/Howto/Secure Termination|How to Secure Termination of Jetty]]  
+
 
+
 
[[Jetty/Howto/Spnego|How to Configure Spnego]]
 
[[Jetty/Howto/Spnego|How to Configure Spnego]]
 
   
 
   
Line 190: Line 152:
 
== General Reference  ==
 
== General Reference  ==
  
[[Jetty/Reference/Jetty Architecture|Jetty Architecture]]  
+
[[Jetty/Reference/Jetty Architecture|Jetty Architecture]]<br/>
 
+
[[Jetty/Reference/Jetty Classloading|Jetty Classloading]]<br/>
[[Jetty/Reference/Jetty Classloading|Jetty Classloading]]  
+
[[Jetty/Reference/Dependencies|Jetty JARS and Dependencies]]<br/>
 
+
[[Jetty/Reference/Start Options|Start Options]]<br/>
[[Jetty/Reference/Dependencies|Jetty JARS and Dependencies]]  
+
[[Jetty/Reference/Temporary Directories|Temporary Directories]]<br/>
 
+
[[Jetty/Reference/Start Options|Start Options]]  
+
 
+
[[Jetty/Reference/Temporary Directories|Temporary Directories]]  
+
 
+
 
[[Jetty/Reference/Web Profile|Jetty and JEE6 Web Profile]]  
 
[[Jetty/Reference/Web Profile|Jetty and JEE6 Web Profile]]  
  
 
=== Configuration Reference  ===
 
=== Configuration Reference  ===
  
[[Jetty/Reference/jetty.xml syntax|jetty.xml Syntax]]–Jetty IOC Configuration  
+
[[Jetty/Reference/jetty.xml syntax|jetty.xml Syntax]]–Jetty IOC Configuration<br/>
 
+
 
[[Jetty/Reference/jetty.xml usage|jetty.xml Usage]]–Using and Combining Jetty Configurations  
 
[[Jetty/Reference/jetty.xml usage|jetty.xml Usage]]–Using and Combining Jetty Configurations  
  
 
=== Configuration Files  ===
 
=== Configuration Files  ===
  
[[Jetty/Reference/jetty.xml|jetty.xml]]–Server configuration  
+
[[Jetty/Reference/jetty.xml|jetty.xml]]–Server configuration<br/>
 
+
[[Jetty/Reference/jetty-web.xml|jetty-web.xml]]–Web App configuration <br/>
[[Jetty/Reference/jetty-web.xml|jetty-web.xml]]–Web App configuration  
+
[[Jetty/Reference/jetty-env.xml|jetty-env.xml]]–JNDI configuration<br/>
 
+
[[Jetty/Reference/webdefault.xml|webdefault.xml]]–Pre-web.xml configuration <br/>
[[Jetty/Reference/jetty-env.xml|jetty-env.xml]]–JNDI configuration  
+
 
+
[[Jetty/Reference/webdefault.xml|webdefault.xml]]–Pre-web.xml configuration  
+
 
+
 
[[Jetty/Reference/override-web.xml|override-web.xml]]–Post-web.xml configuration  
 
[[Jetty/Reference/override-web.xml|override-web.xml]]–Post-web.xml configuration  
  
 
=== Javadoc and Source ===
 
=== Javadoc and Source ===
  
[http://download.eclipse.org/jetty/stable-7/apidocs/ Jetty 7 Latest JavaDoc]  
+
[http://download.eclipse.org/jetty/stable-7/apidocs/ Jetty 7 Latest JavaDoc]<br/>
 +
[http://download.eclipse.org/jetty/stable-7/xref/ Jetty 7 Latest Source XRef]<br/>
  
[http://download.eclipse.org/jetty/stable-7/xref/ Jetty 7 Latest Source XRef]  
+
[http://download.eclipse.org/jetty/stable-8/apidocs/ Jetty 8 Latest JavaDoc]<br/>
 +
[http://download.eclipse.org/jetty/stable-8/xref/ Jetty 8 Latest Source XRef]<br/>
  
 
[http://wiki.eclipse.org/Jetty/Reference/Index_of_Generated_Release_Documents Index of Generated Release Documents]–API and XRef documentation for previous releases.
 
[http://wiki.eclipse.org/Jetty/Reference/Index_of_Generated_Release_Documents Index of Generated Release Documents]–API and XRef documentation for previous releases.
 +
 +
== Contributing to Jetty  ==
 +
 +
[[Jetty/Contributor|Contributing to Jetty]] – '''Master Doc'''<br/>
 +
[[Jetty/Contributor/Coding_Standards|Jetty Coding Standards]]<br/>
 +
[[Jetty/Contributor/Building|Building Jetty]]<br/>
 +
[[Jetty/Contributor_Release_Testing_Check_List|Release Testing Check List]]<br/>
 +
[[Jetty/Contributor/Releasing|Releasing Jetty]]<br/>
 +
[[Jetty/Contributor/Contributing_Patches|Contributing Patches]]
  
 
== Client  ==
 
== Client  ==
  
[[Jetty/Feature/HttpClient|Asynchronous HTTP Client Tutorial]]  
+
[[Jetty/Feature/HttpClient|Asynchronous HTTP Client]]  
  
 
== Logging/Monitoring  ==
 
== Logging/Monitoring  ==
 
+
[[Jetty/Feature/Jetty_Logging|Jetty Logging]]<br/>
[[Jetty/Howto/Configure Request Logs|How to Configure Request Logs]]
+
[[Jetty/Tutorial/RequestLog| Jetty Request Logs]]<br/>
 
+
[[Jetty/Feature/Java-monitor|Java-monitor]]<br/>
[[Jetty/Howto/Custom Error Pages|How to Configure Custom Error Pages]]
+
[[Jetty/Tutorial/Sifting_Logs_with_Logback|Sifting Logs with Logback and SLF4J]]<br/>
 
+
[[Jetty/Feature/Statistics|Configuring Jetty Statistics]]  
+
 
+
[[Jetty/Tutorial/Statistics|Configuring Jetty Statistics Tutorial]]
+
 
+
[[Jetty/Tutorial/RequestLog|Configuring Jetty Request Log Tutorial]]  
+
 
+
[[Jetty/Feature/Java-monitor|Java-monitor]]  
+
  
 
== Troubleshooting  ==
 
== Troubleshooting  ==
  
[[Jetty/Howto/Use the Dump Feature|How to Use the Jetty Dump Feature]]  
+
[[Jetty/Troubleshooting|Troubleshooting: Big Problems, Logs and Warnings]]<br/>
 
+
[[Jetty/Howto/Use the Dump Feature|Using the Jetty Dump Feature]]<br/>
[[Jetty/Howto/Deal with Locked Windows Files|Dealing with Locked Windows Files]]  
+
[[Jetty/Howto/Deal with Locked Windows Files|Dealing with Locked Windows Files]]<br/>
 
+
[[Jetty/Zip_Exceptions_Reading_Jar_or_War_Files|Zip Exceptions Reading Jar or WAR Files]]<br/>
[http://webtide.intalio.com/ Webtide Blog]–Jetty developers responding to user dilemmas and announcing new features  
+
[[Jetty/Howto/Prevent Memory Leaks| Memory Leaks]]<br/>
 +
[http://webtide.intalio.com/ Webtide Blog]–Jetty developers responding to user dilemmas and announcing new features
  
 
== Upgrading Jetty  ==
 
== Upgrading Jetty  ==
  
[http://docs.codehaus.org/display/JETTY/Porting+to+jetty6 Porting to Jetty 6 from earlier versions of Jetty]  
+
[http://docs.codehaus.org/display/JETTY/Porting+to+jetty6 Porting to Jetty 6 from earlier versions of Jetty]<br/>
 
+
[[Jetty/Starting/Porting to Jetty 7|Porting to Jetty 7]]<br/>
[[Jetty/Starting/Porting to Jetty 7|Porting to Jetty 7]]  
+
[[Jetty/Starting/Porting to Jetty 7/Packages and Classes|Porting to Jetty 7/Packages and Classes]]<br/>
 
+
Porting to Jetty 8 <br/>
[[Jetty/Starting/Porting to Jetty 7/Packages and Classes|Porting to Jetty 7/Packages and Classes]]  
+
Porting from Tomcat<br/>
 
+
Porting to Jetty 8  
+
 
+
Porting from Tomcat  
+
 
+
 
[[Jetty/Starting/Jetty Version Comparison Table|Jetty Version Comparison Table]]  
 
[[Jetty/Starting/Jetty Version Comparison Table|Jetty Version Comparison Table]]  
  
 
== Application Server Integrations  ==
 
== Application Server Integrations  ==
  
Apache Geronimo JEE  
+
Apache Geronimo JEE<br/>
 
+
[[Jetty/Tutorial/Apache|Using Jetty with Apache httpd]]<br/>
[[Jetty/Tutorial/Apache|Using Jetty with Apache httpd Tutorial]]  
+
[[Jetty/Tutorial/Apache|How to use Jetty with Apache, AJP, mod_jk, mod_proxy_balancer]]<br/>
 
+
[[Jetty/Howto/Configure mod proxy|Configuring Apache mod_proxy with Jetty]]<br/>
[[Jetty/Tutorial/Apache|How to use Jetty with Apache, AJP, mod_jk, mod_proxy_balancer]]  
+
[[Jetty/Howto/Configure AJP13|Using Jetty with AJP13]]<br/>
 
+
[[Jetty/Feature/JBoss|Configuring Jetty in JBoss]]<br/>
[[Jetty/Howto/Configure mod proxy|Configuring Apache mod_proxy with Jetty]]  
+
Remote Glassfish EJBs from Jetty<br/>
 
+
Jetty and Spring EJB3 (Pitchfork)<br/>
[[Jetty/Howto/Configure AJP13|Using Jetty with AJP13]]  
+
JBoss EJB3<br/>
 
+
[[Jetty/Feature/JBoss|Configuring Jetty in JBoss]]  
+
 
+
Remote Glassfish EJBs from Jetty  
+
 
+
Jetty and Spring EJB3 (Pitchfork)  
+
 
+
JBoss EJB3  
+
 
+
 
ObjectWeb EasyBeans (aka JOnAS EJB3Container)  
 
ObjectWeb EasyBeans (aka JOnAS EJB3Container)  
  
 
== Clustering Technologies  ==
 
== Clustering Technologies  ==
  
[https://code.google.com/p/infinispan-http-session-manager/wiki/Home JBoss Infinispan (from Redhat)]  
+
[https://code.google.com/p/infinispan-http-session-manager/wiki/Home JBoss Infinispan (from Redhat)<br/>]  
 
+
Gigaspaces<br/>
Gigaspaces  
+
Terracotta<br/>
 
+
WADI<br/>
Terracotta  
+
[[Jetty/Feature/Session Clustering Using a Database|Session Clustering Using a Database]]<br/>
 
+
[[Jetty/Tutorial/Terracota Session Clustering|Session Clustering with Terracota]]<br/>
WADI  
+
[[Jetty/Tutorial/MongoDB Session Clustering|Session Clustering with MongoDB]]
 
+
[[Jetty/Feature/Session Clustering Using a Database|Session Clustering Using a Database Tutorial]]  
+
 
+
[[Jetty/Tutorial/Terracota Session Clustering|Session Clustering with Terracota Tutorial]]  
+
  
 
== Features Reference  ==
 
== Features Reference  ==
  
[[Jetty/Reference/SSL Connectors|SSL Connectors Reference]]  
+
[[Jetty/Reference/SSL Connectors|SSL Connectors Reference]] <br/>
 
+
[[Jetty/Reference/QoSFilter|QoSFilter Reference]]<br/>
[[Jetty/Reference/QoSFilter|QoSFilter Reference]]  
+
 
+
 
[[Jetty/Reference/DoSFilter|DoSFilter Reference]]
 
[[Jetty/Reference/DoSFilter|DoSFilter Reference]]
  
 
== IoC and DI Frameworks  ==
 
== IoC and DI Frameworks  ==
  
[[Jetty/Reference/jetty.xml syntax|Jetty XML IOC]]  
+
[[Jetty/Reference/jetty.xml syntax|Jetty XML IOC]]<br/>
 
+
[[Jetty/Howto/Spring|How to Configure Jetty with Spring]]<br/>
[[Jetty/Howto/Spring|How to Configure Jetty with Spring]]  
+
 
+
 
[[Jetty/Howto/Configure Jetty with XBean|How to Configure Jetty with XBean]]
 
[[Jetty/Howto/Configure Jetty with XBean|How to Configure Jetty with XBean]]
  
 
== OSGi  ==
 
== OSGi  ==
  
[[Jetty/Feature/Jetty OSGi|Jetty on OSGi, RFC66]]  
+
[[Jetty/Feature/Jetty OSGi|Jetty on OSGi, RFC66]]<br/>
 
+
Jetty OSGi Powered Products<br/>
Jetty OSGi Powered Products  
+
OSGi Tips <br/>
 
+
Jetty as the HTTP Service in Equinox<br/>
OSGi Tips  
+
Jetty as the HTTP Service in Felix<br/>
 
+
Jetty as the HTTP Srevice in PAX<br/>
Jetty as the HTTP Service in Equinox  
+
ProSyst mBedded Server Equinox Edition<br/>
 
+
Jetty in Spring Dynamic Modules<br/>
Jetty as the HTTP Service in Felix  
+
 
+
Jetty as the HTTP Srevice in PAX  
+
 
+
ProSyst mBedded Server Equinox Edition  
+
 
+
Jetty in Spring Dynamic Modules  
+
 
+
 
Jetty in JOnAS5  
 
Jetty in JOnAS5  
  
 
== Web Frameworks  ==
 
== Web Frameworks  ==
  
DWR  
+
DWR <br/>
 
+
MyFaces <br/>
MyFaces  
+
JSF Reference Implementation<br/>
 
+
Jakarta Slide<br/>
JSF Reference Implementation  
+
GWT<br/>
 
+
Jetspeed2<br/>
Jakarta Slide  
+
 
+
GWT  
+
 
+
Jetspeed2  
+
 
+
 
ICEfaces  
 
ICEfaces  
 
 
 
  
 
== Other  ==
 
== Other  ==
  
[http://wiki.eclipse.org/Atomikos_Transaction_Manager Atomikos Transaction Manager]  
+
[http://wiki.eclipse.org/Atomikos_Transaction_Manager Atomikos Transaction Manager]<br/>
 
+
Java Open Transaction Manager (JOTM)<br/>
Java Open Transaction Manager (JOTM)  
+
Bitronix Transaction Manager<br/>
 
+
ActiveMQ<br/>
Bitronix Transaction Manager  
+
Binding JAX-WS 2.x Endpoints to Jetty Contexts<br/
 
+
[[Jetty/Feature/JVM NIO Bug|JVM NIO Bug Handling]] <br/>
ActiveMQ  
+
 
+
Binding JAX-WS 2.x Endpoints to Jetty Contexts  
+
 
+
[[Jetty/Feature/JMX|Java Management Extensions (JMX)]]
+
 
+
[[Jetty/Tutorial/JMX|Configuring JMX integration Tutorial]]
+
 
+
[[Jetty/Feature/JVM NIO Bug|JVM NIO Bug handling]]  
+
 
+
 
[[Jetty/Feature/Rewrite Handler|Rewrite Module]]  
 
[[Jetty/Feature/Rewrite Handler|Rewrite Module]]  
  
Line 382: Line 289:
 
== [[Jetty/FAQ|FAQ]]  ==
 
== [[Jetty/FAQ|FAQ]]  ==
  
== Contributing to Jetty  ==
 
  
[[Jetty/Contributor|Contributing to Jetty]]
 
  
[[Jetty/Contributor/Coding_Standards|Jetty Coding Standards]]
 
 
[[Jetty/Contributor/DevelopingWithGit|Developing with Git]]
 
 
[[Jetty/Contributor/Building|Building Jetty]]
 
 
[[Jetty/Contributor/Releasing|Releasing Jetty]]
 
 
[[Jetty/Contributor/Contributing_Patches|Contributing Patches]]
 
 
 
</div>
 
</div>
  
 
<div style="clear:both;"></div>
 
<div style="clear:both;"></div>

Latest revision as of 03:34, 2 July 2013



Welcome to the Jetty Documentation Wiki. Jetty is an open-source project providing an HTTP server, HTTP client, and javax.servlet container. This Jetty Wiki provides information about getting started with Jetty, basic configuration, specific features, optimization, security, JavaEE, monitoring, FAQs, help with troubleshooting, and more. It includes tutorials, howtos, videos, feature descriptions, and reference materials.

The documentation on this wiki applied to the older Jetty 7 and Jetty 8 releases. For Jetty 9 we have migrated and updated the content into a format easier to present. For Jetty 9 documentation please check out the Jetty 9 Documentation.

Jetty Documentation

Look for this box on documentation pages for links to up to date information!

Warning2.png
Jetty 7 and Jetty 8 are now EOL (End of Life)




THIS IS NOT THE DOCUMENTATION YOU ARE LOOKING FOR!!!!!






All development and stable releases are being performed with Jetty 9 and Jetty 10.






This wiki is now officially out of date and all content has been moved to the Jetty Documentation Hub






Direct Link to updated documentation: http://www.eclipse.org/jetty/documentation


Also see the Jetty homepage!


Getting Started: Download, Install, Run

Getting Started with Jetty (video)
Download and Install Jetty
How to Run Jetty

Jetty HelloWorld Tutorial
Jetty and Maven HelloWorld Tutorial
Getting Starting with Jetty (6) (on www.itjungle.com)
Jetty Start.jar

Configuring Jetty

Configuring JettyMaster Doc
Configuring...

Embedding Jetty

Embedding Jetty
Jetty Embedded HelloWorld
Embedding Jetty (video)
Understanding Which JARS to Use

Optimizing Jetty

Configuring Garbage Collection
Configuring for High Load

Deploying Applications within Jetty

Using the Deployment Manager
Setting Deployment Bindings
Using Hot Deployment
Using the Context Provider
Deploying Web Applications
Using the WebApp Provider
Using the Overlay Deployer
Deploying Third Party Products
Expanded Webapp Deploy

Developing with Jetty

How to Develop with Jetty
Writing Jetty Handlers

Build/IDE Integration

Using Jetty with Maven

Using Jetty with Ant

Using IDEs

Using Jetty with Eclipse
Using Jetty with IntelliJ

Working with Eclipse

Developing Jetty in Eclipse
Using the Jetty WTP Plugin
Installing the Jetty WTP Plugin
Using the WTP Plugin with an External WebApp
Modifying the Context Path with the WTP Plugin
JettyOSGi SDK for Eclipse-PDE
EclipseRT Jetty StarterKit SDK

Configuring Ajax, Comet and Asynchronous Servlets

Continuations and Asynchronous Servlets
100 Continue and 102 Processing
WebSocket Servlet
Using WebSockets
Using the WebSocket Wizard
Asynchronous REST
Stress Testing CometD
Using SPDY
Configuring NPN
How to Use SPDY with Jetty (by Jos Dirksen at Smartjava.org)

Using Servlets and Filters

Servlets Bundled with Jetty
Quality of Service Filter
Cross Origin Filter

Security Topics

Jetty Security Reports
Security Realms
Configuring Security Realms
Java Authentication and Authorization Service (JAAS)
Configuring JAAS
JASPI
Secure Mode
Securing Passwords in Files or Code
How to enable and Disable SSL Cipher Suites in Jetty
How to Secure Stored Passwords in Jetty
How to Secure Termination of Jetty
How to Configure Spnego

General Reference

Jetty Architecture
Jetty Classloading
Jetty JARS and Dependencies
Start Options
Temporary Directories
Jetty and JEE6 Web Profile

Configuration Reference

jetty.xml Syntax–Jetty IOC Configuration
jetty.xml Usage–Using and Combining Jetty Configurations

Configuration Files

jetty.xml–Server configuration
jetty-web.xml–Web App configuration
jetty-env.xml–JNDI configuration
webdefault.xml–Pre-web.xml configuration
override-web.xml–Post-web.xml configuration

Javadoc and Source

Jetty 7 Latest JavaDoc
Jetty 7 Latest Source XRef

Jetty 8 Latest JavaDoc
Jetty 8 Latest Source XRef

Index of Generated Release Documents–API and XRef documentation for previous releases.

Contributing to Jetty

Contributing to JettyMaster Doc
Jetty Coding Standards
Building Jetty
Release Testing Check List
Releasing Jetty
Contributing Patches

Client

Asynchronous HTTP Client

Logging/Monitoring

Jetty Logging
Jetty Request Logs
Java-monitor
Sifting Logs with Logback and SLF4J

Troubleshooting

Troubleshooting: Big Problems, Logs and Warnings
Using the Jetty Dump Feature
Dealing with Locked Windows Files
Zip Exceptions Reading Jar or WAR Files
Memory Leaks
Webtide Blog–Jetty developers responding to user dilemmas and announcing new features

Upgrading Jetty

Porting to Jetty 6 from earlier versions of Jetty
Porting to Jetty 7
Porting to Jetty 7/Packages and Classes
Porting to Jetty 8
Porting from Tomcat
Jetty Version Comparison Table

Application Server Integrations

Apache Geronimo JEE
Using Jetty with Apache httpd
How to use Jetty with Apache, AJP, mod_jk, mod_proxy_balancer
Configuring Apache mod_proxy with Jetty
Using Jetty with AJP13
Configuring Jetty in JBoss
Remote Glassfish EJBs from Jetty
Jetty and Spring EJB3 (Pitchfork)
JBoss EJB3
ObjectWeb EasyBeans (aka JOnAS EJB3Container)

Clustering Technologies

JBoss Infinispan (from Redhat)
Gigaspaces
Terracotta
WADI
Session Clustering Using a Database
Session Clustering with Terracota
Session Clustering with MongoDB

Features Reference

SSL Connectors Reference
QoSFilter Reference
DoSFilter Reference

IoC and DI Frameworks

Jetty XML IOC
How to Configure Jetty with Spring
How to Configure Jetty with XBean

OSGi

Jetty on OSGi, RFC66
Jetty OSGi Powered Products
OSGi Tips
Jetty as the HTTP Service in Equinox
Jetty as the HTTP Service in Felix
Jetty as the HTTP Srevice in PAX
ProSyst mBedded Server Equinox Edition
Jetty in Spring Dynamic Modules
Jetty in JOnAS5

Web Frameworks

DWR
MyFaces
JSF Reference Implementation
Jakarta Slide
GWT
Jetspeed2
ICEfaces

Other

Atomikos Transaction Manager
Java Open Transaction Manager (JOTM)
Bitronix Transaction Manager
ActiveMQ
Binding JAX-WS 2.x Endpoints to Jetty Contexts
JVM NIO Bug Handling
Rewrite Module


FAQ

Back to the top