|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Message catalog not found |
« View previous topic :: View next topic » |
Author |
Message
|
rajmq |
Posted: Wed Jan 08, 2003 1:24 am Post subject: Message catalog not found |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
Hi
I am Using MQ5.2.1 for NTwrokstation.
As per our Application requirement i need to connect two QMGR.First time it is connecting properly.but sometime i am getting error...
Error like
Unable to load message catalog - mqji
com.ibm.mq.MQException: Message catalog not found
at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:171)
at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:228)
at com.ibm.mq.MQClientManagedConnectionFactoryJ11.createManagedConnection(MQClientManagedConnectionFactoryJ11.java:245)
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:666)
at com.ibm.mq.MQQueueManager.construct(MQQueueManager.java:615)
at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:392)
can anyone have this same probs
thanks in advance
raj |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Jan 08, 2003 5:55 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
The message catalog problem has been posted here before. Basically, you need to add the directory of your mqji.properties to your classpath. However, this isn't a 'real' problem. Other problems are usually masked, and you need to look at the linked exception to tell what is really going on:
Code: |
} catch( JMSException je ) {
/*******************************************/
/* Catch and display exception information */
/*******************************************/
System.out.println("JMSException: " + je);
Exception le = je.getLinkedException();
if (le != null) System.out.println("Linked exception: " + le);
}
|
|
|
Back to top |
|
 |
rajmq |
Posted: Wed Jan 08, 2003 9:43 am Post subject: |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
Hi,
Thanks for ur Reply
Sorry my application is using MQJava API.
My Application Desgin:
1.Application A is connecting to two different QMGRs(B,C) .While Connecting time there is no issues.Both are connected and also waiting for receiveing message.
2.Here first i am sending message to Application A,QMGR B is giving proper response and client also getting message.
3.Again sending messae to Application A this time QMGR C is receiving that message (this i am controlling using the MQPub/Sub Topic).
but after that while sending the response message my publsh program is trying to connect the QMGR that time i am getting error like,
Unable to load message catalog - mqji
com.ibm.mq.MQException: Message catalog not found
at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:171)
at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:228)
at com.ibm.mq.MQClientManagedConnectionFactoryJ11.createManagedConnection(MQClientManagedConnectionFactoryJ11.java:245)
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:666)
at com.ibm.mq.MQQueueManager.construct(MQQueueManager.java:615)
at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:392)
thanks
raj |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|