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 » General IBM MQ Support » Channel Status Check

Post new topic  Reply to topic
 Channel Status Check « View previous topic :: View next topic » 
Author Message
smite0hb
PostPosted: Tue Sep 11, 2007 12:46 pm    Post subject: Channel Status Check Reply with quote

Novice

Joined: 19 May 2006
Posts: 24

I am supporting multiple locations, each with there own MQ windows 6.0 server. Each location has 30 + clients connecting to there local mq server. Each client is running a vb application that sends and recieves data from the local mq server. When the local mq server connection goes down , our application keeps trying to connect to the MQ local server. The application tries to instantiate the obejct MQQueueManager. What we are finding, is that even though it cant connect, it still creates a connection on the local mq server, it goes into a time wait and eventually windows will remove the connection, but the local mq server is being overwhelmed with connections. Is there any other way from the client(mq 6.0) to check the status of a server connection or a qmanager or even a queue just to see if we can connect without creating all those connections on the mq server.. Thanks for your help
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Tue Sep 11, 2007 12:57 pm    Post subject: Re: Channel Status Check Reply with quote

Jedi Knight

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

Say what!

You can't have your cake and eat it too!

If the local QM goes down then it is down. There will be no connection to it because it is down.

Secondly, it really sounds like the local QM is running just fine and some application issue hapens then the VB applications gets into an endless loop trying to connect.

If an application connects to a local QM then it MUST disconnect when it does not require the connection any longer. It does not reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and reconnect and .............

You get the picture.

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
jefflowrey
PostPosted: Tue Sep 11, 2007 12:59 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The only good way for an application to find out if a queue manager is available is to try to connect to it.

An application should not sit there trying to reconnect lots of times as fast as it possibly can.

It should perform a bare minimum of connection attempts to ensure that there aren't transient network probles, and then decide that the queue manager is unavailable. At that point, it should quit or go into a mode that requires manual intervention before it will attempt to reconnect.

Perhaps you should investigate putting your queue managers into an HA configuration.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
smite0hb
PostPosted: Wed Sep 12, 2007 5:14 am    Post subject: Reply with quote

Novice

Joined: 19 May 2006
Posts: 24

Thanks for your help
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 » General IBM MQ Support » Channel Status Check
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.