"Cannot find session" error when JMS singleton master switches in JBoss EAP

Solution Unverified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.