This discussion is archived
3 Replies Latest reply: Sep 30, 2013 11:08 AM by Ricardo Ferreira RSS

Can't start 2nd node - Exception "This cluster node failed to deserialize the config java.io.StreamCorruptedException: invalid type: 100"

Faustas.Zilinskas Newbie
Currently Being Moderated

I'm running one Coherence node on Solaris 10, 64-bit 1.7 JVM. It works fine. However, problems start when I'm trying to start a 2nd node from Eclipse, running on 64-bit Windows JVM that is setup exactly the same as on Solaris. By observing the logs of both JVMs, I can see that each node discovers the other, however, the node that was started the 2nd always gets the exception below and terminates. It does not matter on which OS I start, it's always the 2nd JVM that gets this error.

 

What may be wrong ? Is it my config? If it was wrong, why would the first node come up and work successfully?

 

Here is the exception:

 

2013-09-26 14:15:29,378 [Logger@9254847 12.1.2.0.0] ERROR Coherence  - 2013-09-26 14:15:29.378/6.164 Oracle Coherence GE 12.1.2.0.0 <Error> (thread=Cluster, member=3): This cluster node failed to deserialize the config

java.io.StreamCorruptedException: invalid type: 100

    at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2348)

    at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2336)

    at com.tangosol.io.DefaultSerializer.deserialize(DefaultSerializer.java:74)

    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.readObject(Service.CDB:1)

    at com.tangosol.coherence.component.net.Message.readObject(Message.CDB:1)

    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ClusterService$ServiceJoining.read(ClusterService.CDB:14)

    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.deserializeMessage(Grid.CDB:19)

    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:21)

    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ClusterService.onNotify(ClusterService.CDB:3)

    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:51)

    at java.lang.Thread.run(Thread.java:724)

Stopping the Cluster service.

2013-09-26 14:15:29,378 [Logger@9254847 12.1.2.0.0] ERROR Coherence  - 2013-09-26 14:15:29.378/6.164 Oracle Coherence GE 12.1.2.0.0 <Error> (thread=Cluster, member=3): Requested to stop cluster service.

2013-09-26 14:15:29,378 [Logger@9254847 12.1.2.0.0] DEBUG Coherence  - 2013-09-26 14:15:29.378/6.164 Oracle Coherence GE 12.1.2.0.0 <D5> (thread=Cluster, member=n/a): Service Cluster left the cluster

2013-09-26 14:15:29,378 [Logger@9254847 12.1.2.0.0] ERROR Coherence  - 2013-09-26 14:15:29.378/6.164 Oracle Coherence GE 12.1.2.0.0 <Error> (thread=Invocation:Management, member=n/a): Terminating InvocationService due to unhandled exception: java.lang.RuntimeException

2013-09-26 14:15:29,378 [Logger@9254847 12.1.2.0.0] ERROR Coherence  - 2013-09-26 14:15:29.378/6.164 Oracle Coherence GE 12.1.2.0.0 <Error> (thread=Invocation:Management, member=n/a):

java.lang.RuntimeException: Join request was aborted

    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ClusterService.doServiceJoining(ClusterService.CDB:86)

    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onServiceState(Grid.CDB:23)

    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.setServiceState(Service.CDB:8)

    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.setServiceState(Grid.CDB:21)

    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid$NotifyStartup.onReceived(Grid.CDB:3)

    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:38)

    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:23)

    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:51)

    at java.lang.Thread.run(Thread.java:724)

2013-09-26 14:15:29,378 [Logger@9254847 12.1.2.0.0] DEBUG Coherence  - 2013-09-26 14:15:29.378/6.164 Oracle Coherence GE 12.1.2.0.0 <D5> (thread=Invocation:Management, member=n/a): Service Management left the cluster

2013-09-26 14:15:29,378 [Logger@9254847 12.1.2.0.0] DEBUG Coherence  - 2013-09-26 14:15:29.378/6.164 Oracle Coherence GE 12.1.2.0.0 <D4> (thread=Cluster, member=n/a): Ignoring delayed response to JoinRequest for Management at 2013-09-26 14:15:29.42

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points