1 Reply Latest reply on Jul 31, 2012 8:51 AM by Florian Charlet

    JB AS 7.1.1 ClassNotFoundException : ImmutableListCopy

    Florian Charlet Newbie



      I try to deploy an ear on two jboss servers but I have some errors on each side.

      I deploy it with the admin console, when I activate the ear on the first server (node1), there is no problem, and when I activate on the second (node 2), errors occurs.


      To launch the servers I use this commands (2 batch scripts)

      C:\dev\java\eclipse-indigo\poc\jboss-as-7.1.1.Final\bin\standalone.bat -c standalone-ha.xml -Djboss.bind.address=A.B.C.115 -Djboss.bind.address.management=A.B.C.115 -b=A.B.C.115 -Djboss.server.base.dir=C:\dev\java\eclipse-indigo\poc\jboss-as-7.1.1.Final\standalone1 -Djboss.node.name=node1 -Djboss.socket.binding.port-offset=100

      C:\dev\java\eclipse-indigo\poc\jboss-as-7.1.1.Final\bin\standalone.bat -c standalone-ha.xml -Djboss.bind.address=A.B.C.115 -Djboss.bind.address.management=A.B.C.115 -b=A.B.C.115 -Djboss.server.base.dir=C:\dev\java\eclipse-indigo\poc\jboss-as-7.1.1.Final\standalone2 -Djboss.node.name=node2 -Djboss.socket.binding.port-offset=200


      The error on the first server is

      16:03:00,778 Grave [org.jgroups.blocks.RequestCorrelator] (OOB-16,null) failed unmarshalling buffer into return value: java.lang.ClassNotFoundException: org.infinispan.CacheException from [Module "deployment.poc.ear.BOFramework-1.0.jar:main" from Service Module Loader]


      And on the the second is

      16:03:00,681 WARN  [org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher] (OOB-18,null) Problems unmarshalling remote command from byte buffer: java.lang.ClassNotFoundException: org.infinispan.util.ImmutableListCopy from [Module "deployment.poc.ear.BOFramework-1.0.jar:main" from Service Module Loader]


      You can find complete trace in server1.log and server2.log


      In this post, there is a "solution" but that's not the solution for my problem.


      I think there is a problem of cache syncronization between two servers.


      Thank you.