0 Replies Latest reply on May 26, 2005 10:28 AM by Yong Woo

    JMS transaction problem

    Yong Woo Newbie

      Hi,
      In my program, I try to use XAconnectionFactory connect to two destinations on Jboss. Exception came out when processing messages. The following is stack trace. Any idea for this? Thanks!
      --------------------------------
      org.jboss.mq.SpyJMSException: Cannot receive ; - nested throwable: (java.io.IOException: Client is not connected)
      org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66)
      org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:51)
      org.jboss.mq.Connection.receive(Connection.java:916)
      org.jboss.mq.SpyMessageConsumer.receiveNoWait(SpyMessageConsumer.java:506)
      javax.jms.JMSException: Another thread is already in receive.
      org.jboss.mq.SpyMessageConsumer.receiveNoWait(SpyMessageConsumer.java:477)