geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "viola.lu (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-4804) Fail to set up Tomcat Cluster
Date Wed, 19 Aug 2009 06:24:14 GMT
Fail to set up Tomcat Cluster 
------------------------------

                 Key: GERONIMO-4804
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4804
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Tomcat
    Affects Versions: 2.2
         Environment: OS:win2003
            Reporter: viola.lu
            Assignee: Shawn Jiang
            Priority: Minor
         Attachments: servlet-examples-cluster-plan.xml, servlet-examples-cluster-server1.war

1.Modify server.xml under var/catalina/ as tomcat how-to-cluster doc as below:
<Engine name="Catalina" defaultHost="${ServerHostname}" jvmRoute="node2" channelSendOptions="8">
        <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster">
            <Manager className="org.apache.catalina.ha.session.DeltaManager"
                   expireSessionsOnShutdown="false"
                   notifyListenersOnReplication="true"/>

          <Channel className="org.apache.catalina.tribes.group.GroupChannel">
            <Membership className="org.apache.catalina.tribes.membership.McastService"
                        address="228.0.0.4"
                        port="45564"
                        frequency="500"
                        dropTime="3000"/>
            <Receiver className="org.apache.catalina.tribes.transport.nio.NioReceiver"
                      address="auto"
                      port="4000"
                      autoBind="100"
                      selectorTimeout="5000"
                      maxThreads="6"/>

            <Sender className="org.apache.catalina.tribes.transport.ReplicationTransmitter">
              <Transport className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/>
            </Sender>
            <Interceptor className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/>
            <Interceptor className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/>
          </Channel>

          <Valve className="org.apache.catalina.ha.tcp.ReplicationValve"
                 filter=""/>
          <Valve className="org.apache.catalina.ha.session.JvmRouteBinderValve"/>

          <Deployer className="org.apache.catalina.ha.deploy.FarmWarDeployer"
                    tempDir="/tmp/war-temp/"
                    deployDir="/tmp/war-deploy/"
                    watchDir="/tmp/war-listen/"
                    watchEnabled="false"/>

          <ClusterListener className="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener"/>
          <ClusterListener className="org.apache.catalina.ha.session.ClusterSessionListener"/>
          </Cluster>
....
</Engine>

2.And deploy web apps whose web.xml containing <distributable> element succesfully
3.Configure Apache http server with mod_jk, but errors in mod_jk.log
[error] jk_ajp_common.c (1011): (NODE2) can't receive the response message from tomcat, network
problems or tomcat (9.186.10.167:8009) is down (errno=60)
[Wed Aug 19 14:01:45 2009] [6828:5876] [error] jk_ajp_common.c (1766): (NODE2) Tomcat is down
or refused connection. No response has been sent to the client (yet)
[Wed Aug 19 14:01:45 2009] [6828:5876] [info] jk_ajp_common.c (2186): (NODE2) sending request
to tomcat failed (recoverable),  (attempt=1)
[Wed Aug 19 14:02:03 2009] [6828:1212] [error] jk_ajp_common.c (1011): (NODE1) can't receive
the response message from tomcat, network problems or tomcat (9.186.10.67:8009) is down (errno=60)
[Wed Aug 19 14:02:03 2009] [6828:1212] [error] jk_ajp_common.c (1766): (NODE1) Tomcat is down
or refused connection. No response has been sent to the client (yet)


If i follow tomcat cluster steps used in g 2.1.*  to work on G 2.2 snapshot, it does't work
also, when deploy web app, there is an error:
org.apache.geronimo.common.DeploymentException: Unable to resolve reference "NextValve"






-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message