[infinispan-issues] [JBoss JIRA] (ISPN-1981) NotSerializableException: org.infinispan.loaders.bucket.Bucket

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Tue Apr 17 04:00:20 EDT 2012


    [ https://issues.jboss.org/browse/ISPN-1981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12684792#comment-12684792 ] 

Galder Zamarreño edited comment on ISPN-1981 at 4/17/12 3:59 AM:
-----------------------------------------------------------------

This is a bit odd. Seems like JGroupsTransport, which is a global, cache manager level component, is being stopped before all caches have been stopped:
{code}[JBossINF] 18:01:15,476 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-14-thread-2) 
ISPN000082: Stopping the RpcDispatcher{code}

The result of that is most likely that the global marshaller, and associated externalizer table, are stopped too (since JGroupsTransport is being stopped), and once the externalizer has been cleared, no externalizer can be resolved any more, hence Bucket's externalizer is not found and the NotSerializableException is thrown.

@Paul should be able to clarify how come the cache manager appears to be stopped here.

@Rado, if you can replicate this easily, can you generate TRACE on org.infinispan and org.jboss.as.clustering.infinispan packages?
                
      was (Author: galder.zamarreno):
    This is a bit odd. Seems like JGroupsTransport, which is a global, cache manager level component, is being stopped before all caches have been stopped:
{code}[JBossINF] 18:01:15,476 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-14-thread-2) ISPN000082: Stopping the RpcDispatcher{code}

The result of that is most likely that the global marshaller, and associated externalizer table, are stopped too (since JGroupsTransport is being stopped), and once the externalizer has been cleared, no externalizer can be resolved any more, hence Bucket's externalizer is not found and the NotSerializableException is thrown.

@Paul should be able to clarify how come the cache manager appears to be stopped here.

@Rado, if you can replicate this easily, can you generate TRACE on org.infinispan and org.jboss.as.clustering.infinispan packages?
                  
