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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot put to remote QueueManager in WSADIE test environment

Status
Not open for further replies.

dawnrhs

Programmer
Mar 10, 2004
1
US
I have code to connect to a remote QueueManager and use its queues, etc. When I run my code through the WSADIE option ("run as... java application") I can connect to the remote QueueManager, put a message to its queue, and receive form its queue.

However, when I run the SAME code on the test server (Integration Test Environment v51) I receive:
"An MQSeries error occured creating the QManager: Completion code 2 Reason code 2058" MQRC_Q_MGR_NAME_ERROR

The only thing that is different is the test server vs the java application (jvm). Any idea how I can correct this problem? I assume its classpath/environment related, but all my efforts have been unsuccessful.

Thanks!!
 
2058 is queue manager name error. Which would mean that you are spelling the queue name wrong. Nothing to do with classpath. Could be environment. You never mentioned the platform, so cant say what could be wrong with the environment.

But in any case, you have to verify the qm name including the case.



Cheers
KK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top