Posted: Wed Nov 09, 2005 3:00 am Post subject: javax.jms.JMSException: MQJMS2005: failed to create MQQueueM
Newbie
Joined: 09 Nov 2005 Posts: 3
I have a queue manager/ set of queues and a lDAP directory server on Machine A. I have bound the queue Manager/queues to LDAP using JMSAdmin.
I have a client program on Machine B which makes jndi lookup on Dir server on Machine B and tries to get queue connection and send a message.
But im getting the following exception..
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for ''
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:434)
at com.ibm.mq.jms.MQQueueConnection.createQM(MQQueueConnection.java:479)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:183)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:6
at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection
Im stuck here.... If anybody can assist me on this..
Im trying to use the vendor-neutral connection method by binding the QueueManager and Queues on remote host to LDAP and then accessing it using JMS Client program on a different host. This is the code i have.
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
My guess is that you didn't specify a qmgr name in your JNDI QCF. If you didn't and are using a default queue manager, then my next guess is that you don't have your listener running or your QCF isn't setup to act as a WMQ client.
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