tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34647] New: - Tomcat cluster - "Unabel to receive message through TCP Channel"
Date Wed, 27 Apr 2005 13:25:31 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34647>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34647

           Summary: Tomcat cluster - "Unabel to receive message through TCP
                    Channel"
           Product: Tomcat 5
           Version: 5.0.28
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Catalina:Cluster
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: aleonben@telefonica.net


We have a cluster with two Tomcat servers. When we restart one of the nodes, 
without restarting the other one, it seems to be a problem in the communication 
between them. This is the log trace in the node that restarts, when it starts:

[main] INFO  org.apache.catalina.cluster.session.DeltaManager  - Starting 
clustering manager...:/TEST
[main] WARN  org.apache.catalina.cluster.session.DeltaManager  - Manager
[/TEST], requesting session state from 
org.apache.catalina.cluster.mcast.McastMember
[tcp://XXX.XXX.XXX.XXX:4001,XXX.XXX.XXX.XXXX,4001, alive=14436991]. This 
operation will timeout if no session state has been received within 60 seconds
[main] ERROR org.apache.catalina.cluster.session.DeltaManager  - Manager
[/TEST], No session state received, timing out.
org.apache.jk.common.ChannelSocket init


And the trace log in the node that remains alive:

org.apache.catalina.cluster.tcp.SimpleTcpCluster memberDisappeared
INFO: Received member disappeared:org.apache.catalina.cluster.mcast.McastMember
[tcp://YYY.YYY.YYY.YYY:4001,YYY.YYY.YYY.YYY,4001, alive=6147693]
org.apache.catalina.cluster.tcp.SimpleTcpCluster memberAdded
INFO: Replication member added:org.apache.catalina.cluster.mcast.McastMember
[tcp://YYY.YYY.YYY.YYY:4001,YYY.YYY.YYY.YYY,4001, alive=2]
[org.apache.catalina.cluster.tcp.TcpReplicationThread[3]] ERROR 
org.apache.catalina.cluster.session.DeltaManager  - Unable to receive message 
through TCP channel
java.lang.NullPointerException
        at java.io.ObjectOutputStream$BlockDataOutputStream.getUTFLength
(ObjectOutputStream.java:1898)
        at java.io.ObjectOutputStream$BlockDataOutputStream.writeUTF
(ObjectOutputStream.java:1769)
        at java.io.ObjectOutputStream.writeUTF(ObjectOutputStream.java:787)
        at 
org.apache.catalina.cluster.session.SerializablePrincipal.writePrincipal
(SerializablePrincipal.java:180)
        at org.apache.catalina.cluster.session.DeltaSession.writeObject
(DeltaSession.java:1457)
        at org.apache.catalina.cluster.session.DeltaSession.writeObjectData
(DeltaSession.java:930)
        at org.apache.catalina.cluster.session.DeltaManager.doUnload
(DeltaManager.java:539)
        at org.apache.catalina.cluster.session.DeltaManager.messageReceived
(DeltaManager.java:854)
        at org.apache.catalina.cluster.session.DeltaManager.messageDataReceived
(DeltaManager.java:762)
        at org.apache.catalina.cluster.tcp.SimpleTcpCluster.messageDataReceived
(SimpleTcpCluster.java:576)
        at org.apache.catalina.cluster.io.ObjectReader.execute
(ObjectReader.java:70)
        at org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel
(TcpReplicationThread.java:129)
        at org.apache.catalina.cluster.tcp.TcpReplicationThread.run
(TcpReplicationThread.java:67)

I saw another bug similar to this one: 32280, but it finishes without a clear 
solution.

Thanks in advance.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message