[
https://issues.jboss.org/browse/WFLY-10021?page=com.atlassian.jira.plugin...
]
Paul Ferraro closed WFLY-10021.
-------------------------------
Resolution: Rejected
Looks to me like you are trying to store non-serializable objects within an infinispan
cache that is configured to passivate its contents on shutdown. Either your cache entries
need to be serializable, or you should remove the passivation store from its
configuration.
org.infinispan.persistence.spi.PersistenceException:
org.infinispan.commons.marshall.NotSerializableException:
com.rlogistics.rest.FormFillerUtil
-------------------------------------------------------------------------------------------------------------------------------------------------
Key: WFLY-10021
URL:
https://issues.jboss.org/browse/WFLY-10021
Project: WildFly
Issue Type: Feature Request
Components: Clustering
Environment: Server getting stuck and works after restarting the server.
Reporter: Anand Kumar
Assignee: Paul Ferraro
Priority: Major
05:49:20.273 [Thread-2] INFO org.jboss.as.server - WFLYSRV0220: Server shutdown has been
requested.
05:49:20.280 [MSC service thread 1-1] INFO o.j.a.c.subsystems.datasources - WFLYJCA0010:
Unbound data source [java:jboss/datasources/activitiDB]
05:49:20.282 [MSC service thread 1-3] INFO o.jboss.as.connector.deployers.jdbc -
WFLYJCA0019: Stopped Driver service with driver-name =
rlogistics-execution.war_org.h2.Driver_1_3
05:49:20.286 [ServerService Thread Pool -- 69] INFO org.wildfly.extension.undertow -
WFLYUT0022: Unregistered web context: /rlogistics-execution
05:49:20.316 [MSC service thread 1-1] INFO o.jboss.as.connector.deployers.jdbc -
WFLYJCA0019: Stopped Driver service with driver-name = mysql
05:49:20.350 [MSC service thread 1-3] INFO org.wildfly.extension.undertow - WFLYUT0019:
Host default-host stopping
05:49:20.352 [MSC service thread 1-3] INFO o.j.a.c.subsystems.datasources - WFLYJCA0010:
Unbound data source [java:jboss/datasources/ExampleDS]
05:49:20.353 [ServerService Thread Pool -- 71] INFO o.i.e.impl.PassivationManagerImpl -
ISPN000029: Passivating all entries to disk
05:49:20.367 [MSC service thread 1-1] INFO o.jboss.as.connector.deployers.jdbc -
WFLYJCA0019: Stopped Driver service with driver-name = h2
05:49:20.368 [MSC service thread 1-1] INFO com.arjuna.ats.jbossatx - ARJUNA032018:
Destroying TransactionManagerService
05:49:20.369 [MSC service thread 1-1] INFO com.arjuna.ats.jbossatx - ARJUNA032014:
Stopping transaction recovery manager
05:49:20.396 [ServerService Thread Pool -- 71] WARN o.i.factories.ComponentRegistry -
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.impl.PassivationManagerImpl.passivateAll() throws
org.infinispan.persistence.spi.PersistenceException on object of type
PassivationManagerImpl
at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:171)
~[infinispan-commons-7.2.3.Final.jar!/:7.2.3.Final]
at
org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869)
~[infinispan-core-7.2.3.Final.jar!/:7.2.3.Final]
at
org.infinispan.factories.AbstractComponentRegistry.internalStop(AbstractComponentRegistry.java:674)
~[na:na]
at
org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:552)
~[na:na]
at org.infinispan.factories.ComponentRegistry.stop(ComponentRegistry.java:243) ~[na:na]
at org.infinispan.cache.impl.CacheImpl.stop(CacheImpl.java:872)
[infinispan-core-7.2.3.Final.jar!/:7.2.3.Final]
at org.infinispan.cache.impl.CacheImpl.stop(CacheImpl.java:867)
[infinispan-core-7.2.3.Final.jar!/:7.2.3.Final]
at
org.infinispan.cache.impl.AbstractDelegatingCache.stop(AbstractDelegatingCache.java:332)
[infinispan-core-7.2.3.Final.jar!/:7.2.3.Final]
at org.wildfly.clustering.infinispan.spi.service.CacheBuilder.stop(CacheBuilder.java:87)
[wildfly-clustering-infinispan-spi-9.0.2.Final.jar!/:9.0.2.Final]
at
org.wildfly.clustering.service.AsynchronousServiceBuilder$2.run(AsynchronousServiceBuilder.java:130)
[wildfly-clustering-service-9.0.2.Final.jar!/:9.0.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[na:1.8.0_102]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_102]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_102]
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
[jboss-threads-2.2.0.Final.jar!/:2.2.0.Final]
Caused by: org.infinispan.persistence.spi.PersistenceException:
org.infinispan.persistence.spi.PersistenceException:
org.infinispan.commons.marshall.NotSerializableException:
com.rlogistics.rest.FormFillerUtil
at org.infinispan.persistence.file.SingleFileStore.write(SingleFileStore.java:370)
~[infinispan-core-7.2.3.Final.jar!/:7.2.3.Final]
at
org.infinispan.persistence.manager.PersistenceManagerImpl.writeToAllStores(PersistenceManagerImpl.java:462)
~[infinispan-core-7.2.3.Final.jar!/:7.2.3.Final]
at
org.infinispan.eviction.impl.PassivationManagerImpl.passivateAll(PassivationManagerImpl.java:104)
~[infinispan-core-7.2.3.Final.jar!/:7.2.3.Final]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_102]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
~[na:1.8.0_102]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.8.0_102]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_102]
at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168)
~[infinispan-commons-7.2.3.Final.jar!/:7.2.3.Final]
... 13 common frames omitted
Caused by: org.infinispan.persistence.spi.PersistenceException:
org.infinispan.commons.marshall.NotSerializableException:
com.rlogistics.rest.FormFillerUtil
at
org.infinispan.marshall.core.MarshalledEntryImpl.marshall(MarshalledEntryImpl.java:107)
~[infinispan-core-7.2.3.Final.jar!/:7.2.3.Final]
at
org.infinispan.marshall.core.MarshalledEntryImpl.getValueBytes(MarshalledEntryImpl.java:88)
~[infinispan-core-7.2.3.Final.jar!/:7.2.3.Final]
at org.infinispan.persistence.file.SingleFileStore.write(SingleFileStore.java:327)
~[infinispan-core-7.2.3.Final.jar!/:7.2.3.Final]
... 20 common frames omitted
Caused by: org.infinispan.commons.marshall.NotSerializableException:
com.rlogistics.rest.FormFillerUtil
Caused by: org.jboss.marshalling.TraceInformation: null
05:49:20.400 [ServerService Thread Pool -- 71] INFO org.jboss.as.clustering.infinispan -
WFLYCLINF0003: Stopped rlogistics-execution.war cache from web container
05:49:20.415 [MSC service thread 1-4] INFO org.wildfly.extension.undertow - WFLYUT0008:
Undertow HTTP listener default suspending
05:49:20.416 [MSC service thread 1-4] INFO org.wildfly.extension.undertow - WFLYUT0007:
Undertow HTTP listener default stopped, was bound to /0.0.0.0:9080
05:49:20.418 [MSC service thread 1-4] INFO org.wildfly.extension.undertow - WFLYUT0004:
Undertow 1.2.9.Final stopping
05:49:20.464 [MSC service thread 1-2] INFO org.jboss.as.server.deployment - WFLYSRV0028:
Stopped deployment rlogistics-execution.war (runtime-name: rlogistics-execution.war) in
171ms
05:49:20.469 [MSC service thread 1-2] INFO org.jboss.as - WFLYSRV0050: WildFly Full
9.0.2.Final (WildFly Core 1.0.2.Final) stopped in 175ms
JBoss Modules version 1.4.3.Final
--
This message was sent by Atlassian Jira
(v7.12.1#712002)