tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Pahne <andy.pa...@gmail.com>
Subject Re: problem with clustering
Date Fri, 05 Apr 2013 10:02:08 GMT
Am 04.04.2013 15:01, schrieb Daniel Mikusa:


The tomcat version is 6.0.18, running on Linux 2.6.24, Java version is 
1.6.0_13.



> It would be helpful to post your configuration, minus comments, as well as the exact
version of Tomcat that you are running.
>

<?xml version='1.0' encoding='utf-8'?>
<Server port="8005" shutdown="SHUTDOWN">

   <Listener className="org.apache.catalina.core.AprLifecycleListener" 
SSLEngine="on" />
   <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="8090" protocol="HTTP/1.1"
                connectionTimeout="20000"
                redirectPort="8443" />

     <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />

     <Engine name="Catalina" defaultHost="localhost">
       <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
       <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>



> If you suspect a network issue, you could try monitoring with Wireshark or tcpdump to
capture the network packets.  Analysis of the packets could show if there is a problem.  Another
option would be to try and use a tool like iperf to put a high load on your network and possibly
trigger the problem.
>
> Dan
>
>
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message