javax.jms.IllegalStateException: Not a transacted session

Stack Overflow | Greg Fullard | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    EJB 3 + JMS and transaction

    Stack Overflow | 2 years ago | Clément
    javax.jms.IllegalStateException: Not a transacted session
  2. 0

    [ActiveMQ-users] javax.jms.IllegalStateException: The producer is closed - Grokbase

    grokbase.com | 1 year ago
    javax.jms.IllegalStateException: The producer is closed at org.apache.activemq.ActiveMQMessageProducer.checkClosed(ActiveMQMessageProducer.java:333) at org.apache.activemq.ActiveMQMessageProducer.getDestination(ActiveMQMessageProducer.java:297) at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:356) ... at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:840) at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:96) at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:165) at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:111) at org.apache.activemq.thread.PooledTaskRunner.access$100(PooledTaskRunner.java:26) at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:44) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Exception: Jms Session is closed - Toolbox for IT Groups

    ittoolbox.com | 1 year ago
    javax.jms.IllegalStateException: The session is closed at com.stc.jms.client.TxMgtStrategy.getSessionImpl(Tx MgtStrategy.ja va:123) at com.stc.jms.client.TxMgtXA.onMsgConsumed(TxMgtXA.j ava:164) at com.stc.jms.client.SessionImpl.processAsyncDataAva ilable(Session Impl.java:1666) at com.stc.jms.client.SessionImpl.processAsync(Sessio nImpl.java:174 8) at com.stc.jms.client.SessionImpl.asyncEnter(SessionI mpl.java:1776) at com.stc.jms.client.SessionImpl.access$500(SessionI mpl.java:56) at com.stc.jms.client.SessionImpl$1.run(SessionImpl.j ava:1554) at com.stc.jms.client.SessionImpl$2.run(SessionImpl.j ava:1807)
  5. 0

    Spring JMS Issue : javax.jms.IllegalStateException: Session closed - Spring Forum

    spring.io | 1 year ago
    javax.jms.IllegalStateException: Session closed at com.ibm.ejs.jms.JMSSessionHandle.getOpenSession(JM SSessionHandle.java:1231) at com.ibm.ejs.jms.JMSSessionHandle.getOpenUnifiedSes sion(JMSSessionHandle.java:1268) at com.ibm.ejs.jms.JMSSessionHandle.getTransacted(JMS SessionHandle.java:600) at org.springframework.jms.listener.AbstractMessageLi stenerContainer.commitIfNecessary(AbstractMessageL istenerContainer.java:554) at org.springframework.jms.listener.AbstractMessageLi stenerContainer.doExecuteListener(AbstractMessageL istenerContainer.java:465) at org.springframework.jms.listener.AbstractPollingMe ssageListenerContainer.doReceiveAndExecute(Abstrac tPollingMessageListenerContainer.java:323) at org.springframework.jms.listener.AbstractPollingMe ssageListenerContainer.receiveAndExecute(AbstractP ollingMessageListenerContainer.java:261) at org.springframework.jms.listener.DefaultMessageLis tenerContainer$AsyncMessageListenerInvoker.invokeL istener(DefaultMessageListenerContainer.java:982) at org.springframework.jms.listener.DefaultMessageLis tenerContainer$AsyncMessageListenerInvoker.execute OngoingLoop(DefaultMessageListenerContainer.java:9 74) at org.springframework.jms.listener.DefaultMessageLis tenerContainer$AsyncMessageListenerInvoker.run(Def aultMessageListenerContainer.java:876)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.jms.IllegalStateException

      Not a transacted session

      at org.apache.activemq.ActiveMQSession.commit()
    2. ActiveMQ :: Core
      ActiveMQSession.commit
      1. org.apache.activemq.ActiveMQSession.commit(ActiveMQSession.java:577)
      1 frame
    3. ActiveMQ :: RA
      ManagedSessionProxy.commit
      1. org.apache.activemq.ra.ManagedSessionProxy.commit(ManagedSessionProxy.java:108)
      1 frame
    4. org.apache.activemq
      JMSBridgeImpl$BatchTimeChecker.run
      1. org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.sendBatchNonTransacted(JMSBridgeImpl.java:1291)
      2. org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.sendBatch(JMSBridgeImpl.java:1251)
      3. org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.access$1500(JMSBridgeImpl.java:75)
      4. org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl$BatchTimeChecker.run(JMSBridgeImpl.java:1794)
      4 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames