Posted: Sat Sep 06, 2003 4:18 am Post subject: Error while Publishing message using JMS(JNDI)
Novice
Joined: 22 Aug 2003 Posts: 12
Hi Friends
I am evaluating PUB/SUB Model using JMS(JNDI) archtecture on windows NT platform, MQSeries 5.2 , WMQI 2.1. I have written small code for publishing message.
The code picks the Topics and Topic connetion factory fron JNDI as defined by me.
While executing the code I am getting error :
===================================
Exception in thread "main" javax.jms.JMSException: MQJMS5062: Please ensure the
broker is installed on this queue manager
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironm
ent.java:546)
at com.ibm.mq.jms.MQTopicConnection.createUniqueID(MQTopicConnection.jav
a:824)
at com.ibm.mq.jms.MQTopicConnection.<init>(MQTopicConnection.java:251)
at com.ibm.mq.jms.MQTopicConnection.<init>(MQTopicConnection.java:112)
at com.ibm.mq.jms.MQTopicConnectionFactory.createMQTopicConnection(MQTop
icConnectionFactory.java:316)
at com.ibm.mq.jms.MQTopicConnectionFactory.createTopicConnection(MQTopic
ConnectionFactory.java:216)
at JMSPubSub.main(JMSPubSub.java:59)
=========================================
I am not able to understand why my code is giving error such as Please ensure the broker is installed on this queue manager.
Is there any configuration i need to setup ?
Please let me know if u guys have seen this problem earlier .
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