Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8018

ClassNotFoundException (jboss marshalling) during application deployment in embedded mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • None
    • None

      If an application war or ear is re-deployed the logfile is exhausted with ClassNotFoundExceptions

      SEVERE [org.jgroups.blocks.RequestCorrelator] (OOB-4,jboss9049-57857) failed unmarshalling buffer into return value: java.lang.ClassNotFoundException: org.jboss
      .marshalling.TraceInformation from [Module "deployment.udm-core-42.0.0.37.ear.jaxws-udm-2.0.war:main" from Service Module Loader]
      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) [jboss-modules.jar:1.3.7.Final-redhat-1]
      at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.7.Final-redhat-1]
      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.7.Final-redhat-1]
      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.7.Final-redhat-1]
      at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.7.Final-redhat-1]
      at java.lang.Class.forName0(Native Method) [rt.jar:1.7.0_131]
      at java.lang.Class.forName(Class.java:278) [rt.jar:1.7.0_131]
      at org.jboss.marshalling.AbstractClassResolver.loadClass(AbstractClassResolver.java:131)
      at org.jboss.marshalling.AbstractClassResolver.resolveClass(AbstractClassResolver.java:112)
      at org.jboss.marshalling.river.RiverUnmarshaller.doReadClassDescriptor(RiverUnmarshaller.java:948)
      at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1255)
      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:276)
      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:224)
      at org.jboss.marshalling.river.RiverUnmarshaller.readFields(RiverUnmarshaller.java:1745)
      at org.jboss.marshalling.river.RiverObjectInputStream.defaultReadObject(RiverObjectInputStream.java:81)
      at java.lang.Throwable.readObject(Throwable.java:914) [rt.jar:1.7.0_131]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_131]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_131]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_131]
      at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_131]
      at org.jboss.marshalling.reflect.SerializableClass.callReadObject(SerializableClass.java:307)
      at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1637)
      at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1606)
      at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1606)
      at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1606)
      at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1285)
      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:276)
      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:224)
      at org.jboss.marshalling.river.RiverUnmarshaller.readFields(RiverUnmarshaller.java:1745)
      at org.jboss.marshalling.river.RiverObjectInputStream.defaultReadObject(RiverObjectInputStream.java:81)
      at java.lang.Throwable.readObject(Throwable.java:914) [rt.jar:1.7.0_131]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_131]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_131]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_131]
      at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_131]
      at org.jboss.marshalling.reflect.SerializableClass.callReadObject(SerializableClass.java:307)
      at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1637)
      at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1606)
      at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1606)
      at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1606)
      at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1285)
      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:276)
      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)
      at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:41)
      at org.infinispan.remoting.responses.ExceptionResponse$Externalizer.readObject(ExceptionResponse.java:44) [infinispan-core-6.4.1.Final-redhat-1.jar:6.4.1.Final-redhat-1]
      at org.infinispan.remoting.responses.ExceptionResponse$Externalizer.readObject(ExceptionResponse.java:36) [infinispan-core-6.4.1.Final-redhat-1.jar:6.4.1.Final-redhat-1]
      at org.infinispan.marshall.core.ExternalizerTable$ExternalizerAdapter.readObject(ExternalizerTable.java:442) [infinispan-core-6.4.1.Final-redhat-1.jar:6.4.1.Final-redhat-1]
      at org.infinispan.marshall.core.ExternalizerTable.readObject(ExternalizerTable.java:230) [infinispan-core-6.4.1.Final-redhat-1.jar:6.4.1.Final-redhat-1]
      at org.infinispan.marshall.core.JBossMarshaller$ExternalizerTableProxy.readObject(JBossMarshaller.java:149) [infinispan-core-6.4.1.Final-redhat-1.jar:6.4.1.Final-redhat-1]
      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:354)
      at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)
      at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:41)
      at org.infinispan.commons.marshall.jboss.AbstractJBossMarshaller.objectFromObjectStream(AbstractJBossMarshaller.java:135) [infinispan-commons-6.4.1.Final-redhat-1.jar:6.4.1.Final-redhat-1]
      at org.infinispan.marshall.core.VersionAwareMarshaller.objectFromByteBuffer(VersionAwareMarshaller.java:106) [infinispan-core-6.4.1.Final-redhat-1.jar:6.4.1.Final-redhat-1]
      at org.infinispan.commons.marshall.AbstractDelegatingMarshaller.objectFromByteBuffer(AbstractDelegatingMarshaller.java:80) [infinispan-commons-6.4.1.Final-redhat-1.jar:6.4.1.Final-redhat-1]
      at org.infinispan.remoting.transport.jgroups.MarshallerAdapter.objectFromBuffer(MarshallerAdapter.java:28) [infinispan-core-6.4.1.Final-redhat-1.jar:6.4.1.Final-redhat-1]
      at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:390)
      at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:250)
      at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:675)
      at org.jgroups.JChannel.up(JChannel.java:739)
      at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:1029)
      at org.jgroups.protocols.FRAG2.up(FRAG2.java:165)
      at org.jgroups.protocols.FlowControl.up(FlowControl.java:394)
      at org.jgroups.protocols.pbcast.GMS.up(GMS.java:1045)
      at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:234)
      at org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1064)
      at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:779)
      at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:426)
      at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:652)
      at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:155)
      at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:200)
      at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:299)
      at org.jgroups.protocols.MERGE3.up(MERGE3.java:286)
      at org.jgroups.protocols.Discovery.up(Discovery.java:291)
      at org.jgroups.protocols.TP.passMessageUp(TP.java:1577)
      at org.jgroups.protocols.TP$MyHandler.run(TP.java:1796)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_131]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_131]
      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_131]

      ERROR [org.infinispan.persistence.file.SingleFileStore] (transport-thread-314) ISPN000252: Error executing parallel store task: org.infinispan.persistence.spi.P
      ersistenceException: java.nio.channels.ClosedChannelException
      at org.infinispan.persistence.file.SingleFileStore._load(SingleFileStore.java:470) [infinispan-core-6.4.1.Final-redhat-1.jar:6.4.1.Final-redhat-1]
      at org.infinispan.persistence.file.SingleFileStore.access$600(SingleFileStore.java:70) [infinispan-core-6.4.1.Final-redhat-1.jar:6.4.1.Final-redhat-1]
      at org.infinispan.persistence.file.SingleFileStore$2.call(SingleFileStore.java:523) [infinispan-core-6.4.1.Final-redhat-1.jar:6.4.1.Final-redhat-1]
      at org.infinispan.persistence.file.SingleFileStore$2.call(SingleFileStore.java:519) [infinispan-core-6.4.1.Final-redhat-1.jar:6.4.1.Final-redhat-1]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_131]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:473) [rt.jar:1.7.0_131]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_131]
      at org.infinispan.util.concurrent.WithinThreadExecutor.execute(WithinThreadExecutor.java:22) [infinispan-core-6.4.1.Final-redhat-1.jar:6.4.1.Final-redhat-1]
      at java.util.concurrent.ExecutorCompletionService.submit(ExecutorCompletionService.java:181) [rt.jar:1.7.0_131]
      at org.infinispan.executors.ExecutorAllCompletionService.submit(ExecutorAllCompletionService.java:31) [infinispan-core-6.4.1.Final-redhat-1.jar:6.4.1.Final-redhat-1]
      at org.infinispan.persistence.file.SingleFileStore.process(SingleFileStore.java:519) [infinispan-core-6.4.1.Final-redhat-1.jar:6.4.1.Final-redhat-1]
      at org.infinispan.persistence.async.AdvancedAsyncCacheLoader.loadAllKeys(AdvancedAsyncCacheLoader.java:44) [infinispan-core-6.4.1.Final-redhat-1.jar:6.4.1.Final-redhat-1]
      at org.infinispan.persistence.async.AdvancedAsyncCacheLoader.process(AdvancedAsyncCacheLoader.java:79) [infinispan-core-6.4.1.Final-redhat-1.jar:6.4.1.Final-redhat-1]
      at org.infinispan.statetransfer.OutboundTransferTask.run(OutboundTransferTask.java:171) [infinispan-core-6.4.1.Final-redhat-1.jar:6.4.1.Final-redhat-1]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:473) [rt.jar:1.7.0_131]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_131]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:473) [rt.jar:1.7.0_131]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_131]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_131]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_131]
      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_131]
      Caused by: java.nio.channels.ClosedChannelException
      at sun.nio.ch.FileChannelImpl.ensureOpen(FileChannelImpl.java:99) [rt.jar:1.7.0_131]
      at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:711) [rt.jar:1.7.0_131]
      at org.infinispan.persistence.file.SingleFileStore._load(SingleFileStore.java:468) [infinispan-core-6.4.1.Final-redhat-1.jar:6.4.1.Final-redhat-1]
      ... 20 more

              Unassigned Unassigned
              rhn-support-wfink Wolf Fink
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: