This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes MQJE001: Completion Code 2, Reason 2085    Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "MQJE001: Completion Code 2, Reason 2085    " Watch "MQJE001: Completion Code 2, Reason 2085    " New topic
Author

MQJE001: Completion Code 2, Reason 2085

V Singh
Greenhorn

Joined: Sep 03, 2007
Posts: 6
Hi,

I am getting the following exception when I am trying to invoke a MDB through servlet.:-

The Connection Manager received a fatal connection error from the Resource Adaptor for resource JMS$MyMdbConnectionFactory. The exception which was received is javax.jms.JMSException: MQJMS2008: failed to open MQ queue

[9/11/07 11:44:16:588 IST] 4dfb49e7 MDBListenerIm W WMSG0019E: Unable to start MDB Listener Hello, JMSDestination jms/MyMdbQueue : javax.jms.JMSException: MQJMS2008: failed to open MQ queue
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:540)
at com.ibm.mq.jms.MQQueueAgent.resolveQueue(MQQueueAgent.java:460)
at com.ibm.mq.jms.MQQueueAgent.getQueueAgent(MQQueueAgent.java:271)
at com.ibm.mq.jms.MQConnectionBrowser.MQConnectionBrowserInit(MQConnectionBrowser.java:277)
at com.ibm.mq.jms.MQConnectionBrowser.<init>(MQConnectionBrowser.java:112)
at com.ibm.mq.jms.MQQueueConnection.createConnectionBrowser(MQQueueConnection.java:775)
at com.ibm.mq.jms.MQConnectionConsumer.<init>(MQConnectionConsumer.java:444)

*************************************************************************
com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2085
at com.ibm.mq.MQQueueManager.accessQueue(MQQueueManager.java:1527)
at com.ibm.mq.MQQueueManager.accessQueue(MQQueueManager.java:1579)
at com.ibm.mq.jms.MQQueueAgent.resolveQueue(MQQueueAgent.java:451)
at com.ibm.mq.jms.MQQueueAgent.getQueueAgent(MQQueueAgent.java:271)
at com.ibm.mq.jms.MQConnectionBrowser.MQConnectionBrowserInit(MQConnectionBrowser.java:277)
at com.ibm.mq.jms.MQConnectionBrowser.<init>(MQConnectionBrowser.java:112)
at com.ibm.mq.jms.MQQueueConnection.createConnectionBrowser(MQQueueConnection.java:775)


I am trying to invoke an MDB thru servlet.I hve checked the QueueConnectionFactory Name,Queue Name,ListenerPort name

Following is the servlet code that invokes MDB


I am getting error on qSession.createSender(queue);
Can anyone please help me with this?


I have made an entry for Connection Factory,Queue name and also have enabled the MQ Simulator for Java Developers in JMS Provider section in the JMS tab in the server.I have also configured the listener port with the queue name and the connection factory on the server setting.
I also checked the queuename and connectionfactory that I use in the lookup but somehow still getting this error


Regards,
Vandana
V Singh
Greenhorn

Joined: Sep 03, 2007
Posts: 6
Hi Guys,

I am able to figure out the error.I hadn't entered the queue name correctly.

Regards,
Vandana
Neha Prasad
Greenhorn

Joined: Mar 02, 2009
Posts: 5
Hi,
I am getting the same error.

Can you please tell me what was wrong with your queue name? It might help me figure out my queue name problem.

regards,
neha
 
Consider Paul's rocket mass heater.
 
subject: MQJE001: Completion Code 2, Reason 2085
 
Similar Threads
WSAD JMS error
failed to open MQ queue
JMS on WAS 6.0 to MQ
Failed to open Queue using MDB in WSAD using MQ Simulator (MQJMS2008)
JMS Issue with WAS 5.1