Jump to: navigation, search

Difference between revisions of "Jetty/Reference/Start Options"

(Added websocket to the jar list)
(9 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
.jetty-table th { font-size: 0.7em; }
 
.jetty-table th { font-size: 0.7em; }
 
.jetty-table .header { font-size: 1.2em; }
 
.jetty-table .header { font-size: 1.2em; }
</css>
+
.sortable .sortheader { display: block; }
{{Jetty Reference
+
.jetty-table td {text-align: center;  line-height: 1em; }
|introduction = When [[Jetty/Howto/Run Jetty|running Jetty from the commandline]], you can use the OPTIONS argument to specify which mode to run Jetty as. Here is a detailed breakdown of the various classpath entries pulled in for each mode you specify
+
</css> {{Jetty Reference
 +
|introduction = When [[Jetty/Howto/Run Jetty|running Jetty from the command line]], you can use the OPTIONS argument to enable specific options for Jetty. Here is a detailed breakdown of the various classpath entries pulled in for each option you specify.
 
| body =
 
| body =
}}
+
Click the arrow in the table header to open the list of which classpath entries Jetty pulls in when you specify an option.
  
<!-- putting it outside the template because it's easier to create a table this way -->
+
<!-- begin table -->
  
{|class="jetty-table sortable"
+
{{{!}}class="jetty-table sortable"
|+ Jetty Modes
+
{{!}}+ Jetty Start Options
|- class="header"
+
{{!}}- class="header"
!Classpath Entries!!*!!All!!default!!Server!!ext!!resources!!server!!xml!!security!!servlet!!webapp!!deploy!!servlets!!rewrite!!jmx!!ajp!!slf4j!!jsp!!jsp-2.1!!plus!!annotations!!client!!policy
+
!Classpath Entries!!*!!All!!default!!Server!!ext!!resources!!server!!xml!!security!!servlet!!webapp!!deploy!!servlets!!rewrite!!jmx!!ajp!!slf4j!!jsp!!jsp-2.1!!plus!!annotations!!client!!secure!!websocket
|-
+
 
{{Jetty Modes Row | /lib/ext/** | default=1 | ext=1 }}
 
{{Jetty Modes Row | /lib/ext/** | default=1 | ext=1 }}
 
{{Jetty Modes Row | /lib/jetty-ajp-*.jar | ajp=1 }}
 
{{Jetty Modes Row | /lib/jetty-ajp-*.jar | ajp=1 }}
Line 36: Line 36:
 
{{Jetty Modes Row | /lib/jetty-webapp-*.jar | default=1 | Server=1 | webapp=1 }}
 
{{Jetty Modes Row | /lib/jetty-webapp-*.jar | default=1 | Server=1 | webapp=1 }}
 
{{Jetty Modes Row | /lib/jetty-xml-*.jar | Server=1 | xml=1 }}
 
{{Jetty Modes Row | /lib/jetty-xml-*.jar | Server=1 | xml=1 }}
 +
{{Jetty Modes Row | /lib/jetty-websocket-*.jar | All=1 | websocket=1 }}
 
{{Jetty Modes Row | /lib/jsp-2.1/** | jsp=1 | jsp-2.1=1 }}
 
{{Jetty Modes Row | /lib/jsp-2.1/** | jsp=1 | jsp-2.1=1 }}
 
{{Jetty Modes Row | /lib/security/jetty-policy-*.jar | policy=1 }}
 
{{Jetty Modes Row | /lib/security/jetty-policy-*.jar | policy=1 }}
Line 42: Line 43:
 
{{Jetty Modes Row | /lib/slf4j/** | slf4j=1 }}
 
{{Jetty Modes Row | /lib/slf4j/** | slf4j=1 }}
 
{{Jetty Modes Row | /resources | default=1 | resources=1 }}
 
{{Jetty Modes Row | /resources | default=1 | resources=1 }}
 +
{{!}}}
 +
<!-- end table -->
 +
 +
 +
| more =
 +
* [[Jetty/Howto/Run Jetty|How to Run Jetty]]
 +
}}

Revision as of 17:35, 30 April 2012



Introduction

When running Jetty from the command line, you can use the OPTIONS argument to enable specific options for Jetty. Here is a detailed breakdown of the various classpath entries pulled in for each option you specify.

Click the arrow in the table header to open the list of which classpath entries Jetty pulls in when you specify an option.


Jetty Start Options
Classpath Entries * All default Server ext resources server xml security servlet webapp deploy servlets rewrite jmx ajp slf4j jsp jsp-2.1 plus annotations client secure websocket
/lib/ext/**   X X   X                                      
/lib/jetty-ajp-*.jar   X                           X                
/lib/jetty-annotations-*.jar   X                                     X      
/lib/jetty-annotations/**   X                                     X      
/lib/jetty-client-*.jar   X                                       X    
/lib/jetty-continuation-*.jar   X X X     X                                  
/lib/jetty-deploy-*.jar   X X X               X                        
/lib/jetty-http-*.jar   X X X     X                             X    
/lib/jetty-io-*.jar X X X X X X X X X X X X X X X X X X X X X X X X
/lib/jetty-jmx-*.jar   X                         X                  
/lib/jetty-jndi-*.jar   X                                   X        
/lib/jetty-jndi/**   X                                   X        
/lib/jetty-plus-*.jar   X                                   X        
/lib/jetty-rewrite-*.jar   X                       X                    
/lib/jetty-security-*.jar   X X X         X                              
/lib/jetty-server-*.jar   X X X     X                                  
/lib/jetty-servlet-*.jar   X X X           X                            
/lib/jetty-servlets-*.jar   X X X                 X                      
/lib/jetty-util-*.jar X X X X X X X X X X X X X X X X X X X X X X X X
/lib/jetty-webapp-*.jar   X X X             X                          
/lib/jetty-xml-*.jar   X   X       X                                
/lib/jetty-websocket-*.jar   X                                           X
/lib/jsp-2.1/**   X                               X X          
/lib/security/jetty-policy-*.jar   X                                         X  
/lib/security/jetty.policy   X                                         X  
/lib/servlet-api-2.5.jar   X X X     X     X                            
/lib/slf4j/**   X                             X              
/resources   X X     X                                    

Additional Resources