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 Java / JMS » MQ Explorer - QCF - Reconnection Page

Post new topic  Reply to topic
 MQ Explorer - QCF - Reconnection Page « View previous topic :: View next topic » 
Author Message
PeterPotkay
PostPosted: Wed Feb 18, 2015 1:51 pm    Post subject: MQ Explorer - QCF - Reconnection Page Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_7.5.0/com.ibm.mq.explorer.doc/j_properties_connfact.htm?lang=en




Quote:

Timeout
Interval in seconds before reconnection retries cease. The default is 1800 seconds (30 minutes).


Okaaaaaayyyyy. But how often will it retry? Theoretically both of my queue managers should never be down at the same time, so all that is needed is one retry, but if things get crazy and they both are down, how often will the JMS app retry?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 19, 2015 6:10 am    Post subject: Reply with quote

Grand High Poobah

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

I figure this to read as following:

If you happen to bounce the qmgr, and neither the primary nor the failover start up within the configured time you are SOL and will have to do a manual intervention on the (client) application...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Thu Feb 19, 2015 6:58 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

Understood. But until the Timeout interval expires, how fast or how frequently will this thing keep retrying? As fast as possible? Unacceptable. Once every x seconds? OK, but what is x?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 19, 2015 9:25 am    Post subject: Reply with quote

Grand High Poobah

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

PeterPotkay wrote:
Understood. But until the Timeout interval expires, how fast or how frequently will this thing keep retrying? As fast as possible? Unacceptable. Once every x seconds? OK, but what is x?

I thought there was a reconnection interval property somewhere. Maybe even something like short reconnection and long reconnection interval?
Did you look at all the settings for the mqclient.ini file?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Fri Feb 20, 2015 11:09 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

I did find this link which explains the default behavior for the client if you don’t specify ReconDelay value in the mqclient.ini.

http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_7.5.0/com.ibm.mq.dev.doc/q032520_.htm?lang=en


By default, the reconnection attempts happen at the following intervals:
• The first attempt is made after an initial delay of one second, plus a random element up to 250 milliseconds.
• The second attempt is made two seconds, plus a random interval of up to 500 milliseconds, after the first attempt fails.
• The third attempt is made four seconds, plus a random interval of up to one second, after the second attempt fails.
• The fourth attempt is made eight seconds, plus a random interval of up to two seconds, after the third attempt fails.
• The fifth attempt is made 16 seconds, plus a random interval of up to four seconds, after the fourth attempt fails.
• The sixth attempt, and all subsequent attempts are made 25 seconds, plus a random interval of up to six seconds and 250 milliseconds, after the previous attempt fails.
This process of reconnection continues, until the client is successfully reconnected to the queue manager, or until the maximum reconnection interval elapses.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Feb 20, 2015 12:21 pm    Post subject: Reply with quote

Grand High Poobah

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

Thanks for giving us the reference Peter.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Wed Feb 25, 2015 12:13 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

In this presentation on reconnectable clients, see page 14 where it talks about what is and is not a reconnectable scenario:
http://www-304.ibm.com/support/docview.wss?uid=swg27038186


Can anyone shed some light as to the thought process IBM used for NOT allowing reconnectable clients to kick into auto reconnect with a STOP CHANNEL or an endmqm without –r or –s?

I mean, why not allow clients that have explicitly said they want to reconnect to reconnect in these 2 particular scenarios. Of what benefit would this be?
_________________
Peter Potkay
Keep Calm and MQ On
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 Java / JMS » MQ Explorer - QCF - Reconnection Page
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.