javax.jms.IllegalStateRuntimeException: AMQ119019: Session is closed:
Issue
The following exception can be seen sporadically in EAP server log file when running an application that uses Artemis Resource Adapter:
Caused by: javax.jms.IllegalStateException: AMQ119019: Session is closed
at org.apache.activemq.artemis.core.client.impl.ClientSessionImpl.checkClosed(ClientSessionImpl.java:1638)
at org.apache.activemq.artemis.core.client.impl.ClientSessionImpl.internalCreateProducer(ClientSessionImpl.java:1600)
at org.apache.activemq.artemis.core.client.impl.ClientSessionImpl.createProducer(ClientSessionImpl.java:466)
at org.apache.activemq.artemis.core.client.impl.ClientSessionImpl.createProducer(ClientSessionImpl.java:456)
at org.apache.activemq.artemis.jms.client.ActiveMQSession.createProducer(ActiveMQSession.java:300)
at org.apache.activemq.artemis.ra.ActiveMQRASession.createProducer(ActiveMQRASession.java:1065)
at org.apache.activemq.artemis.jms.client.ActiveMQJMSContext.getInnerProducer(ActiveMQJMSContext.java:122)
at org.apache.activemq.artemis.jms.client.ActiveMQJMSContext.createProducer(ActiveMQJMSContext.java:113)
... 116 more
Caused by: ActiveMQObjectClosedException[errorType=OBJECT_CLOSED message=AMQ119019: Session is closed]
Environment
- Red Hat JBoss Enterprise Application Platform
- 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.