Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-2282

SFSB serialization fails if containing EntityManager or EntityManagerFactory field w/2LC enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 8.0.0.Beta1
    • JPA / Hibernate
    • None

      2013-10-10 15:03:46,636 WARN [org.infinispan.factories.ComponentRegistry] (MSC service thread 1-3) ISPN000189: While stopping a cache or cache manager, one of its components failed to stop: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.eviction.PassivationManagerImpl.passivateAll() throws org.infinispan.persistence.CacheLoaderException on object of type PassivationManagerImpl
      at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:185)
      at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869)
      at org.infinispan.factories.AbstractComponentRegistry.internalStop(AbstractComponentRegistry.java:674)
      at org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:552)
      at org.infinispan.factories.ComponentRegistry.stop(ComponentRegistry.java:241)
      at org.infinispan.CacheImpl.stop(CacheImpl.java:690)
      at org.infinispan.CacheImpl.stop(CacheImpl.java:685)
      at org.infinispan.AbstractDelegatingCache.stop(AbstractDelegatingCache.java:316)
      at org.jboss.as.clustering.infinispan.subsystem.CacheService.stop(CacheService.java:96)
      at org.jboss.as.clustering.msc.AsynchronousService.stop(AsynchronousService.java:114) [wildfly-clustering-common-8.0.0.Beta2-SNAPSHOT.jar:8.0.0.Beta2-SNAPSHOT]
      at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2052) [jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
      at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2013) [jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]
      at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
      Caused by: org.infinispan.persistence.CacheLoaderException: org.infinispan.persistence.CacheLoaderException: org.infinispan.commons.marshall.NotSerializableException: org.jboss.as.clustering.infinispan.DefaultCacheContainer
      at org.infinispan.persistence.file.SingleFileStore.write(SingleFileStore.java:297)
      at org.infinispan.persistence.manager.PersistenceManagerImpl.writeToAllStores(PersistenceManagerImpl.java:430)
      at org.infinispan.eviction.PassivationManagerImpl.passivateAll(PassivationManagerImpl.java:98)
      at sun.reflect.GeneratedMethodAccessor152.invoke(Unknown Source) [:1.7.0_25]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_25]
      at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_25]
      at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:183)
      ... 14 more
      Caused by: org.infinispan.persistence.CacheLoaderException: org.infinispan.commons.marshall.NotSerializableException: org.jboss.as.clustering.infinispan.DefaultCacheContainer
      at org.infinispan.marshall.core.MarshalledEntryImpl.marshall(MarshalledEntryImpl.java:107)
      at org.infinispan.marshall.core.MarshalledEntryImpl.getValueBytes(MarshalledEntryImpl.java:88)
      at org.infinispan.persistence.file.SingleFileStore.write(SingleFileStore.java:260)
      ... 20 more
      Caused by: org.infinispan.commons.marshall.NotSerializableException: org.jboss.as.clustering.infinispan.DefaultCacheContainer
      Caused by: an exception which occurred:
      in field container
      in field instance
      in field instance
      in object java.util.HashMap@208cab3b
      in object org.jboss.as.clustering.marshalling.SimpleMarshalledValue@208cab3b

              smarlow1@redhat.com Scott Marlow
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: