|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Clustering and MQSeries Java (MA88) |
« View previous topic :: View next topic » |
Author |
Message
|
khookguy |
Posted: Tue Jan 15, 2002 11:16 am Post subject: |
|
|
Novice
Joined: 14 Jan 2002 Posts: 13
|
I'm having a problem putting a message onto a cluster queue hosted on a remote queue manager. Here is the MQ Series Classes for Java code that is failing (this was taken from the MA88 sample MQSample.java):
MQQueue system_default_local_queue =
qMgr.accessQueue("clq_default_eai_server",
openOptions,
null, // default q manager
null, // no dynamic q name
null); // no alternate user id
The error that I'm getting is "Completion Code 2, Reason Code 2085".
I know that the cluster queue "clq_default_eai_server" is working because, with the MQSeries Console, I can successfully put a "Test Message" on the queue and it gets successfully transmitted to the remote queue manager.
Any ideas??
_________________ Mark Hansen
email: khookguy@yahoo.com |
|
Back to top |
|
 |
kolban |
Posted: Wed Jan 16, 2002 8:44 pm Post subject: |
|
|
 Grand Master
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
|
What is the value for "openOptions"?
How is the "qMgr" object created?
What have you set up for your "MQEnvironment" singleton class (if anything)? |
|
Back to top |
|
 |
khookguy |
Posted: Thu Jan 17, 2002 8:27 am Post subject: |
|
|
Novice
Joined: 14 Jan 2002 Posts: 13
|
Problem solved. The problem was that I was setting the queue options for both posting and getting messages. Since it is a remote queue in a cluster, getting messages is not a valid operation. Once I changed the settings, everything worked fine. |
|
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
|
|
|
|