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 Installation/Configuration Support » WAS-MQ

Post new topic  Reply to topic
 WAS-MQ « View previous topic :: View next topic » 
Author Message
mq_user
PostPosted: Fri Jul 14, 2006 7:25 am    Post subject: WAS-MQ Reply with quote

Newbie

Joined: 10 Jul 2006
Posts: 9

Hi All,

I am running two instances of the same application on a websphere application server. Each instance has to connect to each queue manager on the a different mq server. The MQ server has 2 queue managers, with different names aand same set of queues, listening on different listener ports and channels.I set the host name and the queue manager name in a properties file which will be loaded during the application startup. But this connection is failing for one instance....it works for the other instance.

Any ideas on why this should happen...and how should I go about fixing this???
Any help on this one is greatly appreciated.

Thanks.
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Fri Jul 14, 2006 9:11 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi,

What is the MQ reason code? Secondly, how do you know the second application is correctly setting the MQ info? What does your application log show about the information being used? (i.e. no assumption)

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
mq_user
PostPosted: Fri Jul 14, 2006 3:55 pm    Post subject: Reply with quote

Newbie

Joined: 10 Jul 2006
Posts: 9

The error is failed to connect to queue manager QMANAGER NAME.
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Fri Jul 14, 2006 7:12 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

mq_user wrote:
The error is failed to connect to queue manager QMANAGER NAME.

That's not the MQ Reason Code. It is almost impossible to help you unless we know the MQ Reason Code AND what parameters are used for your MQ information.

Set your application in a verbose logging mode and dump out what your application is using for:
- Queue Manager Name
- Channel Name
- hostname
- Port number

Please take the time to gather the appropriate information otherwise we cannot help you.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
bower5932
PostPosted: Mon Jul 17, 2006 11:34 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I'd also be curious to know if it always failing to the same qmgr. Or, does it always fail on the connect to the first or second one regardless of which qmgr it is?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
fjb_saper
PostPosted: Mon Jul 17, 2006 2:24 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Are you per chance trying to connect to 2 different qmgrs in the same thread at the same time?
i.e. connecting to the 2nd one while the connection to the first one has not been closed ? And both in "bindings" mode??
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mq_user
PostPosted: Thu Jul 20, 2006 6:57 am    Post subject: Reply with quote

Newbie

Joined: 10 Jul 2006
Posts: 9

I think the name of the queue manager is hard coded in the application code.....but the development team thinks otherwise...It fails to connect if I use any other name other than the one that always connects .........Any Ideas?.....
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 Installation/Configuration Support » WAS-MQ
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.