javax.jms.IllegalStateException: Method setExceptionListener not permitted

axis-java-dev | Andreas Veithen (JIRA) | 1 year 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

    [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)
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 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)
  4. 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)

    1 unregistered visitors
    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

      Method setExceptionListener not permitted

      at com.ibm.ejs.jms.JMSCMUtils.methodNotPermittedException()
    2. com.ibm.ejs
      JMSConnectionHandle.setExceptionListener
      1. com.ibm.ejs.jms.JMSCMUtils.methodNotPermittedException(JMSCMUtils.java:253)
      2. com.ibm.ejs.jms.JMSConnectionHandle.checkRestrictedMethod(JMSConnectionHandle.java:805)
      3. com.ibm.ejs.jms.JMSConnectionHandle.setExceptionListener(JMSConnectionHandle.java:323)
      3 frames
    3. Apache Axis2 - Transport - JMS
      ServiceTaskManager$MessageListenerTask.run
      1. org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.createConnection(ServiceTaskManager.java:794)
      2. org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.getConnection(ServiceTaskManager.java:673)
      3. org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.receiveMessage(ServiceTaskManager.java:472)
      4. org.apache.axis2.transport.jms.ServiceTaskManager$MessageListenerTask.run(ServiceTaskManager.java:405)
      4 frames
    4. Apache Axis2 - Transport - Base
      NativeWorkerPool$1.run
      1. org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:58)
      1 frame
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
      3. java.lang.Thread.run(Thread.java:810)
      3 frames