> NotSerializableException: org.infinispan.loaders.bucket.Bucket
> --------------------------------------------------------------
>
>                 Key: ISPN-1981
>                 URL: https://issues.jboss.org/browse/ISPN-1981
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Loaders and Stores, Marshalling
>    Affects Versions: 5.1.3.FINAL
>            Reporter: Radoslav Husar
>            Assignee: Galder Zamarreño
>            Priority: Blocker
>             Fix For: 5.1.4.FINAL
>
>
> We are seeing this in AS7, the cause being down in Infinispan. 
> The test case is just undeploying application from one node in the cluster which application is still being accessed by remote ejb clients. Upstream Jira is JBPAPP-8696.
> {noformat}
> [JBossINF] 18:01:15,248 INFO  [org.jboss.as.osgi] (MSC service thread 1-2) JBAS011943: Unregister module: Module "deployment.clusterbench-ee6.ear.clusterbench-ee6-ejb.jar:main" from Service Module Loader
> [JBossINF] 18:01:15,249 INFO  [org.jboss.as.osgi] (MSC service thread 1-8) JBAS011943: Unregister module: Module "deployment.clusterbench-ee6.ear:main" from Service Module Loader
> [JBossINF] 18:01:15,253 INFO  [org.infinispan.eviction.PassivationManagerImpl] (MSC service thread 1-15) ISPN000029: Passivating all entries to disk
> [JBossINF] 18:01:15,249 INFO  [org.jboss.as.osgi] (MSC service thread 1-6) JBAS011943: Unregister module: Module "deployment.clusterbench-ee6.ear.clusterbench-ee6-web.war:main" from Service Module Loader
> [JBossINF] 18:01:15,255 INFO  [org.infinispan.eviction.PassivationManagerImpl] (MSC service thread 1-15) ISPN000030: Passivated 0 entries in 2 milliseconds
> [JBossINF] 18:01:15,269 INFO  [org.infinispan.eviction.PassivationManagerImpl] (MSC service thread 1-9) ISPN000029: Passivating all entries to disk
> [JBossINF] 18:01:15,273 INFO  [org.infinispan.eviction.PassivationManagerImpl] (MSC service thread 1-8) ISPN000029: Passivating all entries to disk
> [JBossINF] 18:01:15,270 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-15) JBAS010282: Stopped org.jboss.test.clusterbench.ejb.stateful.LocalStatefulSB cache from ejb container
> [JBossINF] 18:01:15,275 INFO  [org.infinispan.eviction.PassivationManagerImpl] (MSC service thread 1-8) ISPN000030: Passivated 0 entries in 1 milliseconds
> [JBossINF] 18:01:15,296 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-8) JBAS010282: Stopped //default-host//clusterbench cache from web container
> [JBossINF] 18:01:15,303 INFO  [org.jboss.weld.deployer] (MSC service thread 1-10) JBAS016009: Stopping weld service for deployment clusterbench-ee6.ear
> [JBossINF] 18:01:15,311 INFO  [org.infinispan.eviction.PassivationManagerImpl] (pool-20-thread-2) ISPN000029: Passivating all entries to disk
> [JBossINF] 18:01:15,313 INFO  [org.infinispan.eviction.PassivationManagerImpl] (pool-20-thread-2) ISPN000030: Passivated 0 entries in 1 milliseconds
> [JBossINF] 18:01:15,314 INFO  [org.infinispan.eviction.PassivationManagerImpl] (pool-15-thread-2) ISPN000029: Passivating all entries to disk
> [JBossINF] 18:01:15,317 INFO  [org.jboss.as.clustering.infinispan] (pool-20-thread-2) JBAS010282: Stopped repl cache from ejb container
> [JBossINF] 18:01:15,326 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-16) JBAS015877: Stopped deployment clusterbench-ee6-ejb.jar in 82ms
> [JBossINF] 18:01:15,328 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-12) JBAS015877: Stopped deployment clusterbench-ee6-web.war in 84ms
> [JBossINF] 18:01:15,328 INFO  [org.jboss.as.clustering.infinispan] (pool-21-thread-2) JBAS010282: Stopped remote-connector-client-mappings cache from ejb container
> [JBossINF] 18:01:15,330 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015877: Stopped deployment clusterbench-ee6.ear in 88ms
> [JBossINF] 18:01:15,352 INFO  [org.infinispan.eviction.PassivationManagerImpl] (pool-15-thread-2) ISPN000030: Passivated 3 entries in 37 milliseconds
> [JBossINF] 18:01:15,354 INFO  [org.jboss.as.clustering.infinispan] (pool-15-thread-2) JBAS010282: Stopped repl cache from web container
> [JBossINF] 18:01:15,476 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-14-thread-2) ISPN000082: Stopping the RpcDispatcher
> [JBossINF] 18:01:15,498 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-19-thread-2) ISPN000082: Stopping the RpcDispatcher
> [JBossINF] 18:01:15,523 WARN  [org.jboss.msc.service.fail] (MSC service thread 1-9) MSC000004: Failure during stop of service jboss.deployment.subunit."clusterbench-ee6.ear"."clusterbench-ee6-ejb.jar".component.RemoteStatefulSBImpl.START: org.infinispan.CacheException: Unable to invoke method public void org.infinispan.eviction.PassivationManagerImpl.passivateAll() throws org.infinispan.loaders.CacheLoaderException on object of type PassivationManagerImpl
> [JBossINF] 	at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:238)
> [JBossINF] 	at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:882)
> [JBossINF] 	at org.infinispan.factories.AbstractComponentRegistry.internalStop(AbstractComponentRegistry.java:672)
> [JBossINF] 	at org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:551)
> [JBossINF] 	at org.infinispan.factories.ComponentRegistry.stop(ComponentRegistry.java:198)
> [JBossINF] 	at org.infinispan.CacheImpl.stop(CacheImpl.java:516)
> [JBossINF] 	at org.infinispan.CacheImpl.stop(CacheImpl.java:508)
> [JBossINF] 	at org.infinispan.AbstractDelegatingCache.stop(AbstractDelegatingCache.java:291)
> [JBossINF] 	at org.jboss.as.clustering.ejb3.cache.backing.infinispan.InfinispanBackingCacheEntryStore.stop(InfinispanBackingCacheEntryStore.java:107)
> [JBossINF] 	at org.jboss.as.ejb3.cache.impl.backing.SerializationGroupMemberContainer.stop(SerializationGroupMemberContainer.java:308)
> [JBossINF] 	at org.jboss.as.ejb3.cache.impl.backing.PassivatingBackingCacheImpl.stop(PassivatingBackingCacheImpl.java:315)
> [JBossINF] 	at org.jboss.as.ejb3.cache.spi.impl.AbstractCache.stop(AbstractCache.java:102)
> [JBossINF] 	at org.jboss.as.ejb3.component.stateful.StatefulSessionComponent.stop(StatefulSessionComponent.java:306)
> [JBossINF] 	at org.jboss.as.ee.component.ComponentStartService.stop(ComponentStartService.java:49)
> [JBossINF] 	at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1911) [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]
> [JBossINF] 	at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:1874) [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]
> [JBossINF] 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_30]
> [JBossINF] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_30]
> [JBossINF] 	at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_30]
> [JBossINF] Caused by: org.infinispan.marshall.NotSerializableException: org.infinispan.loaders.bucket.Bucket
> [JBossINF] Caused by: an exception which occurred:
> [JBossINF] 	in object org.infinispan.loaders.bucket.Bucket at 40a995c5
> [JBossINF] 
> [JBossINF] 18:01:15,916 INFO  [org.jboss.as.server] (management-handler-thread - 1) JBAS018558: Undeployed "clusterbench-ee6.ear"
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list