|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Could not open queue and RC 2042 |
« View previous topic :: View next topic » |
Author |
Message
|
sakthi_sarathi |
Posted: Mon Mar 16, 2009 8:22 am Post subject: Could not open queue and RC 2042 |
|
|
 Novice
Joined: 07 Dec 2008 Posts: 16
|
my publisher and consumer processes are running on same machine and using same SVRCONN channel. QMGR running on different machine.
QMGR machine doesn't reboot weekly, but after the application machine reboots, the consumer process not coming up. Once I bounced SVRCONN channel, process able to connect. I think issue was the old conections not released by QMGR...?
How should resolve this? should i set-up weekly reboot for QMGR machine?
or something to do with KEEP ALIVE value ?
Thanks in Advance for  |
|
Back to top |
|
 |
sumit |
Posted: Mon Mar 16, 2009 8:30 am Post subject: |
|
|
Partisan
Joined: 19 Jan 2006 Posts: 398
|
The error seems to be with client application. It has to release mq connection before ending.
How many connections were running when you bounced SVRCONN channel? _________________ Regards
Sumit |
|
Back to top |
|
 |
sakthi_sarathi |
Posted: Mon Mar 16, 2009 8:39 am Post subject: How many connections were running when you bounced SVRCONN c |
|
|
 Novice
Joined: 07 Dec 2008 Posts: 16
|
|
Back to top |
|
 |
WMBDEV1 |
Posted: Wed Mar 18, 2009 1:42 am Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
As per the link, the TCPKEEP setting is for Z/OS QMs, but you say you're on Linux so you should be using the KEEPALIVE=YES setting:
Quote: |
For this attribute to have any effect, TCP/IP keepalive must be enabled. On z/OS®, you do this by issuing the ALTER QMGR TCPKEEP(YES) MQSC command. On other platforms, it occurs when the KEEPALIVE=YES parameter is specified in the TCP stanza |
but I dont think this setting will help..... and agree with the earlier comment that it seems to be more likely related to an application not closing the connection correctly. If you look at the channel status, you will be able to see when connection was started, I bet if you dont restart your QM for a while, you will have some old connections in here. Simply restarting the app server may not clear these connections as they should be closed properly when they are no longer needed |
|
Back to top |
|
 |
sakthi_sarathi |
Posted: Fri Mar 20, 2009 2:34 am Post subject: |
|
|
 Novice
Joined: 07 Dec 2008 Posts: 16
|
Thanks for your comments..
Why do we set KEEPALIVE=YES, is that will drop the connection on QMGR side? if so QMGR never knew whether the connection at the other end got disconnected..  |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|