Announcement Announcement Module
Collapse
No announcement yet.
Spring+Glassfish+OpenMQ Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring+Glassfish+OpenMQ

    Hi,
    We're having a problem at work with Spring+OpenMQ+GlassFish where we're receiving this error message:"com.sun.messaging.jms.JMSException: MQRA:CA:createSession failed-Only one JMS Session allowed when managed connection is involved in a transaction at com.sun.messaging.jms.ra.ConnectionAdapter.createS ession(ConnectionAdapter.java:372) at..."

    Essentially, this is occuring in a thread spawned by a class instance invoked by a Spring MessageDrivenPojo. The thread is trying to open a JMS session to write to a queue separate from the queue the MDP is listening on.

    The error does not occur in a Junit4 test running with SpringJUnit4ClassRunner in Eclipse as a GlassFish JMS client. We wish to treat the JMS queue only as a persistence resource. The Junit test is run outside a Spring message listener container.

    Has anyone else run across this error message with Spring+OpenMQ+GlassFish? Has anyone else run across a similar problem? Does anyone know what causes this error in Spring+OpenMQ+GlassFish?
Working...
X