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 » SVRCONN channel keeps the connection open, with network fail

Post new topic  Reply to topic
 SVRCONN channel keeps the connection open, with network fail « View previous topic :: View next topic » 
Author Message
rsinha
PostPosted: Thu Mar 29, 2007 9:40 am    Post subject: SVRCONN channel keeps the connection open, with network fail Reply with quote

Apprentice

Joined: 29 Aug 2003
Posts: 42

Hi,
We are running MQ server on one linux box aqnd MQ client on another. Our App on Client machine uses JMS to connect to MQ QMGR, using SVRCONN channel. Many times we've noticed that if the network between the two boxes goes down abruptly, the SVRCONN channel doesn't release the connection. The result is that local queues still shows IPPROCS(1), even though from client side there's no connection to MQ QMGR. So, next time when we restart our JMS app it fails to connect to these local queues because Qs are defined with NOSHARE. The main problem is that MQ thinks that the previous client is still connected.
Currently we have to stop and restart the SVRCONN channel, to make IPPROCS(0) and hence resolve the conn problem when our app is restarted.

Any idea why MQ thinks the connection with client is still open, even with network going down?
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Mar 29, 2007 9:44 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Makes the queues shared then.
Back to top
View user's profile Send private message
rsinha
PostPosted: Thu Mar 29, 2007 10:50 am    Post subject: Reply with quote

Apprentice

Joined: 29 Aug 2003
Posts: 42

yes, but the question is, why does MQ thinks that the client is still connected, when it isn't?

Thanx
Back to top
View user's profile Send private message
dhanaraj
PostPosted: Thu Mar 29, 2007 11:19 am    Post subject: Reply with quote

Voyager

Joined: 10 Aug 2004
Posts: 92

May be cuz If the network goes down in the middle of the unit of work. MQ still open connection handle to the client app

Thanks
dhanaraj
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Thu Mar 29, 2007 3:43 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

rsinha wrote:
yes, but the question is, why does MQ thinks that the client is still connected, when it isn't?


Because the network went down before the client could tell the qmgr that it was going away.

How is the qmgr supposed to know to close the connection, if the TCP/IP layer has kept the socket alive, and there merely happens to be no data arriving over it?
_________________
I am *not* the model of the modern major general.
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 » SVRCONN channel keeps the connection open, with network fail
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.