ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Cannot Connect : Queue Manager inavailable

Post new topic  Reply to topic
 Cannot Connect : Queue Manager inavailable « View previous topic :: View next topic » 
Author Message
major7
PostPosted: Fri Jun 27, 2008 2:24 am    Post subject: Cannot Connect : Queue Manager inavailable Reply with quote

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
View user's profile Send private message
major7
PostPosted: Mon Jun 30, 2008 3:54 am    Post subject: Reply with quote

Novice

Joined: 26 Jun 2008
Posts: 12

lacked the channel. darn!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Cannot Connect : Queue Manager inavailable
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.