ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Jboss MDB and WebsphereMQ 6

Post new topic  Reply to topic
 Jboss MDB and WebsphereMQ 6 « View previous topic :: View next topic » 
Author Message
Frank Burrup
PostPosted: Thu Feb 02, 2006 4:33 am    Post subject: Jboss MDB and WebsphereMQ 6 Reply with quote

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)
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Feb 19, 2006 9:38 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

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.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Jboss MDB and WebsphereMQ 6
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.