Can the JBoss JAAS cache be distributed across a cluster?
Issue
- Can the JBoss JAAS cache be distributed across a cluster?
- While logging into application we see frequent occurrence of error as below
07:38:37,641 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (http-/10.10.10.10:8080-2) 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-bz-1013819.jar:5.2.7.Final-redhat-1]
at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommands(CommandAwareRpcDispatcher.java:153) [infinispan-core-5.2.7.Final-redhat-1-bz-1013819.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-bz-1013819.jar:5.2.7.Final-redhat-1]
...
...
Caused by: org.infinispan.marshall.NotSerializableException: javax.security.auth.login.LoginContext
Caused by: an exception which occurred:
in field loginContext
in object org.jboss.security.authentication.JBossCachedAuthenticationManager$DomainInfo@255a4e80
in object org.infinispan.commands.write.PutKeyValueCommand@41caa81b
in object org.infinispan.commands.tx.PrepareCommand@d9739d9f
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 4.x
- 5.x
- 6.x
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.
