<?xml version="1.0" encoding="UTF-8"?>
<!--Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You 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: 789622 $ $Date: 2009-06-30 01:51:31 -0700 (Tue, 30 Jun 2009) $-->
<module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">
  <environment>
    <moduleId>
      <groupId>org.apache.geronimo.configs</groupId>
      <artifactId>jetty7-deployer</artifactId>
      <version>2.2</version>
      <type>car</type>
    </moduleId>
    <dependencies>
      <dependency>
        <groupId>org.apache.geronimo.configs</groupId>
        <artifactId>connector-deployer</artifactId>
        <type>car</type>
      </dependency>
      <dependency>
        <groupId>org.apache.geronimo.configs</groupId>
        <artifactId>jetty7</artifactId>
        <type>car</type>
        <import>classes</import>
      </dependency>
      <dependency>
        <groupId>org.apache.geronimo.configs</groupId>
        <artifactId>j2ee-deployer</artifactId>
        <type>car</type>
      </dependency>
      <dependency>
        <groupId>org.apache.geronimo.modules</groupId>
        <artifactId>geronimo-web-2.5-builder</artifactId>
        <type>jar</type>
        <import>classes</import>
      </dependency>
      <dependency>
        <groupId>org.apache.geronimo.modules</groupId>
        <artifactId>geronimo-jetty7-builder</artifactId>
        <type>jar</type>
        <import>classes</import>
      </dependency>
    </dependencies>
    <hidden-classes/>
    <non-overridable-classes/>
    <private-classes/>
  </environment>
  <gbean name="JettyWebBuilder" class="org.apache.geronimo.jetty7.deployment.JettyModuleBuilder">
    <attribute name="defaultSessionTimeoutSeconds">1800</attribute>
    <attribute name="defaultWelcomeFiles">index.html,index.htm,index.jsp</attribute>
    <attribute name="jettyContainerObjectName">?name=JettyWebContainer</attribute>
    <attribute name="defaultLocaleEncodingMappings">ar=ISO-8859-6
be=ISO-8859-5
bg=ISO-8859-5
ca=ISO-8859-1
cs=ISO-8859-2
da=ISO-8859-1
de=ISO-8859-1
el=ISO-8859-7
en=ISO-8859-1
es=ISO-8859-1
et=ISO-8859-1
fi=ISO-8859-1
fr=ISO-8859-1
hr=ISO-8859-2
hu=ISO-8859-2
is=ISO-8859-1
it=ISO-8859-1
iw=ISO-8859-8
ja=Shift_JIS
ko=EUC-KR
lt=ISO-8859-2
lv=ISO-8859-2
mk=ISO-8859-5
nl=ISO-8859-1
no=ISO-8859-1
pl=ISO-8859-2
pt=ISO-8859-1
ro=ISO-8859-2
ru=ISO-8859-5
sh=ISO-8859-5
sk=ISO-8859-2
sl=ISO-8859-2
sq=ISO-8859-2
sr=ISO-8859-5
sv=ISO-8859-1
tr=ISO-8859-9
uk=ISO-8859-5
zh=GB2312
zh_TW=Big5</attribute>
    <attribute name="defaultMimeTypeMappings">wsdl=text/xml</attribute>
    <references name="DefaultServlets">
      <pattern>
        <name>StaticContent</name>
      </pattern>
    </references>
    <reference name="JspServlet">
      <name>JSPServlet</name>
    </reference>
    <reference name="PojoWebServiceTemplate">
      <name>POJOTemplate</name>
    </reference>
    <references name="ServiceBuilders">
      <pattern>
        <name>GBeanBuilder</name>
      </pattern>
      <pattern>
        <name>SecurityBuilder</name>
      </pattern>
    </references>
    <references name="WebServiceBuilder">
      <pattern>
        <name>CXFBuilder</name>
      </pattern>
      <pattern>
        <name>Axis2Builder</name>
      </pattern>
      <pattern>
        <name>WebServiceBuilder</name>
      </pattern>
      <pattern>
        <name>UnavailableWebServiceBuilder</name>
      </pattern>
    </references>
    <reference name="NamingBuilders">
      <name>NamingBuilders</name>
    </reference>
    <reference name="ClusteringBuilders">
      <name>JettyClusteringBuilder</name>
    </reference>
    <references name="ModuleBuilderExtensions">
      <pattern>
        <name>PersistenceUnitBuilder</name>
      </pattern>
      <pattern>
        <name>MyFacesModuleBuilderExtension</name>
      </pattern>
      <pattern>
        <name>JspModuleBuilderExtension</name>
      </pattern>
      <pattern>
        <name>SecurityBuilder</name>
      </pattern>
    </references>
    <reference name="ResourceEnvironmentSetter">
      <name>ResourceRefBuilder</name>
    </reference>
    <xml-attribute name="defaultEnvironment">
      <environment>
        <dependencies>
          <dependency>
            <groupId>org.apache.geronimo.configs</groupId>
            <artifactId>jetty7</artifactId>
            <version>2.2</version>
            <type>car</type>
          </dependency>
        </dependencies>
        <hidden-classes/>
        <non-overridable-classes>
          <filter>java.</filter>
          <filter>javax.</filter>
          <filter>org.apache.geronimo.</filter>
          <filter>org.apache.myfaces.</filter>
          <filter>org.apache.taglibs.</filter>
          <filter>org.mortbay.</filter>
          <filter>org.xml.</filter>
          <filter>org.w3c.</filter>
        </non-overridable-classes>
      </environment>
    </xml-attribute>
  </gbean>
  <gbean name="StaticContent" class="org.apache.geronimo.jetty7.DefaultServletHolderWrapper">
    <attribute name="servletName">default</attribute>
    <attribute name="servletClass">org.eclipse.jetty.servlet.DefaultServlet</attribute>
    <attribute name="loadOnStartup">0</attribute>
    <attribute name="initParams">acceptRanges=true
            dirAllowed=true
            putAllowed=false
            delAllowed=false
            redirectWelcome=false
            minGzipLength=8192</attribute>
    <attribute name="servletMappings">/</attribute>
  </gbean>
  <gbean name="JSPServlet" class="org.apache.geronimo.jetty7.JspServletHolderWrapper">
    <attribute name="servletName">jsp</attribute>
    <attribute name="servletClass">org.apache.jasper.servlet.JspServlet</attribute>
    <attribute name="loadOnStartup">0</attribute>
    <attribute name="initParams">development=false
            fork=false
            logVerbosityLevel=DEBUG
            xpoweredBy=false
            engineOptionsClass=org.apache.geronimo.jasper.JspServletOptions</attribute>
    <attribute name="servletMappings">*.jsp,*.jspf,*.jspx,*.xsp</attribute>
  </gbean>
  <gbean name="POJOTemplate" class="org.apache.geronimo.jetty7.POJOWebServiceHolderWrapper">
    <attribute name="servletName">dummy</attribute>
  </gbean>
  <gbean name="jetty7WARConfigurer" class="org.apache.geronimo.web.deployment.WARConfigurer"/>
</module>