"Cannot find session" error when JMS singleton master switches in JBoss EAP
Issue
We are using JBoss Messaging in an HA-Singleton configuration. When the master node fails and a new one takes over we see this exception on the new master:
{WorkerThread#41[10.11.134.29:1604]} [org.jboss.messaging.util.ExceptionUtil] [ERROR] ConnectionEndpoint[fp-822ezd7g-1-50giyd7g-frgqgt-y1f5ba] sendTransaction [8c1-jyinzd7g-1-50giyd7g-frgqgt-y1f5ba]
javax.jms.IllegalStateException: Cannot find session with id rs-b25ezd7g-1-50giyd7g-frgqgt-y1f5ba
at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.processTransaction(ServerConnectionEndpoint.java:849)
at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:500)
...
Environment
- JBoss Enterprise Application Platform (EAP) 4.3
- JBoss Enterprise Application Platform (EAP) 5.2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.