Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MQSeries Error 2

Status
Not open for further replies.

Outy

Programmer
Feb 7, 2001
16
BE
Hi,

I'm using java(from Sun) to connect to MQSeries, but when I try to get a message from a queue, it keeps telling me this:
"Unable to load message catalog - mqji"

What does this mean? Does it have something to do with not having a message on the queue?

Thanks

Outliner
 
It could be a number of things.. most likely there is no message on the queue, but it could also be something to do with the queue you are accessing. Be sure it is not a read only queue.
 
You need to add the message catalog to your classpath. This is the file mqji_xx.properties - where xx is the code for the language you are using. It contains programming messages for each supported language.

Hope this helps,
Paul
 
Hi,

I am using c++ version of IBM's MQ, and have further wrapped their classes into my own classes. My program works fine when 'getting' or putting messages on/to a queue. But I cannot do both, ie read a message and put that message on another queue. When I allocate more memory, the program coredumps at 'new'. Any suggestions, please.

Thanks.

gavs
 
Please put the snippet of code where you are doing this. This has to do with the new and delete []. You may be deleting something that you did not allocate ...etc.

MiddlewareOnline.Com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top