Rolling deployment fails when there is nonserializable objects in session
Issue
- When deploying a
.warusing the console, the.wardeploys but is not able to be enabled. - Have to bring all nodes down to update a deployment.
- The following error in the JBoss server log of the node where the
.waris being deployed:
"MSC000001: Failed to start service jboss.infinispan.web.default-host/abcde: org.jboss.msc.service.StartException in service jboss.infinispan.web.default-host/abcde: org.infinispan.CacheException: Unable to invoke method public void org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete() throws java.lang.InterruptedException on object of type State TransferManagerImpl
- The following error in the JBoss server log of the node(s) where the
.waris not being deployed:
org.infinispan.marshall.NotSerializableException: com.acme.dto.SomeDTO
java.io.NotActiveException: Fields were never written
Environment
- Red Hat JBoss Enterprise Application Platform
- Clustering with session replication enabled
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
