Posted: Thu Feb 02, 2006 4:33 am Post subject: Jboss MDB and WebsphereMQ 6
Newbie
Joined: 24 Jan 2006 Posts: 1
Using a session bean i can transactionally put and get messages from a local queue using MQ's JMS implementation. However when i try to use a JBoss Message Driven Bean to access the same queue I get an MQJMS2002 exception. Has anyone encountered this before? I am running on linux.
javax.jms.JMSException: MQJMS2002: failed to get message from MQ queue
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:567)
at com.ibm.mq.jms.MQSession.consume(MQSession.java:3113)
at com.ibm.mq.jms.MQSession.run(MQSession.java:1612)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
at java.lang.Thread.run(Thread.java:567)
I'd say it has obviously something to do with the way you do the config of the MDB in Jboss. Is there a way to config the MDB for a foreign JMS implementation in JBoss??
If not you might have to write your own MDB implementation and refer to it in the config. You would have to be able to add all MDBs to the/as message listener and keep a handle on them to remove them all at shutdown time of the app server.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum