Thread Interrupt Triggers False Message In Regards To The JBoss Cache Manager Shutting Down

Solution Verified - Updated -

Issue

A thread interrupt can trigger a bogus error message about the cache manager being stopped. Note that the cache manager is not actually shutting down.

ISPN000136: Execution error: org.infinispan.CacheException: java.lang.RuntimeException: Failure to marshal argument(s)
    at org.infinispan.util.Util.rewrapAsCacheException(Util.java:542) [infinispan-core-5.2.7.Final-redhat-1.jar:5.2.7.Final-redhat-1]
    at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommand(CommandAwareRpcDispatcher.java:186) [infinispan-core-5.2.7.Final-redhat-1.jar:5.2.7.Final-redhat-1]
    at org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemotely(JGroupsTransport.java:515) [infinispan-core-5.2.7.Final-redhat-1.jar:5.2.7.Final-redhat-1]
    at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:169) [infinispan-core-5.2.7.Final-redhat-1.jar:5.2.7.Final-redhat-1]
    at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:190) [infinispan-core-5.2.7.Final-redhat-1.jar:5.2.7.Final-redhat-1]
    at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:247) [infinispan-core-5.2.7.Final-redhat-1.jar:5.2.7.Final-redhat-1]
    at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:234) [infinispan-core-5.2.7.Final-redhat-1.jar:5.2.7.Final-redhat-1]
    at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:229) [infinispan-core-5.2.7.Final-redhat-1.jar:5.2.7.Final-redhat-1]
    at org.infinispan.remoting.rpc.RpcManagerImpl.broadcastRpcCommand(RpcManagerImpl.java:208) [infinispan-core-5.2.7.Final-redhat-1.jar:5.2.7.Final-redhat-1]
    at org.infinispan.remoting.rpc.RpcManagerImpl.broadcastRpcCommand(RpcManagerImpl.java:200) [infinispan-core-5.2.7.Final-redhat-1.jar:5.2.7.Final-redhat-1]
...
Caused by: java.lang.RuntimeException: Failure to marshal argument(s)
    at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.marshallCall(CommandAwareRpcDispatcher.java:281) [infinispan-core-5.2.7.Final-redhat-1.jar:5.2.7.Final-redhat-1]
    at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.processSingleCall(CommandAwareRpcDispatcher.java:300) [infinispan-core-5.2.7.Final-redhat-1.jar:5.2.7.Final-redhat-1]
    at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommand(CommandAwareRpcDispatcher.java:179) [infinispan-core-5.2.7.Final-redhat-1.jar:5.2.7.Final-redhat-1]
    ... 116 more
Caused by: java.lang.InterruptedException: Cache manager is shutting down, so type write externalizer for type=java.lang.String cannot be resolved. Interruption being pushed up.
    at org.infinispan.marshall.jboss.ExternalizerTable.getObjectWriter(ExternalizerTable.java:186) [infinispan-core-5.2.7.Final-redhat-1.jar:5.2.7.Final-redhat-1]
    at org.infinispan.marshall.jboss.JBossMarshaller$ExternalizerTableProxy.getObjectWriter(JBossMarshaller.java:159) [infinispan-core-5.2.7.Final-redhat-1.jar:5.2.7.Final-redhat-1]
    at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:139)
    at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
    at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
    at org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:87) [infinispan-core-5.2.7.Final-redhat-1.jar:5.2.7.Final-redhat-1]
    at org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:72) [infinispan-core-5.2.7.Final-redhat-1.jar:5.2.7.Final-redhat-1]
    at org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:60) [infinispan-core-5.2.7.Final-redhat-1.jar:5.2.7.Final-redhat-1]
    at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:410) [infinispan-core-5.2.7.Final-redhat-1.jar:5.2.7.Final-redhat-1]
    at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
...
Caused by: an exception which occurred:
    in object java.lang.String@f95a1cd6
    in object org.infinispan.commands.write.PutKeyValueCommand@3b22bfdc
    in object org.infinispan.commands.remote.SingleRpcCommand@d648c3f4

Environment

Red Hat JBoss Enterprise Application Platform (EAP)

  • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In