• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem running JMS client java program accessing Websphere 5.0 jms server  RSS feed

 
Ab Sharma
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting the following error ...(failed to create MQQueueManager for '') while tryingto get a JMS connection .. Can somebody help... I am appending the code and the exception faced


------------------------Code-----------------------

---------------------------------------------------



--------------------------Exception----------------------------
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for ''
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:556)
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:1736)
at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:1129)
at com.ibm.mq.jms.MQTopicConnection.<init>(MQTopicConnection.java:207)
at com.ibm.mq.jms.MQTopicConnection.<init>(MQTopicConnection.java:127)
at com.ibm.mq.jms.MQTopicConnectionFactory.createMQTopicConnection(MQTopicConnectionFactory.java:389)
at com.ibm.mq.jms.MQTopicConnectionFactory.createTopicConnection(MQTopicConnectionFactory.java:262)
at com.jasmine.utils.MessageSender.init(MessageSender.java:46)
at com.jasmine.utils.MessageSender.main(MessageSender.java:99)
Exception in thread "P=816903 =0:CT"
--------------------------------------------------------------------
[ August 21, 2004: Message edited by: Marilyn de Queiroz ]
 
Marilyn de Queiroz
Sheriff
Posts: 9079
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just a note: it is more readable if you use the UBB code tags (under the edit box) when you post rather than just typing the word "code"
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!