Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MQ JMS with Weblogic: config problem

 
Rajat Sharma
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am trying to use WebsphereMQ as my JMS provider with Weblogic 6.1. I used the reference doc at bea's site and tried to run the sample MDB in the doc.
This MDB just prints out the ID of every message posted to TEST_QUEUE.
http://ftpna2.bea.com/pub/downloads/jmsproviders.pdf
The error I'm getting is -
...
<Oct 9, 2003 11:11:28 AM CDT> <Warning> <EJB> <The Message-Driven EJB: SimpleMDB is unable to connect to the JMS destination: TEST_QUEUE. The EJB container will automatically attempt to re-establish the connection with the JMS server. This warning may occur during WebLogic Cluster start-up if the JMS destination is located on another WebLogic Server instance. When the JMS server connection is re-established, the Message-Driven EJB will again receive JMS messages.
The Error was:
Message Driven Bean 'SimpleMDB' is transacted but the provider defined in the ejb is not transacted. Provider should be transacted if onMessage method in MDB is transacted.>
...

I used the filesystem JNDI implementation (as given in the sample code), but it seems that is causing the problem. How can I work around this?
thanks
Rajat.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic