javax.jms.IllegalStateException: [C4059]: Cannot perform operation, session is closed. at com.sun.messaging.jmq.jmsclient.SessionImpl.checkSessionState( SessionImpl.java:1763) at com.sun.messaging.jmq.jmsclient.SessionImpl.createBytesMessage( SessionImpl.java:1792) at com.sun.messaging.jms.ra.SessionAdapter.createBytesMessage( SessionAdapter.java:169) at com.localmatters.flexiq.collector.producer.CollectorMessageHandler.createJmsMessages (CollectorMessageHandler.java:267) at com.localmatters.flexiq.collector.producer.ProducerWS.send( ProducerWS.java:305)

Oracle Community | 392 Guest | 10 years 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.
  1. 0

    Weird exception in JMS

    Oracle Community | 10 years ago | 392 Guest
    javax.jms.IllegalStateException: [C4059]: Cannot perform operation, session is closed. at com.sun.messaging.jmq.jmsclient.SessionImpl.checkSessionState( SessionImpl.java:1763) at com.sun.messaging.jmq.jmsclient.SessionImpl.createBytesMessage( SessionImpl.java:1792) at com.sun.messaging.jms.ra.SessionAdapter.createBytesMessage( SessionAdapter.java:169) at com.localmatters.flexiq.collector.producer.CollectorMessageHandler.createJmsMessages (CollectorMessageHandler.java:267) at com.localmatters.flexiq.collector.producer.ProducerWS.send( ProducerWS.java:305)

    Root Cause Analysis

    1. javax.jms.IllegalStateException

      [C4059]: Cannot perform operation, session is closed. at com.sun.messaging.jmq.jmsclient.SessionImpl.checkSessionState( SessionImpl.java:1763) at com.sun.messaging.jmq.jmsclient.SessionImpl.createBytesMessage( SessionImpl.java:1792) at com.sun.messaging.jms.ra.SessionAdapter.createBytesMessage( SessionAdapter.java:169) at com.localmatters.flexiq.collector.producer.CollectorMessageHandler.createJmsMessages (CollectorMessageHandler.java:267) at com.localmatters.flexiq.collector.producer.ProducerWS.send( ProducerWS.java:305)

      at sun.reflect.NativeMethodAccessorImpl.invoke0()
    2. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame