Posted: Sat Oct 04, 2003 9:56 pm Post subject: Message Catalog not found
Master
Joined: 25 Mar 2002 Posts: 212 Location: India
I'm trying to register an MQQueueConnectionFactory and MQQueues in the JNDI tree and I'm getting the following exception
com.ibm.mq.MQException: Message catalog not found
I put all the jar files and properties files (mqji*.properties) in the classpath but no luck. I don't really know what else I'm missing. Any Suggestions? Thanks
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
I am not quite sure when you are running into the problem.
You are getting this error
1. when trying to define JNDI objects using JMSAdmin
2. when trying to access JNDI objects in your java program
I finally got this to work. The reason it was not working is that it was not recognizing the directory C:\Program Files in the classpath. I made a seperate directory and moved all my jar files there and it started to work like a rock. My question is how should I use this directory reference if at all I wanted all my jar files to be read from the Program Files directory ?
I finally got this to work. The reason it was not working is that it was not recognizing the directory C:\Program Files in the classpath. I made a seperate directory and moved all my jar files there and it started to work like a rock. My question is how should I use this directory reference if at all I wanted all my jar files to be read from the Program Files directory ?
Either put quotes around the path ("C:\Program Files\MQSeries\java\lib\com.ibm.mq.jar"), or use the short form of the path (C:\Progra~1\MQSeries\java\lib\com.ibm.mq.jar). _________________ I am *not* the model of the modern major general.
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