2 Replies Latest reply on Oct 14, 2005 3:35 PM by Vignesh C K

    javax.jms.IllegalStateException: Session is closed.

    Vignesh C K Newbie

      Iam using JBoss 4.0.2 and reading from a queue.
      the "onMessage()" seems to work, once that is done, the client is trying to acknowledge the server.
      Thats where i get this error.

      2005-10-14 11:27:18,227|MessageListenerThread - TPTP_IN_QUEUE|WARN|org.jboss.mq.SpyMessageConsumer|Message consumer closing due to error in listening thread.
      javax.jms.IllegalStateException: Session is closed.
      at org.jboss.mq.SpyMessage.doAcknowledge(SpyMessage.java:319)
      at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:728)
      at java.lang.Thread.run(Thread.java:595)

      Your help is appreciated.