Rolling deployment fails when there is nonserializable objects in session

Solution Unverified - Updated -

Issue

  • When deploying a .war using the console, the .war deploys 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 .war is 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 .war is 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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content