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 » Message catalog not found

Post new topic  Reply to topic
 Message catalog not found « View previous topic :: View next topic » 
Author Message
maxis
PostPosted: Thu Apr 03, 2003 12:32 pm    Post subject: Message catalog not found Reply with quote

Centurion

Joined: 25 Jun 2002
Posts: 144

hello all,

First question :
In jms program ..when I try
Code:
jmsEx.getLinkedException().getMessage()
am getting string Message catalog not found

What's missing here ? What should I add in the classpath ?

Second question:
Is there a way to map MQJMS error to MQError ..
for example whats the equivalent of MQJMS2002 in MQError book ?

pl note : this program is working - which means required jar files are in place.


Thanks
M
Back to top
View user's profile Send private message
vennela
PostPosted: Thu Apr 03, 2003 2:02 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

For you second question may be you are asking for something like this

Code:
} catch(JMSException je) {
je.printStackTrace();
Exception le=je.getLinkedException();
if (le!=null) le.printStackTrace();
}


-------
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
yaakovd
PostPosted: Thu Apr 03, 2003 2:30 pm    Post subject: Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

Regarding yoour first question:
add com.ibm.mq.jar to classpath

But I think the message should be "'unable to load message catalog "
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel
Back to top
View user's profile Send private message Send e-mail
bower5932
PostPosted: Fri Apr 04, 2003 6:37 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

To get around the message catalog error, you need to add the mq java directory to your classpath:

c:\mqseries\java\lib

To get the actual MQ error, you use the linked exception information given above.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
maxis
PostPosted: Fri Apr 04, 2003 12:49 pm    Post subject: Reply with quote

Centurion

Joined: 25 Jun 2002
Posts: 144

thanks bower .. that worked ...



M
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Message catalog not found
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.