You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by Apache Wiki <wi...@apache.org> on 2005/12/09 19:54:32 UTC

[Geronimo Wiki] Update of "Jetty" by GregWilkins

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

The comment on the change is:
Created Jetty page

New page:
'''Contents'''
[[TableOfContents]]

= About =

about jetty in geronimo - work in progress....

= Jetty plan.xml =

{{{
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright 2004-2005 The Apache Software Foundation

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.-->
<!--$Rev: 263024 $ $Date: 2005-08-27 19:24:05 -0700 (Sat, 27 Aug 2005) $-->
<!--Configuration for Jetty server.
               parentId="geronimo/rmi-naming/1.0/car"-->
<configuration configId="geronimo/jetty/1.0/car" xmlns="http://geronimo.apache.org/xml/ns/deployment-1.0">
  <!--david jencks is not convinced that these 2 gbeans should be in this
         plan and thinks they might belong in the console plan.  Aaron thinks
         they definitely don't belong in the console plan, but could go into
         a management layer plan.-->
  <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>
        <!--This is lame and should be replaced by an interface reference-->
        <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>
    <attribute name="port">8080</attribute>
    <reference name="JettyContainer">
      <name>JettyWebContainer</name>
    </reference>
    <attribute name="maxThreads">50</attribute>
    <attribute name="minThreads">10</attribute>
  </gbean>
  <gbean name="JettyAJP13Connector" class="org.apache.geronimo.jetty.connector.AJP13Connector">
    <attribute name="host">localhost</attribute>
    <attribute name="port">8019</attribute>
    <reference name="JettyContainer">
      <name>JettyWebContainer</name>
    </reference>
    <attribute name="maxThreads">50</attribute>
    <attribute name="minThreads">10</attribute>
  </gbean>
  <gbean name="JettySSLConnector" class="org.apache.geronimo.jetty.connector.HTTPSConnector">
    <attribute name="host">localhost</attribute>
    <attribute name="port">8443</attribute>
    <attribute name="keystoreFileName">var/security/keystore</attribute>
    <attribute name="keystoreType">JKS</attribute>
    <attribute name="keystorePassword">secret</attribute>
    <attribute name="keyPassword">secret</attribute>
    <attribute name="clientAuthRequired">false</attribute>
    <attribute name="algorithm">Default</attribute>
    <attribute name="secureProtocol">TLS</attribute>
    <attribute name="maxThreads">50</attribute>
    <attribute name="minThreads">10</attribute>
    <reference name="JettyContainer">
      <name>JettyWebContainer</name>
    </reference>
    <reference name="ServerInfo">
      <module>geronimo/j2ee-system/1.0/car</module>
      <name>ServerInfo</name>
    </reference>
  </gbean>
</configuration>

}}}


== Jetty GBean ==

=== Attributes ===
|| '''Attribute''' || '''Required''' || '''Description''' ||
|| {{{something}}} || No || blah blah blah ||

=== References ===
|| '''Attribute''' || '''Required''' || '''Description''' ||
|| {{{something}}} || No || blah blah blah ||



== Question ==

=== Which Jetty ? ===
5.1.x


== References ==

http://jetty.mortbay.org - Jetty home page