h***@gmail.com
2006-03-28 12:34:15 UTC
Hello All,
I am trying to test the sample program , when i run a program that
connects to the queue i am getting the exception below , i am giving
the queue manager name correctly, can anybody please help me here.
What could be the reason.
Thanks in advance
Hari
----
com.ibm.mq.MQException: Completion Code 2, Reason 2195
at
com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:166)
at
com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:196)
at
com.ibm.mq.MQClientManagedConnectionFactoryJ11.createManagedConnection(MQClientManagedConnectionFactoryJ11.java:213)
at
com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.java:80)
at
com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:150)
at
com.ibm.mq.MQQueueManager.obtainBaseMQQueueManager(MQQueueManager.jav
a:560)
at com.ibm.mq.MQQueueManager.construct(MQQueueManager.java:509)
at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:286)
at
mqseries.mom.subscribe.MQReceive.createQueueManager(MQReceive.java:240)
at mqseries.mom.subscribe.MQReceive.run(MQReceive.java:654)
I am trying to test the sample program , when i run a program that
connects to the queue i am getting the exception below , i am giving
the queue manager name correctly, can anybody please help me here.
What could be the reason.
Thanks in advance
Hari
----
com.ibm.mq.MQException: Completion Code 2, Reason 2195
at
com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:166)
at
com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:196)
at
com.ibm.mq.MQClientManagedConnectionFactoryJ11.createManagedConnection(MQClientManagedConnectionFactoryJ11.java:213)
at
com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.java:80)
at
com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:150)
at
com.ibm.mq.MQQueueManager.obtainBaseMQQueueManager(MQQueueManager.jav
a:560)
at com.ibm.mq.MQQueueManager.construct(MQQueueManager.java:509)
at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:286)
at
mqseries.mom.subscribe.MQReceive.createQueueManager(MQReceive.java:240)
at mqseries.mom.subscribe.MQReceive.run(MQReceive.java:654)