Jump to: navigation, search

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

Line 4: Line 4:
 
</css>
 
</css>
 
{{Jetty Reference
 
{{Jetty Reference
|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
+
|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 =
}}
 
 
<!-- putting it outside the template because it's easier to create a table this way -->
 
  
{|class="jetty-table sortable"
+
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.
|+ Jetty Modes
+
<!-- begin table -->
|- class="header"
+
{{{!}}class="jetty-table sortable"
 +
{{!}}+ Jetty Modes
 +
{{!}}- 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!!policy
|-
 
 
{{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 42: Line 40:
 
{{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 -->
 +
 +
}}

Revision as of 04:10, 3 July 2009



Introduction

When 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.

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.

Jetty Modes
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
/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/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