JMS operation results in "IllegalStateException: The object is closed" in JBoss EAP

Solution Unverified - Updated -

Issue

  • We have two servers in our environment which communicate via JMS.  When one of the servers is restarted we see this error on the other server ad infinitum:
javax.jms.IllegalStateException: The object is closed  
        at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:159)  
        at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)  
        at org.jboss.jms.client.delegate.ClientSessionDelegate.createMapMessage(ClientSessionDelegate.java)                                                      
        at org.jboss.jms.client.JBossSession.createMapMessage(JBossSession.java:119)                                                                             
        at com.Foo.sendOutBidNotification(Foo.java:701)

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 4.3
    • 5.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
Close

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