tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jimmy Chang <chang33...@gmail.com>
Subject Unable to deserialize message:ClusterData
Date Fri, 31 Jul 2015 13:15:49 GMT
Hi,

When I uncomment the line
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
in server.xml and restart tomcat.

I got the following error message.

SEVERE [Tribes-Task-Receiver-6] 
org.apache.catalina.tribes.group.GroupChannel.messageReceived Unable to 
deserialize 
message:ClusterData[src=org.apache.catalina.tribes.membership.MemberImpl[tcp://{127, 
0, 1, 1}:4000,{127, 0, 1, 1},4000, alive=93539     48554, securePort=-1, 
UDP Port=-1, id={-16 88 -120 -72 11 -128 79 55 -116 -66 -101 -52 96 -27 
-117 122 }, payload={}, command={}, domain ={}, ]; id={82 5 125 66 -125 
-81 70 8 -80 -69 30 89 -42 -3 -116 -102 }; sent=2015-07-31 20:41:02.308]
java.io.InvalidClassException: 
org.apache.catalina.ha.session.SessionMessageImpl; local class 
incompatible: stream classdesc serialVersionUID = 1, local class 
serialVersionUID = 2
        at 
java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:621)
        at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1623)
        at 
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1518)
        at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1774)
        at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
        at 
org.apache.catalina.tribes.io.XByteBuffer.deserialize(XByteBuffer.java:552)
        at 
org.apache.catalina.tribes.io.XByteBuffer.deserialize(XByteBuffer.java:538)
        at 
org.apache.catalina.tribes.group.GroupChannel.messageReceived(GroupChannel.java:277)
        at 
org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:81)
        at 
org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:81)
        at 
org.apache.catalina.tribes.group.interceptors.TcpFailureDetector.messageReceived(TcpFailureDetector.java:117)
        at 
org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:81)
        at 
org.apache.catalina.tribes.group.ChannelCoordinator.messageReceived(ChannelCoordinator.java:261)
        at 
org.apache.catalina.tribes.transport.ReceiverBase.messageDataReceived(ReceiverBase.java:242)
        at 
org.apache.catalina.tribes.transport.nio.NioReplicationTask.drainChannel(NioReplicationTask.java:211)
        at 
org.apache.catalina.tribes.transport.nio.NioReplicationTask.run(NioReplicationTask.java:102)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)


Here are the tomcat status.

Using CATALINA_BASE:   /usr/local/tomcat
Using CATALINA_HOME:   /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME:        /usr
Using CLASSPATH: 
/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
Server version: Apache Tomcat/8.0.24
Server built:   Jul 1 2015 20:19:55 UTC
Server number:  8.0.24.0
OS Name:        Linux
OS Version:     3.8.13-68.3.3.el6uek.x86_64
Architecture:   amd64
JVM Version:    1.8.0_45-b14
JVM Vendor:     Oracle Corporation


How to fix that?
Thanks.


---
Avast 防毒軟體已檢查此封電子郵件的病毒。
https://www.avast.com/antivirus

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