ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » MQSeries java client problem

Post new topic  Reply to topic
 MQSeries java client problem « View previous topic :: View next topic » 
Author Message
rohanaonly
PostPosted: Thu Feb 21, 2002 2:10 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
Rupali Nanellu
PostPosted: Sat Apr 20, 2002 9:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
anadin
PostPosted: Wed Oct 02, 2002 12:41 am    Post subject: Reply with quote

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
View user's profile Send private message
djeripo
PostPosted: Tue Apr 13, 2004 2:10 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Michael Dag
PostPosted: Thu May 20, 2004 7:14 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

moved to Java/JMS
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQSeries java client problem
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.