geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chi Runhua (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (GERONIMO-4804) Fail to set up Tomcat Cluster
Date Thu, 03 Sep 2009 09:34:33 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-4804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750935#action_12750935
] 

Chi Runhua edited comment on GERONIMO-4804 at 9/3/09 2:33 AM:
--------------------------------------------------------------

Thanks Shawn for the solution. I also removed the security constraints and realm info from
both web.xml and deployment plan.

Now the application can be deployed on G2.2 using GBean method but with the following warning
in the log

2009-09-03 17:22:12,276 WARN  [TomcatModuleBuilder] No clustering builders configured: app
will not be clustered
2009-09-03 17:22:12,824 WARN  [SimpleTcpCluster] setManagerClassName is deprecated, use nested
<Manager> element inside the <Cluster> element instead, this request will be ignored.
....


Jeff C

      was (Author: chi runhua):
    Thanks Shawn for the solution. I removed the security constraints and realm info from
both web.xml and deployment plan.

Now the application can be deployed on G2.2 but with the following warning in the log

2009-09-03 17:22:12,276 WARN  [TomcatModuleBuilder] No clustering builders configured: app
will not be clustered
2009-09-03 17:22:12,824 WARN  [SimpleTcpCluster] setManagerClassName is deprecated, use nested
<Manager> element inside the <Cluster> element instead, this request will be ignored.
....


Jeff C
  
> 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