javax.jms.IllegalStateException: Method setExceptionListener not permitted

axis-java-dev | Andreas Veithen (JIRA) | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

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