Jump to: navigation, search

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

(Added websocket to the jar list)
(6 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
.sortable .sortheader { display: block; }
 
.sortable .sortheader { display: block; }
 
.jetty-table td {text-align: center;  line-height: 1em; }
 
.jetty-table td {text-align: center;  line-height: 1em; }
</css>
+
</css> {{Jetty Reference
{{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.
|introduction = When [[Jetty/Howto/Run Jetty|running Jetty from the commandline]], you can use the OPTIONS argument to trigger a specific mode for Jetty. Here is a detailed breakdown of the various classpath entries pulled in for each mode 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.
  
Click (twice) on the arrow in the table header to easily pull up the list of which classpath entries will be pulled in when specifying a mode.
 
 
<!-- begin table -->
 
<!-- 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 45: Line 46:
 
<!-- end table -->
 
<!-- 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