<Server>

  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
      descriptors="/jboss-mbeans.xml" debug="0"/>

  <Service name="jboss.web">

    <!-- A HTTP/1.1 Connector on port 8080 -->
    <Connector port="8080" address="${jboss.bind.address}"
         maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
         enableLookups="false" redirectPort="8443" acceptCount="100"
         connectionTimeout="20000" disableUploadTimeout="true" />

    <!-- A AJP 1.3 Connector on port 8009 -->
    <Connector port="8009" address="${jboss.bind.address}"
         enableLookups="false" redirectPort="8443" debug="0"
         protocol="AJP/1.3" />

    <!-- SSL/TLS Connector configuration using the SSL domain keystore
    <Connector port="8443" address="${jboss.bind.address}"
         maxThreads="100" minSpareThreads="5" maxSpareThreads="15"
         scheme="https" secure="true"
         keystoreFile="${jboss.server.home.dir}/conf/chap8.keystore"
         keystorePass="rmi+ssl" sslProtocol = "TLS" />
    -->

    <Engine name="jboss.web" defaultHost="localhost">

      <Logger className="org.jboss.web.tomcat.Log4jLogger"
          verbosityLevel="INFORMATION" 
          category="org.jboss.web.localhost.Engine"/>

      <Realm className="org.jboss.web.tomcat.security.JBossSecurityMgrRealm" />

      <Host name="localhost" autoDeploy="false" deployOnStartup="false">

        <!-- Access logger -->
        <Valve className="org.apache.catalina.valves.AccessLogValve"
            prefix="localhost_access_log." suffix=".log"
            pattern="common" directory="${jboss.server.home.dir}/log" 
            resolveHosts="false" />

        <!-- Default context parameters -->
        <DefaultContext cookies="true" crossContext="true" override="true" />

      </Host>

    </Engine>

  </Service>

</Server>
