You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Pavan Singaraju <ma...@gmail.com> on 2008/07/30 10:28:45 UTC
Session replication problem in tomcat 6.0.14 (loadbalancing with Apache)
Hello all,
I am trying to do session replication in two tomcats (using Apache to do the
loadbalancing).
Ran the examples application and put a value in to the session. Now stopped
the tomcat where the session is set.
Submitted the URL again.
Web page showed no value in the session. I think the session value is not
tranfered. In the log file, i could see the following happenning.
Help me with this to identiry why the error and how to do the session
replication.
I am using Tomcat 6.0.14 on JDK 1.6
Jul 30, 2008 1:49:24 PM org.apache.catalina.ha.tcp.SimpleTcpCluster
memberDisappeared
INFO: Received member
disappeared:org.apache.catalina.tribes.membership.MemberImpl[tcp://d5-4232.xius.ltd:4002,d5-4232.xius.ltd,4002,
alive=46858,id={-38 -119 -88 -15 -57 -62 77 116 -98 -70 -92 -50 45 -83 -71
-74 }, payload={}, command={66 65 66 89 45 65 76 69 88 ...(9)}, domain={}, ]
Jul 30, 2008 1:49:40 PM org.apache.catalina.ha.tcp.SimpleTcpCluster send
SEVERE: Unable to send message through cluster sender.
org.apache.catalina.tribes.ChannelException: No destination given; No faulty
members identified.
at
org.apache.catalina.tribes.group.GroupChannel.send(GroupChannel.java:194)
at
org.apache.catalina.tribes.group.GroupChannel.send(GroupChannel.java:175)
at
org.apache.catalina.ha.tcp.SimpleTcpCluster.send(SimpleTcpCluster.java:835)
at
org.apache.catalina.ha.tcp.SimpleTcpCluster.sendClusterDomain(SimpleTcpCluster.java:814)
at
org.apache.catalina.ha.session.JvmRouteBinderValve.sendSessionIDClusterBackup(JvmRouteBinderValve.java:391)
at
org.apache.catalina.ha.session.JvmRouteBinderValve.changeSessionID(JvmRouteBinderValve.java:362)
at
org.apache.catalina.ha.session.JvmRouteBinderValve.handleJvmRoute(JvmRouteBinderValve.java:319)
at
org.apache.catalina.ha.session.JvmRouteBinderValve.handlePossibleTurnover(JvmRouteBinderValve.java:229)
at
org.apache.catalina.ha.session.JvmRouteBinderValve.invoke(JvmRouteBinderValve.java:206)
at
org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:347)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:619
Re: Session replication problem in tomcat 6.0.14 (loadbalancing with
Apache)
Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
the error should be fixed in 6.0.18
Filip
Pavan Singaraju wrote:
> My question here was if the other node is not available anymore, will this
> exception come? If so how to avoid it. The fact is the session replication
> is happenning and everything is working inspite of the exception. But just
> in case if we want to avoid this exception, is there a way or should the
> exception be ignored??
> --
> Pavan Kumar Singaraju
>
> On Wed, Jul 30, 2008 at 7:00 PM, Filip Hanik - Dev Lists <devlists@hanik.com
>
>> wrote:
>>
>
>
>> this
>>
>> Jul 30, 2008 1:49:24 PM org.apache.catalina.ha.tcp.SimpleTcpCluster
>> memberDisappeared
>> INFO: Received member
>>
>> disappeared:org.apache.catalina.tribes.membership.MemberImpl[tcp://d5-4232.xius.ltd:4002,d5-4232.xius.ltd,4002,
>> alive=46858,id={-38 -119 -88 -15 -57 -62 77 116 -98 -70 -92 -50 45 -83 -71
>> -74 }, payload={}, command={66 65 66 89 45 65 76 69 88 ...(9)}, domain={},
>> ]
>>
>> indicates that the other node is not part of the cluster anymore.
>> what does your config look like?
>>
>> Filip
>>
>>
>>
>> Pavan Singaraju wrote:
>>
>>
>>> Hello all,
>>> I am trying to do session replication in two tomcats (using Apache to do
>>> the
>>> loadbalancing).
>>> Ran the examples application and put a value in to the session. Now
>>> stopped
>>> the tomcat where the session is set.
>>> Submitted the URL again.
>>> Web page showed no value in the session. I think the session value is not
>>> tranfered. In the log file, i could see the following happenning.
>>> Help me with this to identiry why the error and how to do the session
>>> replication.
>>> I am using Tomcat 6.0.14 on JDK 1.6
>>>
>>>
>>> Jul 30, 2008 1:49:24 PM org.apache.catalina.ha.tcp.SimpleTcpCluster
>>> memberDisappeared
>>> INFO: Received member
>>>
>>> disappeared:org.apache.catalina.tribes.membership.MemberImpl[tcp://d5-4232.xius.ltd:4002,d5-4232.xius.ltd,4002,
>>> alive=46858,id={-38 -119 -88 -15 -57 -62 77 116 -98 -70 -92 -50 45 -83 -71
>>> -74 }, payload={}, command={66 65 66 89 45 65 76 69 88 ...(9)}, domain={},
>>> ]
>>> Jul 30, 2008 1:49:40 PM org.apache.catalina.ha.tcp.SimpleTcpCluster send
>>> SEVERE: Unable to send message through cluster sender.
>>> org.apache.catalina.tribes.ChannelException: No destination given; No
>>> faulty
>>> members identified.
>>> at
>>> org.apache.catalina.tribes.group.GroupChannel.send(GroupChannel.java:194)
>>> at
>>> org.apache.catalina.tribes.group.GroupChannel.send(GroupChannel.java:175)
>>> at
>>>
>>> org.apache.catalina.ha.tcp.SimpleTcpCluster.send(SimpleTcpCluster.java:835)
>>> at
>>>
>>> org.apache.catalina.ha.tcp.SimpleTcpCluster.sendClusterDomain(SimpleTcpCluster.java:814)
>>> at
>>>
>>> org.apache.catalina.ha.session.JvmRouteBinderValve.sendSessionIDClusterBackup(JvmRouteBinderValve.java:391)
>>> at
>>>
>>> org.apache.catalina.ha.session.JvmRouteBinderValve.changeSessionID(JvmRouteBinderValve.java:362)
>>> at
>>>
>>> org.apache.catalina.ha.session.JvmRouteBinderValve.handleJvmRoute(JvmRouteBinderValve.java:319)
>>> at
>>>
>>> org.apache.catalina.ha.session.JvmRouteBinderValve.handlePossibleTurnover(JvmRouteBinderValve.java:229)
>>> at
>>>
>>> org.apache.catalina.ha.session.JvmRouteBinderValve.invoke(JvmRouteBinderValve.java:206)
>>> at
>>>
>>> org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:347)
>>> at
>>>
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
>>> at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
>>> at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
>>> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
>>> at
>>>
>>> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
>>> at
>>>
>>> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
>>> at
>>>
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
>>> at java.lang.Thread.run(Thread.java:619
>>>
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Session replication problem in tomcat 6.0.14 (loadbalancing with Apache)
Posted by Pavan Singaraju <ma...@gmail.com>.
My question here was if the other node is not available anymore, will this
exception come? If so how to avoid it. The fact is the session replication
is happenning and everything is working inspite of the exception. But just
in case if we want to avoid this exception, is there a way or should the
exception be ignored??
--
Pavan Kumar Singaraju
On Wed, Jul 30, 2008 at 7:00 PM, Filip Hanik - Dev Lists <devlists@hanik.com
> wrote:
> this
>
> Jul 30, 2008 1:49:24 PM org.apache.catalina.ha.tcp.SimpleTcpCluster
> memberDisappeared
> INFO: Received member
>
> disappeared:org.apache.catalina.tribes.membership.MemberImpl[tcp://d5-4232.xius.ltd:4002,d5-4232.xius.ltd,4002,
> alive=46858,id={-38 -119 -88 -15 -57 -62 77 116 -98 -70 -92 -50 45 -83 -71
> -74 }, payload={}, command={66 65 66 89 45 65 76 69 88 ...(9)}, domain={},
> ]
>
> indicates that the other node is not part of the cluster anymore.
> what does your config look like?
>
> Filip
>
>
>
> Pavan Singaraju wrote:
>
>> Hello all,
>> I am trying to do session replication in two tomcats (using Apache to do
>> the
>> loadbalancing).
>> Ran the examples application and put a value in to the session. Now
>> stopped
>> the tomcat where the session is set.
>> Submitted the URL again.
>> Web page showed no value in the session. I think the session value is not
>> tranfered. In the log file, i could see the following happenning.
>> Help me with this to identiry why the error and how to do the session
>> replication.
>> I am using Tomcat 6.0.14 on JDK 1.6
>>
>>
>> Jul 30, 2008 1:49:24 PM org.apache.catalina.ha.tcp.SimpleTcpCluster
>> memberDisappeared
>> INFO: Received member
>>
>> disappeared:org.apache.catalina.tribes.membership.MemberImpl[tcp://d5-4232.xius.ltd:4002,d5-4232.xius.ltd,4002,
>> alive=46858,id={-38 -119 -88 -15 -57 -62 77 116 -98 -70 -92 -50 45 -83 -71
>> -74 }, payload={}, command={66 65 66 89 45 65 76 69 88 ...(9)}, domain={},
>> ]
>> Jul 30, 2008 1:49:40 PM org.apache.catalina.ha.tcp.SimpleTcpCluster send
>> SEVERE: Unable to send message through cluster sender.
>> org.apache.catalina.tribes.ChannelException: No destination given; No
>> faulty
>> members identified.
>> at
>> org.apache.catalina.tribes.group.GroupChannel.send(GroupChannel.java:194)
>> at
>> org.apache.catalina.tribes.group.GroupChannel.send(GroupChannel.java:175)
>> at
>>
>> org.apache.catalina.ha.tcp.SimpleTcpCluster.send(SimpleTcpCluster.java:835)
>> at
>>
>> org.apache.catalina.ha.tcp.SimpleTcpCluster.sendClusterDomain(SimpleTcpCluster.java:814)
>> at
>>
>> org.apache.catalina.ha.session.JvmRouteBinderValve.sendSessionIDClusterBackup(JvmRouteBinderValve.java:391)
>> at
>>
>> org.apache.catalina.ha.session.JvmRouteBinderValve.changeSessionID(JvmRouteBinderValve.java:362)
>> at
>>
>> org.apache.catalina.ha.session.JvmRouteBinderValve.handleJvmRoute(JvmRouteBinderValve.java:319)
>> at
>>
>> org.apache.catalina.ha.session.JvmRouteBinderValve.handlePossibleTurnover(JvmRouteBinderValve.java:229)
>> at
>>
>> org.apache.catalina.ha.session.JvmRouteBinderValve.invoke(JvmRouteBinderValve.java:206)
>> at
>>
>> org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:347)
>> at
>>
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
>> at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
>> at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
>> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
>> at
>>
>> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
>> at
>>
>> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
>> at
>>
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
>> at java.lang.Thread.run(Thread.java:619
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Session replication problem in tomcat 6.0.14 (loadbalancing with
Apache)
Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
this
Jul 30, 2008 1:49:24 PM org.apache.catalina.ha.tcp.SimpleTcpCluster
memberDisappeared
INFO: Received member
disappeared:org.apache.catalina.tribes.membership.MemberImpl[tcp://d5-4232.xius.ltd:4002,d5-4232.xius.ltd,4002,
alive=46858,id={-38 -119 -88 -15 -57 -62 77 116 -98 -70 -92 -50 45 -83 -71
-74 }, payload={}, command={66 65 66 89 45 65 76 69 88 ...(9)}, domain={}, ]
indicates that the other node is not part of the cluster anymore.
what does your config look like?
Filip
Pavan Singaraju wrote:
> Hello all,
> I am trying to do session replication in two tomcats (using Apache to do the
> loadbalancing).
> Ran the examples application and put a value in to the session. Now stopped
> the tomcat where the session is set.
> Submitted the URL again.
> Web page showed no value in the session. I think the session value is not
> tranfered. In the log file, i could see the following happenning.
> Help me with this to identiry why the error and how to do the session
> replication.
> I am using Tomcat 6.0.14 on JDK 1.6
>
>
> Jul 30, 2008 1:49:24 PM org.apache.catalina.ha.tcp.SimpleTcpCluster
> memberDisappeared
> INFO: Received member
> disappeared:org.apache.catalina.tribes.membership.MemberImpl[tcp://d5-4232.xius.ltd:4002,d5-4232.xius.ltd,4002,
> alive=46858,id={-38 -119 -88 -15 -57 -62 77 116 -98 -70 -92 -50 45 -83 -71
> -74 }, payload={}, command={66 65 66 89 45 65 76 69 88 ...(9)}, domain={}, ]
> Jul 30, 2008 1:49:40 PM org.apache.catalina.ha.tcp.SimpleTcpCluster send
> SEVERE: Unable to send message through cluster sender.
> org.apache.catalina.tribes.ChannelException: No destination given; No faulty
> members identified.
> at
> org.apache.catalina.tribes.group.GroupChannel.send(GroupChannel.java:194)
> at
> org.apache.catalina.tribes.group.GroupChannel.send(GroupChannel.java:175)
> at
> org.apache.catalina.ha.tcp.SimpleTcpCluster.send(SimpleTcpCluster.java:835)
> at
> org.apache.catalina.ha.tcp.SimpleTcpCluster.sendClusterDomain(SimpleTcpCluster.java:814)
> at
> org.apache.catalina.ha.session.JvmRouteBinderValve.sendSessionIDClusterBackup(JvmRouteBinderValve.java:391)
> at
> org.apache.catalina.ha.session.JvmRouteBinderValve.changeSessionID(JvmRouteBinderValve.java:362)
> at
> org.apache.catalina.ha.session.JvmRouteBinderValve.handleJvmRoute(JvmRouteBinderValve.java:319)
> at
> org.apache.catalina.ha.session.JvmRouteBinderValve.handlePossibleTurnover(JvmRouteBinderValve.java:229)
> at
> org.apache.catalina.ha.session.JvmRouteBinderValve.invoke(JvmRouteBinderValve.java:206)
> at
> org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:347)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
> at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
> at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
> at
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
> at
> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
> at java.lang.Thread.run(Thread.java:619
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org