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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content