|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQJMS2005: failed to create MQQueueManager |
« View previous topic :: View next topic » |
Author |
Message
|
pingu |
Posted: Mon Jul 06, 2009 7:47 pm Post subject: MQJMS2005: failed to create MQQueueManager |
|
|
Newbie
Joined: 06 Jul 2009 Posts: 2
|
Hi, I'm new in JMS MQ
i hit this error when create connection
++++++++++++++++++++++++++++++++++++++
Exception in thread "main" javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for '192.168.51.60:cw.qm1'
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:644)
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2505)
at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:1850)
at com.ibm.mq.jms.MQConnection.<init>(MQConnection.java:837)
at com.ibm.mq.jms.MQConnectionFactory.createConnection(MQConnectionFactory.java:4877)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
my code is
-----
connectionFactory.setHostName(HOSTNAME);
connectionFactory.setPort(PORTNO);
connectionFactory.setQueueManager(QMGRNAME);
connectionFactory.setChannel(CHANNEL);
connectionFactory.setTransportType(JMSC.MQJMS_TP_CLIENT_MQ_TCPIP);
Connection connection = connectionFactory.createConnection();
-----------------------
anyone can help me..???
Regard
Pingu |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jul 06, 2009 8:29 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You need to extract the linked exception from the JMS exception and post its content... Otherwise we are blind...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
pingu |
Posted: Mon Jul 06, 2009 10:57 pm Post subject: |
|
|
Newbie
Joined: 06 Jul 2009 Posts: 2
|
it dont have linked exception..,
btw i figure out.., is my bad..,
the listener got something error, when i restart the listener then it can..,
thanx for the reply..
regards
pingu |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 06, 2009 11:12 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
pingu wrote: |
it dont have linked exception.., |
It does, but your code is not extracting it. A search of the forum will turn up some sample code. It really is important, as WMQ throws about 10 times the number of error codes JMS does and hence the linked exception is invaluable in pinning down any problem.
pingu wrote: |
btw i figure out.., |
Well yay you!
And thank you for posting the solution for the benefit of others. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|