tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitriy Repin <...@inbox.ru>
Subject Re: Tomcat 6 - not started AJP/NIO on CentOS
Date Mon, 25 May 2009 04:43:26 GMT
Caldarale, Charles R wrote:
> Post the server.xml from your CentOS attempt so we can look at it.
>
>  - Chuck
>
>   
My server.xml is very simple.

<Server port="8005" shutdown="SHUTDOWN">
  <Listener className="org.apache.catalina.core.JasperListener" />
  <Listener 
className="org.apache.catalina.mbeans.ServerLifecycleListener" />
  <Listener 
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
 
  <GlobalNamingResources>
        <Resource name="UserDatabase" auth="Container"
              type="org.apache.catalina.UserDatabase"
              description="User database that can be updated and saved"
              factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
              pathname="conf/tomcat-users.xml" />
  </GlobalNamingResources>
 
  <Service name="Catalina">
        <Connector port="8080" 
protocol="org.apache.coyote.http11.Http11NioProtocol"
                maxThreads="256"
                connectionTimeout="20000"
                keepAliveTimeout="5000"
               redirectPort="8443" />
               
        <Connector protocol="AJP/1.3" port="0"
                channelNioSocket.port="8009"
                channelNioSocket.maxThreads="256"
                channelNioSocket.maxSpareThreads="97"
                channelNioSocket.minSpareThreads="50"
                channelNioSocket.keepAliveTimeout="1000"
                channelNioSocket.bufferSize="16384"/>
                
        <Engine name="Catalina" defaultHost="localhost">
        
            <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
                resourceName="UserDatabase"/>
                
            <Host name="localhost"  appBase="webapps"
                unpackWARs="true" autoDeploy="true"
                xmlValidation="false" xmlNamespaceAware="false">
            </Host>
            
        </Engine>
        
  </Service>
 
</Server>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message