javax.jms.IllegalStateException

The Session is closed at org.apache.activemq.ActiveMQSession.checkClosed( ActiveMQSession.java:731) at org.apache.activemq.ActiveMQSession.getTransacted( ActiveMQSession.java:521) at org.apache.activemq.pool.PooledSession.getTransacted( PooledSession.java:256) at org.springframework.jms.listener.AbstractMessageListenerContain er.commitIfNecessary(AbstractMessageListenerContainer.java:571) at org.springframework.jms.listener.AbstractMessageListenerContain er.doExecuteListener(AbstractMessageListenerContainer.java:481) at org.springframework.jms.listener.AbstractPollingMessageListener Container.doReceiveAndExecute(AbstractPollingMessageListener Container.java:325) at org.springframework.jms.listener.AbstractPollingMessageListener Container.receiveAndExecute(AbstractPollingMessageListener Container.java:263) at org.springframework.jms.listener.DefaultMessageListenerContaine r$AsyncMessageListenerInvoker.invokeListener( DefaultMessageListenerContainer.java:1058) at org.springframework.jms.listener.DefaultMessageListenerContaine r$AsyncMessageListenerInvoker.executeOngoingLoop( DefaultMessageListenerContainer.java:1050) at org.springframework.jms.listener.DefaultMessageListenerContaine r$AsyncMessageListenerInvoker.run(DefaultMessageListenerContaine r.java:947) at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run( ThreadPoolExecutor.java:615)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web172

  • via incubator-uima-user by Lou DeGenaro, 9 months ago
    org.springframework.jms.listener.DefaultMessageListenerContaine r$AsyncMessageListenerInvoker.run(DefaultMessageListenerContaine r.java:947) at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run( ThreadPoolExecutor.java:615)
  • via uima-user by Satya Nand Kanodia, 9 months ago
    org.springframework.jms.listener.DefaultMessageListenerContaine r$AsyncMessageListenerInvoker.run(DefaultMessageListenerContaine r.java:947) at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run( ThreadPoolExecutor.java:615)
  • via uima-user by Lou DeGenaro, 9 months ago
    org.springframework.jms.listener.DefaultMessageListenerContaine r$AsyncMessageListenerInvoker.run(DefaultMessageListenerContaine r.java:947) at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run( ThreadPoolExecutor.java:615)
  • Stack trace

    • javax.jms.IllegalStateException: The Session is closed at org.apache.activemq.ActiveMQSession.checkClosed( ActiveMQSession.java:731) at org.apache.activemq.ActiveMQSession.getTransacted( ActiveMQSession.java:521) at org.apache.activemq.pool.PooledSession.getTransacted( PooledSession.java:256) at org.springframework.jms.listener.AbstractMessageListenerContain er.commitIfNecessary(AbstractMessageListenerContainer.java:571) at org.springframework.jms.listener.AbstractMessageListenerContain er.doExecuteListener(AbstractMessageListenerContainer.java:481) at org.springframework.jms.listener.AbstractPollingMessageListener Container.doReceiveAndExecute(AbstractPollingMessageListener Container.java:325) at org.springframework.jms.listener.AbstractPollingMessageListener Container.receiveAndExecute(AbstractPollingMessageListener Container.java:263) at org.springframework.jms.listener.DefaultMessageListenerContaine r$AsyncMessageListenerInvoker.invokeListener( DefaultMessageListenerContainer.java:1058) at org.springframework.jms.listener.DefaultMessageListenerContaine r$AsyncMessageListenerInvoker.executeOngoingLoop( DefaultMessageListenerContainer.java:1050) at org.springframework.jms.listener.DefaultMessageListenerContaine r$AsyncMessageListenerInvoker.run(DefaultMessageListenerContaine r.java:947) at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run( ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.