Jump to: navigation, search

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

(New page: {{Jetty Reference |introduction = When running Jetty from the commandline, you can use the OPTIONS argument to specify which mode to run Jetty as. Here is a detai...)
 
Line 1: Line 1:
 +
<css>
 +
.jetty-table th { font-size: 0.7em; }
 +
.jetty-table .header { font-size: 1.2em; }
 +
</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 specify which mode to run Jetty as. Here is a detailed breakdown of the various classpath entries pulled in for each mode you specify
Line 8: Line 12:
 
{|class="jetty-table sortable"
 
{|class="jetty-table sortable"
 
|+ Jetty Modes
 
|+ 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
+
|- 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
 
|-
 
|-
! /lib/ext/**
+
{{Jetty Modes Row | /lib/ext/** | default=1 | ext=1 }}
|   <!-- * -->
+
{{Jetty Modes Row | /lib/jetty-ajp-*.jar | ajp=1 }}
| X <!-- All -->
+
{{Jetty Modes Row | /lib/jetty-annotations-*.jar | annotations=1 }}
| X <!-- default -->
+
{{Jetty Modes Row | /lib/jetty-annotations/** | annotations=1}}
|   <!-- Server -->
+
{{Jetty Modes Row | /lib/jetty-client-*.jar | client=1 }}
| X <!-- ext -->      ||  <!-- resources --> ||  <!-- server -->  ||  <!-- xml -->
+
{{Jetty Modes Row | /lib/jetty-continuation-*.jar | default=1 | Server=1 | server=1 }}
|   <!-- security -->  ||  <!-- servlet -->  ||  <!-- webapp -->  ||  <!-- deploy -->
+
{{Jetty Modes Row | /lib/jetty-deploy-*.jar | default=1 | Server=1 | deploy=1 }}
|  <!-- servlets -->  ||  <!-- rewrite -->  ||  <!-- jmx -->    ||  <!-- ajp -->
+
{{Jetty Modes Row | /lib/jetty-http-*.jar | default=1 | Server=1 | server=1 | client=1 }}
|   <!-- slf4j -->    ||  <!-- jsp -->      ||  <!-- jsp-2.1 --> ||  <!-- plus -->
+
{{Jetty Modes Row | /lib/jetty-io-*.jar | *=1 }}
|   <!-- annotations -->                      ||   <!-- client -->  ||  <!-- policy -->
+
{{Jetty Modes Row | /lib/jetty-jmx-*.jar | jmx=1 }}
|-
+
{{Jetty Modes Row | /lib/jetty-jndi-*.jar | plus=1 }}
! /lib/jetty-ajp-*.jar
+
{{Jetty Modes Row | /lib/jetty-jndi/** | plus=1 }}
|   <!-- * -->
+
{{Jetty Modes Row | /lib/jetty-plus-*.jar | plus=1 }}
| X <!-- All -->
+
{{Jetty Modes Row | /lib/jetty-rewrite-*.jar | rewrite=1 }}
|  <!-- default -->
+
{{Jetty Modes Row | /lib/jetty-security-*.jar | default=1 | Server=1| security=1 }}
|   <!-- Server -->
+
{{Jetty Modes Row | /lib/jetty-server-*.jar | default=1 | Server=1 | server=1 }}
|   <!-- ext -->      ||  <!-- resources --> ||  <!-- server -->  ||  <!-- xml -->
+
{{Jetty Modes Row | /lib/jetty-servlet-*.jar | default=1 | Server=1 | servlet=1 }}
|   <!-- security -->  ||   <!-- servlet -->  ||  <!-- webapp -->  ||  <!-- deploy -->
+
{{Jetty Modes Row | /lib/jetty-servlets-*.jar | default=1 | Server=1 | servlets=1 }}
|  <!-- servlets -->  ||  <!-- rewrite -->  ||  <!-- jmx -->    || X <!-- ajp -->
+
{{Jetty Modes Row | /lib/jetty-util-*.jar | *=1 }}
|  <!-- slf4j -->    ||  <!-- jsp -->      ||  <!-- jsp-2.1 --> ||  <!-- plus -->
+
{{Jetty Modes Row | /lib/jetty-webapp-*.jar | default=1 | Server=1 | webapp=1 }}
|   <!-- annotations -->                      ||  <!-- client -->  ||  <!-- policy -->
+
{{Jetty Modes Row | /lib/jetty-xml-*.jar | Server=1 | xml=1 }}
|-
+
{{Jetty Modes Row | /lib/jsp-2.1/** | jsp=1 | jsp-2.1=1 }}
! /lib/jetty-annotations-*.jar
+
{{Jetty Modes Row | /lib/security/jetty-policy-*.jar | policy=1 }}
|   <!-- * -->
+
{{Jetty Modes Row | /lib/security/jetty.policy | policy=1 }}
| X <!-- All -->
+
{{Jetty Modes Row | /lib/servlet-api-2.5.jar | default=1 | Server=1 | server=1 | servlet=1 }}
|  <!-- default -->
+
{{Jetty Modes Row | /lib/slf4j/** | slf4j=1 }}
|   <!-- Server -->
+
{{Jetty Modes Row | /resources | default=1 | resources=1 }}
|   <!-- ext -->      ||  <!-- resources --> ||  <!-- server -->  ||  <!-- xml -->
+
|   <!-- security -->  ||  <!-- servlet -->  ||  <!-- webapp -->  ||  <!-- deploy -->
+
|   <!-- servlets -->  ||  <!-- rewrite -->  ||  <!-- jmx -->    ||  <!-- ajp -->
+
|   <!-- slf4j -->    ||  <!-- jsp -->      ||  <!-- jsp-2.1 --> ||  <!-- plus -->
+
| X <!-- annotations -->                      ||  <!-- client -->  ||  <!-- policy -->
+
|-
+
! /lib/jetty-annotations/**
+
|   <!-- * -->
+
| X <!-- All -->
+
|   <!-- default -->
+
|   <!-- Server -->
+
|  <!-- ext -->      ||  <!-- resources --> ||  <!-- server -->  ||  <!-- xml -->
+
|  <!-- security -->  ||  <!-- servlet -->  ||  <!-- webapp -->  ||  <!-- deploy -->
+
|  <!-- servlets -->  ||  <!-- rewrite -->  ||  <!-- jmx -->    ||  <!-- ajp -->
+
|  <!-- slf4j -->    ||  <!-- jsp -->      ||  <!-- jsp-2.1 --> ||  <!-- plus -->
+
| X <!-- annotations -->                      ||  <!-- client -->  ||  <!-- policy -->
+
|-
+
! /lib/jetty-client-*.jar
+
|   <!-- * -->
+
| X <!-- All -->
+
|  <!-- default -->
+
|   <!-- Server -->
+
|   <!-- ext -->      ||  <!-- resources --> ||  <!-- server -->  ||  <!-- xml -->
+
|  <!-- security -->  ||  <!-- servlet -->  ||  <!-- webapp -->  ||  <!-- deploy -->
+
|  <!-- servlets -->  ||  <!-- rewrite -->  ||  <!-- jmx -->    ||  <!-- ajp -->
+
|  <!-- slf4j -->    ||  <!-- jsp -->      ||  <!-- jsp-2.1 --> ||  <!-- plus -->
+
|   <!-- annotations -->                      || X <!-- client -->  ||  <!-- policy -->
+
|-
+
! /lib/jetty-continuation-*.jar
+
|   <!-- * -->
+
| X <!-- All -->
+
| X <!-- default -->
+
| X <!-- Server -->
+
|   <!-- ext -->      ||  <!-- resources --> || X <!-- server -->  ||  <!-- xml -->
+
|   <!-- security -->  ||  <!-- servlet -->  ||   <!-- webapp -->  ||  <!-- deploy -->
+
|   <!-- servlets -->  ||   <!-- rewrite -->  ||  <!-- jmx -->    ||  <!-- ajp -->
+
|  <!-- slf4j -->    ||  <!-- jsp -->      ||  <!-- jsp-2.1 --> ||  <!-- plus -->
+
|   <!-- annotations -->                      ||  <!-- client -->  ||  <!-- policy -->
+
|-
+
! /lib/jetty-deploy-*.jar
+
|   <!-- * -->
+
| X <!-- All -->
+
| X <!-- default -->
+
| X <!-- Server -->
+
|   <!-- ext -->      ||  <!-- resources --> ||  <!-- server -->  ||  <!-- xml -->
+
|  <!-- security -->  ||  <!-- servlet -->  ||  <!-- webapp -->  || X <!-- deploy -->
+
|   <!-- servlets -->  ||   <!-- rewrite -->  ||  <!-- jmx -->    ||  <!-- ajp -->
+
|   <!-- slf4j -->    ||  <!-- jsp -->      ||  <!-- jsp-2.1 --> ||  <!-- plus -->
+
|   <!-- annotations -->                      ||  <!-- client -->  ||  <!-- policy -->
+
|-
+
! /lib-jetty-http-*.jar
+
|   <!-- * -->
+
| X <!-- All -->
+
| X <!-- default -->
+
| X <!-- Server -->
+
|   <!-- ext -->      ||  <!-- resources --> || X <!-- server -->  ||  <!-- xml -->
+
|  <!-- security -->  ||  <!-- servlet -->  ||  <!-- webapp -->  ||  <!-- deploy -->
+
|   <!-- servlets -->  ||  <!-- rewrite -->  ||  <!-- jmx -->    ||  <!-- ajp -->
+
|  <!-- slf4j -->    ||  <!-- jsp -->      ||  <!-- jsp-2.1 --> ||  <!-- plus -->
+
|   <!-- annotations -->                      || X <!-- client -->  ||  <!-- policy -->
+
|-
+
 
+
|}
+

Revision as of 04:00, 3 July 2009



Introduction

When 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


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