|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Cannot Connect : Queue Manager inavailable |
« View previous topic :: View next topic » |
Author |
Message
|
major7 |
Posted: Fri Jun 27, 2008 2:24 am Post subject: Cannot Connect : Queue Manager inavailable |
|
|
Novice
Joined: 26 Jun 2008 Posts: 12
|
Hi all,
as you see, i can't get connected to the MQ instance we have here.
What I do is the following :
Code: |
IConnectionFactory cf = factoryFactory.CreateConnectionFactory();
cf.SetStringProperty(XMSC.WMQ_HOST_NAME, config.Hostname);
cf.SetIntProperty(XMSC.WMQ_PORT, config.Port);
cf.SetStringProperty(XMSC.WMQ_QUEUE_MANAGER, config.Queuemanager);
cf.SetIntProperty(XMSC.WMQ_CONNECTION_MODE, XMSC.WMQ_CM_CLIENT);
cf.SetIntProperty(XMSC.WMQ_BROKER_VERSION, XMSC.WMQ_BROKER_V2);
connection = cf.CreateConnection("", "");
|
The last line throws an Exception of type CWSMQ0043E:
Quote: |
The specified queue manager is not available. The
application has tried to connect to a queue manager that is not
available. Check if the queue manager has been started. Ensure that the
host, port, channel definitions supplied are correct. Also check the
firewall settings, if any. |
the config data is taken from my MQ Visual Edit, which connects perfectly.
I have no idea what goes wrong here... do you have any? I also tried BROKER_V1, which did not change a thing.
Did I forget a vital setting?
As you see, this has been discussed on developerWorks, but no solution was posted...http://www-128.ibm.com/developerworks/forums/thread.jspa?threadID=169276
any hints are gratefully accepted!
thanks in advance
Sebi |
|
Back to top |
|
 |
major7 |
Posted: Mon Jun 30, 2008 3:54 am Post subject: |
|
|
Novice
Joined: 26 Jun 2008 Posts: 12
|
lacked the channel. darn! |
|
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
|
|
|
|