Technote (troubleshooting)
Problem(Abstract)
The WebSphere Message Broker Toolkit fails to connect to a remote broker, with error MQRC 2059
Symptom
You have correctly configured your WebSphere Message Broker Toolkit to connect to a remote broker, by using the configuration steps from the information center.
Your queue manager has been given the correct authorisation, but attempting to connect to the remote broker by using the WebSphere Message Broker Toolkit results in error MQRC 2059.
You can connect to your remote broker from the same machine without error by using the WebSphere Message Broker Explorer, or by completing the following steps:
1. Set the following environment variable:
-
On Windows
-
set MQSERVER=ChannelName/TCP/server-address(port)
-
export MQSERVER=ChannelName/TCP/'server-address(port)'
-
amqsputc <Queue> <QMGR>
Cause
The network configuration of your WebSphere Message Broker Toolkit installation is incorrect.
Resolving the problem
In the WebSphere Message Broker Toolkit, click Window -> Preferences -> General -> Network Connection. The Preferences window opens, and the Network Connections preferences are displayed.
If you are using WebSphere Message Broker Toolkit V8:
-
From the Active Provider list, select "Direct".
For more information about the Active Provider setting, see the " Network Connections" topic in the Eclipse information center.
If you are using WebSphere Message Broker Toolkit V7:
-
From the Active Provider list, select "Direct connection to the internet". This is the default setting when using WebSphere Message Broker Toolkit V7.
You should then be able to connect to your remote broker by using the WebSphere Message Broker Toolkit.
Product Alias/Synonym
WMB MB WebSphere Message Broker MQ Integrator WBIMB WBI-MB MQSI WMQI
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.