Author |
Message
|
rohanaonly |
Posted: Thu Feb 21, 2002 2:10 am Post subject: |
|
|
Newbie
Joined: 20 Feb 2002 Posts: 1
|
Hi guys
Im just starting ot use MQ series with a java client. Im trying to run an example code give in IBM web.
I get the following error
Please help me figure this out.
Error says
Unable to load message catalog - mqji
com.ibm.mq.MQException: Completion Code 2, Reason 2009
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.java:649)
at com.ibm.mq.MQQueueManager.construct(MQQueueManager.java:598)An MQSeries error occurred : Completion code 2 Reason code 2009
at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:375)
at mqseries.MQSample.<init>(MQSample.java:52)
at mqseries.MQSample.main(MQSample.java:34)
_________________ Thankx in Advance |
|
Back to top |
|
 |
Rupali Nanellu |
Posted: Sat Apr 20, 2002 9:17 pm Post subject: |
|
|
Newbie
Joined: 19 Apr 2002 Posts: 1
|
Hi,
You might have given the queue manager name as input instead of the queue name.Also check whether all the 3 jar files required for MQ are present in the path ,so that the client finds them at run time .I think this may solve your problem.
Regards,
Rupali |
|
Back to top |
|
 |
anadin |
Posted: Wed Oct 02, 2002 12:41 am Post subject: |
|
|
Novice
Joined: 19 Aug 2002 Posts: 16
|
I think u have not put the path of mqji properties file in Lib path
I was getting the same problem.
Me included the path of mqji properties file in LIB and it started working fine. |
|
Back to top |
|
 |
djeripo |
Posted: Tue Apr 13, 2004 2:10 pm Post subject: |
|
|
 Master
Joined: 25 Jan 2004 Posts: 225
|
RC2009 corresponds to connection broken. Is your QM on different machine ?if so check whether you are giving correct port no ,hostname,q manager and channel type of server connection.If at all you are trying to connect to local host you can safely ignore the ones i said. |
|
Back to top |
|
 |
Michael Dag |
Posted: Thu May 20, 2004 7:14 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
|