geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Geronimo Wiki] Update of "Jetty" by GregWilkins
Date Sun, 11 Dec 2005 21:13:01 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Geronimo Wiki" for change notification.

The following page has been changed by GregWilkins:
http://wiki.apache.org/geronimo/Jetty

------------------------------------------------------------------------------
  
  = About =
  
- Jetty is a HTTP server and servlet container. It is used by geronimo to provide the J2EE
web tier (with Jakarta Jasper to provide JSPs).
+ Jetty is a HTTP server and servlet container that is used by geronimo to provide the J2EE
web tier (with Jakarta Jasper to provide JSPs).
- Jetty has been integrated into Geronimo by wrapping the key Jetty components in GBeans.
+ Jetty has been integrated into Geronimo by wrapping the key Jetty components (eg server,listener,context,servlet
leg) in GBeans.
   
+ = Jetty GBeans =
  
- = Jetty plan.xml =
+ == Jetty Web Container GBean ==
+ {{{
+   <gbean name="JettyWebContainer" class="org.apache.geronimo.jetty.JettyContainerImpl"></gbean>
+ }}}
  
+ This GBean wraps a Jetty Server and represents the connection between web connectors and
the web contexts that
+ service requests from the connectors.  This bean is mostly read only and provides statistics
for the server.
+ 
+ 
+ === Attributes ===
+ || '''Attribute''' || '''Required''' || '''Description''' ||
+ || {{{connections}}} || RO || Number of connections accepted by the server since statsReset()
called. Undefined if statsOn == false. ||
+ || {{{connectionsOpen}}} || RO || Number of connections currently open that were opened
since statsReset() called. Undefined if statsOn == false. ||
+ || {{{connectionsOpenMax}}} || RO || Maximum number of connections opened simultaneously
since statsReset() called. Undefined if statsOn == false. ||
+ || {{{connectionsDurationAve}}} || RO || Sliding average duration in milliseconds of open
connections since statsReset() called. Undefined if statsOn == false. ||
+ || {{{connectionsDurationMax}}} || RO || Maximum duration in milliseconds of an open connection
since statsReset() called. Undefined if statsOn == false. ||
+ || {{{connectionsRequestsAve}}} || RO || Sliding average number of requests per connection
since statsReset() called. Undefined if statsOn == false. ||
+ || {{{connectionsRequestsMax}}} || RO || Maximum number of requests per connection since
statsReset() called. Undefined if statsOn == false. ||
+ || {{{errors}}} || RO || Number of errors since statsReset() called. Undefined if statsOn
== false. An error is a request that resulted in an exception being thrown by the handler.
||
+ || {{{requests}}} || RO || Number of requests since statsReset() called. Undefined if statsOn
== false. ||
+ || {{{requestsActive}}} || RO || Number of requests currently active. Undefined if statsOn
== false. ||
+ || {{{requestsActiveMax}}} || RO || Maximum number of active requests since statsReset()
called. Undefined if statsOn == false. ||
+ || {{{requestsDurationAve}}} || RO || Average duration of request handling in milliseconds
 since statsReset() called. Undefined if statsOn == false. ||
+ || {{{requestsDurationMax}}} || RO || Get maximum duration in milliseconds of request handling
since statsReset() called. Undefined if statsOn == false. ||
+ || {{{version}}} || RO || The version of the HTTP server and environment. ||
+ 
+ 
+ === Operations ===
+ 
+ === References ===
+ || '''Attribute''' || '''Required''' || '''Description''' ||
+ || {{{something}}} || No || blah blah blah ||
+ 
+ 
+ == Jetty Web Connector GBeans ==
  {{{
- <?xml version="1.0" encoding="UTF-8"?>
- 
- <configuration configId="geronimo/jetty/1.0/car" xmlns="http://geronimo.apache.org/xml/ns/deployment-1.0">
-   <import>
-     <groupId>geronimo</groupId>
-     <type>car</type>
-     <artifactId>rmi-naming</artifactId>
-     <version>1.0</version>
-   </import>
- 
-   <dependency>
-     <groupId>geronimo</groupId>
-     <artifactId>geronimo-jetty</artifactId>
-     <version>1.0</version>
-   </dependency>
- 
-   <gbean name="JettyWebManager" class="org.apache.geronimo.jetty.JettyManagerImpl"/>
- 
-   <gbean name="JettyAccessLogManager" class="org.apache.geronimo.jetty.requestlog.JettyLogManagerImpl">
-     <references name="LogGBeans">
-       <pattern>
-         <gbean-name>geronimo.server:name=JettyRequestLog,*</gbean-name>
-       </pattern>
-     </references>
-   </gbean>
- 
-   <!--default WAR container using Jetty-->
-   <gbean name="JettyWebContainer" class="org.apache.geronimo.jetty.JettyContainerImpl"></gbean>
-   <gbean name="JettyRequestLog" class="org.apache.geronimo.jetty.requestlog.NCSARequestLog">
-     <reference name="JettyContainer">
-       <name>JettyWebContainer</name>
-     </reference>
-     <reference name="ServerInfo">
-       <module>geronimo/j2ee-system/1.0/car</module>
-       <name>ServerInfo</name>
-     </reference>
-     <attribute name="filename">var/log/jetty_yyyy_mm_dd.log</attribute>
-     <attribute name="logDateFormat">dd/MMM/yyyy:HH:mm:ss ZZZ</attribute>
-     <attribute name="logTimeZone">GMT</attribute>
-   </gbean>
  
    <gbean name="JettyWebConnector" class="org.apache.geronimo.jetty.connector.HTTPConnector">
      <attribute name="host">localhost</attribute>
@@ -97, +91 @@

  
  }}}
  
- 
- == Jetty GBean ==
- 
  === Attributes ===
  || '''Attribute''' || '''Required''' || '''Description''' ||
  || {{{something}}} || No || blah blah blah ||
@@ -109, +100 @@

  || {{{something}}} || No || blah blah blah ||
  
  
+ == Jetty Log Access Manager & Request Log GBeans ==
+ {{{
+   <gbean name="JettyAccessLogManager" class="org.apache.geronimo.jetty.requestlog.JettyLogManagerImpl">
+     <references name="LogGBeans">
+       <pattern>
+         <gbean-name>geronimo.server:name=JettyRequestLog,*</gbean-name>
+       </pattern>
+     </references>
+   </gbean>
  
+   <gbean name="JettyRequestLog" class="org.apache.geronimo.jetty.requestlog.NCSARequestLog">
+     <reference name="JettyContainer">
+       <name>JettyWebContainer</name>
+     </reference>
+     <reference name="ServerInfo">
+       <module>geronimo/j2ee-system/1.0/car</module>
+       <name>ServerInfo</name>
+     </reference>
+     <attribute name="filename">var/log/jetty_yyyy_mm_dd.log</attribute>
+     <attribute name="logDateFormat">dd/MMM/yyyy:HH:mm:ss ZZZ</attribute>
+     <attribute name="logTimeZone">GMT</attribute>
+   </gbean>
+ 
+ }}}
+ 
+ === Attributes ===
+ || '''Attribute''' || '''Required''' || '''Description''' ||
+ || {{{something}}} || No || blah blah blah ||
+ 
+ === References ===
+ || '''Attribute''' || '''Required''' || '''Description''' ||
+ || {{{something}}} || No || blah blah blah ||
+ .
+ 
- == Question ==
+ == Questions ==
  
  === Which Jetty ? ===
  5.1.x
- 
  
  == References ==
  
  http://jetty.mortbay.org - Jetty home page
  
+ FrequentlyAskedQuestions - Jettry vs Tomcat
+ 

Mime
View raw message