Author |
Message
|
Anand_Patil |
Posted: Wed Jan 12, 2005 8:14 am Post subject: How frequently can Successive MQCONN's Happen? |
|
|
Newbie
Joined: 12 Jan 2005 Posts: 2
|
Some of our programs for varying reasons issue an MQCONN statement, PUT's/GET's msgs and issues an MQDISC call only to come back immediately with an MQCONN statement after a few seconds, which probably sometimes results in a 2059(Q_MGR_NOT_AVAILABLE) error,
I have two Q's here,
1> Is the 2059 error related to the above mentioned cause ?
2> Is there any periodicity with which a QMGR handle becomes stale, so that an MQCONN has to be issued to be able to connect to the QMGR again ?
Any help will be greatly appreciated.
Other relevant information, - OS - Compaq Non Stop Kernel, MQ Series v 2.2.0.1.
-Thanks in Advance
Anand. |
|
Back to top |
|
 |
Tibor |
Posted: Wed Jan 12, 2005 9:47 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
Anand,
A general question: did you get events to the collector of MQ or any MQ related messages to $0?
Otherwise I recommend an upgrade to v5.1 on NSK. We use this version for 2 years and I have only good experiences (functions & performance).
Tibor |
|
Back to top |
|
 |
Anand_Patil |
Posted: Wed Jan 12, 2005 6:00 pm Post subject: |
|
|
Newbie
Joined: 12 Jan 2005 Posts: 2
|
Thanks Tibor!
Moving to 5.1 on NSK is on the cards anyways, I shall try that as well.
My Second Q still remains unanswered - Is there a time limit after which a QMgr Handle becomes stale when unused for a long time ?
-Thanks
Anand. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Jan 12, 2005 7:05 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Anand_Patil wrote: |
My Second Q still remains unanswered - Is there a time limit after which a QMgr Handle becomes stale when unused for a long time ? |
No. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
Tibor |
Posted: Thu Jan 13, 2005 2:23 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
No. Theoretically
Tibor |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Jan 13, 2005 7:59 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Tibor you are correct.
There is no documentation that says a handle will become obsolete simply because it is old. Who knows what is going on the depths of internal MQ code though. Maybe after 15 years, the handle gets closed automatically! _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|