Posted: Wed May 22, 2002 10:57 am Post subject: Is the broker up or not?
Novice
Joined: 22 May 2002 Posts: 16 Location: Bedford MA
I'm writing a pub/sub java app and During a runtime call to tcf.CreateTopicConnections, I get an exception saying:
MQJMS5062: "Please ensure the broker is installed on this queue manager"
I use the dspmqbrk to check the broker status for the topic, and it says that the broker for the queue manager is running. I've had two other engeineers look at this to see if I had the wrong QM name in my code or something, and so far no one has found anything. Anyone else run into this?
I'm not using JNDI and setting the tcf myself using this code:
System.out.println("Using Topic Lookup code!");
// create an instance of JMS connection factory
TopicConnectionFactory tcf = null;
// create MQSeries specific connection factory
MQTopicConnectionFactory MQtcf = null;
// create the new instance of MQ specific connection factory
MQtcf = new MQTopicConnectionFactory();
//
// set some connection info in the factory
//
MQtcf.setTransportType(JMSC.MQJMS_TP_CLIENT_MQ_TCPIP);
MQtcf.setHostName(HOSTNAME);
MQtcf.setQueueManager(QMGRNAME);
//MQtcf.setChannel(CHANNEL);
MQtcf.setPort(PORT);
tcf = MQtcf;
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