Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1852

ClassNotFoundException in org.modeshape.jcr.bus.ClusteredRepositoryChangeBus

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 3.1.3.Final
    • Fix Version/s: 3.2.0.Final
    • Component/s: Clustering, Server
    • Labels:
      None
    • Environment:

      JBoss AS 7.1.1.Final
      JBoss EAP 6.1.0.Alpha

      Description

      Messages received by JGroups cannot be properly deserialized due to class loader issues:

      18:29:12,970 ERROR [org.jgroups.protocols.pbcast.NAKACK2] (Incoming-12,shared=udp) failed to deliver message [dst: <null>, src: slave:server-one/modeshape-dshell (2 headers), size=2776 bytes]: org.modeshape.common.SystemFailureException: Error deserializing changes obtained from channel 'modeshape-dshell'
      [Server:server-one] 	at org.modeshape.jcr.bus.ClusteredRepositoryChangeBus$Receiver.receive(ClusteredRepositoryChangeBus.java:296) [modeshape-jcr-3.2-SNAPSHOT.jar:3.2-SNAPSHOT]
      [Server:server-one] 	at org.jgroups.JChannel.invokeCallback(JChannel.java:749)
      [Server:server-one] 	at org.jgroups.JChannel.up(JChannel.java:710)
      [Server:server-one] 	at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:1020)
      [Server:server-one] 	at org.jgroups.protocols.RSVP.up(RSVP.java:188)
      [Server:server-one] 	at org.jgroups.protocols.FRAG2.up(FRAG2.java:181)
      [Server:server-one] 	at org.jgroups.protocols.FlowControl.up(FlowControl.java:400)
      [Server:server-one] 	at org.jgroups.protocols.FlowControl.up(FlowControl.java:418)
      [Server:server-one] 	at org.jgroups.protocols.pbcast.GMS.up(GMS.java:896)
      [Server:server-one] 	at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:245)
      [Server:server-one] 	at org.jgroups.protocols.UNICAST2.up(UNICAST2.java:453)
      [Server:server-one] 	at org.jgroups.protocols.pbcast.NAKACK2.handleMessage(NAKACK2.java:763)
      [Server:server-one] 	at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:574)
      [Server:server-one] 	at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:143)
      [Server:server-one] 	at org.jgroups.protocols.FD.up(FD.java:253)
      [Server:server-one] 	at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:288)
      [Server:server-one] 	at org.jgroups.protocols.MERGE3.up(MERGE3.java:290)
      [Server:server-one] 	at org.jgroups.protocols.Discovery.up(Discovery.java:359)
      [Server:server-one] 	at org.jgroups.protocols.TP$ProtocolAdapter.up(TP.java:2616)
      [Server:server-one] 	at org.jgroups.protocols.TP.passMessageUp(TP.java:1263)
      [Server:server-one] 	at org.jgroups.protocols.TP$4.run(TP.java:1181)
      [Server:server-one] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_10]
      [Server:server-one] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_10]
      [Server:server-one] 	at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_10]
      [Server:server-one] Caused by: java.lang.ClassNotFoundException: org.modeshape.jcr.cache.change.RecordingChanges from [Module "org.jgroups:main" from local module loader @b847db1 (finder: local module finder @2757f55f (roots: /Volumes/Work/bin/jboss-eap-6.1/modules,/Volumes/Work/bin/jboss-eap-6.1/modules/system/layers/base))]
      [Server:server-one] 	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.2.0.CR1]
      [Server:server-one] 	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.2.0.CR1]
      [Server:server-one] 	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.2.0.CR1]
      [Server:server-one] 	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.2.0.CR1]
      [Server:server-one] 	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.2.0.CR1]
      [Server:server-one] 	at java.lang.Class.forName0(Native Method) [rt.jar:1.7.0_10]
      [Server:server-one] 	at java.lang.Class.forName(Class.java:264) [rt.jar:1.7.0_10]
      [Server:server-one] 	at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:622) [rt.jar:1.7.0_10]
      [Server:server-one] 	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1593) [rt.jar:1.7.0_10]
      [Server:server-one] 	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1514) [rt.jar:1.7.0_10]
      [Server:server-one] 	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1750) [rt.jar:1.7.0_10]
      [Server:server-one] 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347) [rt.jar:1.7.0_10]
      [Server:server-one] 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369) [rt.jar:1.7.0_10]
      [Server:server-one] 	at org.jgroups.util.Util.objectFromByteBuffer(Util.java:468)
      [Server:server-one] 	at org.jgroups.util.Util.objectFromByteBuffer(Util.java:446)
      [Server:server-one] 	at org.modeshape.jcr.bus.ClusteredRepositoryChangeBus.deserialize(ClusteredRepositoryChangeBus.java:271) [modeshape-jcr-3.2-SNAPSHOT.jar:3.2-SNAPSHOT]
      [Server:server-one] 	at org.modeshape.jcr.bus.ClusteredRepositoryChangeBus$Receiver.receive(ClusteredRepositoryChangeBus.java:289) [modeshape-jcr-3.2-SNAPSHOT.jar:3.2-SNAPSHOT]
      [Server:server-one] 	... 23 more
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rhauch Randall Hauch
                  Reporter:
                  clementp Clement Pang
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: