Posted: Tue Jun 17, 2008 6:58 am Post subject: failed to create publisher JMSException MQJMS2008
Newbie
Joined: 12 Jun 2008 Posts: 6
my task is to implement a simple java client application from other destination, where the MQ Broker is installed via jms. My first step was to create a topicconnection. That's done successful. The next step ist to create a session and then a publisher. Now comes the problem, if i try to create publisher i get this following exception
Code:
javax.jms.JMSException: MQJMS2008: Fehler beim Öffnen der MQ-Warteschlang SYSTEM.BROKER.DEFAULT.STREAM
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:586)
at com.ibm.mq.jms.MQSession.createTPublisher(MQSession.java:5635)
at com.ibm.mq.jms.MQTopicSession.createPublisher(MQTopicSession.java:503)
at org.tud.dipbench.client.ri.MessageBrokerConnection.init(MessageBrokerConnection.java:116)
at org.tud.dipbench.client.ri.MessageBrokerConnection.<init>(MessageBrokerConnection.java:60)
at org.tud.dipbench.client.ri.MessageBrokerConnection.main(MessageBrokerConnection.java:130)
I use the MQ Broker 6.1 and the additional broker toolkit.
MY CODE IS:
In the last line i got the exception. I guess that the MQ Broker must authorise my client computer to sending messages to the Default stream SYSTEM.BROKER.DEFAULT.STREAM.
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