wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes ERROR::::javax.jms.IllegalStateException: Not allowed to use transacted session on routed queues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "ERROR::::javax.jms.IllegalStateException: Not allowed to use transacted session on routed queues" Watch "ERROR::::javax.jms.IllegalStateException: Not allowed to use transacted session on routed queues" New topic
Author

ERROR::::javax.jms.IllegalStateException: Not allowed to use transacted session on routed queues

ashiwini jekan
Greenhorn

Joined: Apr 30, 2012
Posts: 4
Hi,

We are getting the below error, when we are trying to connect with a XA session in routed queues. The server used is Websphere 7.1 and it is connecting to an EMS server. The same config was working when a single EMS server instance was used at the other end and it started giving error when more then one server instance was started being implemented.

[10/15/12 0:34:47:822 BST] 0000000a JMSExceptionL E WMSG0057E: Error on JMSConnection for MDB IMACSPOSProductLoadMDBUK , JMSDestination queue/EMS/Receiver/ProductCatalogue/UK , JMS Linked Exception : <null>
[10/15/12 0:34:47:823 BST] 0000000a MDBListenerIm I WMSG0043I: MDB Listener EMSProdCatListenerPortUK stopped for JMSDestination queue/EMS/Receiver/ProductCatalogue/UK
[10/15/12 0:34:47:825 BST] 0000000a MDBListenerIm I WMSG0058I: Listener Port EMSProdCatListenerPortUK will attempt to restart in 60 seconds
[10/15/12 0:34:47:836 BST] 0000000a MDBListenerIm W WMSG0019E: Unable to start MDB Listener IMACSPOSProductLoadMDBUK, JMSDestination queue/EMS/Receiver/ProductCatalogue/UK : javax.jms.IllegalStateException: Not allowed to use transacted session on routed queues
at com.tibco.tibjms.Tibjmsx.buildException(Tibjmsx.java:576)
at com.tibco.tibjms.TibjmsxSessionImp._createConsumer(TibjmsxSessionImp.java:448)
at com.tibco.tibjms.TibjmsConnectionConsumer._create(TibjmsConnectionConsumer.java:346)
at com.tibco.tibjms.TibjmsConnectionConsumer.<init>(TibjmsConnectionConsumer.java:394)
at com.tibco.tibjms.TibjmsConnection._createConnectionConsumer(TibjmsConnection.java:3120)
at com.tibco.tibjms.TibjmsConnection.createConnectionConsumer(TibjmsConnection.java:4282)
at com.tibco.tibjms.TibjmsXAQueueConnection.createConnectionConsumer(TibjmsXAQueueConnection.java:79)
at com.ibm.ejs.jms.JMSQueueConnectionHandle.createConnectionConsumer(JMSQueueConnectionHandle.java:146)
at com.ibm.ejs.jms.listener.MDBListenerImpl.createResources(MDBListenerImpl.java:556)
at com.ibm.ejs.jms.listener.MDBListenerImpl.internalStart(MDBListenerImpl.java:730)
at com.ibm.ejs.jms.listener.MDBListenerImpl.restart(MDBListenerImpl.java:703)
at com.ibm.ejs.jms.listener.MDBListenerImpl.alarm(MDBListenerImpl.java:1125)
at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:133)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)

Any inputs for this would be very helpful.
 
Consider Paul's rocket mass heater.
 
subject: ERROR::::javax.jms.IllegalStateException: Not allowed to use transacted session on routed queues
 
Similar Threads
Websphere 6.0 and Websphere MQ
Failed to open Queue using MDB in WSAD using MQ Simulator (MQJMS2008)
Unable to start MDB Listener SimpleMessage, JMSDestination jms/SimpleQueue
JMS Issue with WAS 5.1
Unable to lookup JMS resources NotFound in WAS