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 » JMS to MQ server connection drops frequently

Post new topic  Reply to topic
 JMS to MQ server connection drops frequently « View previous topic :: View next topic » 
Author Message
raju71
PostPosted: Tue Dec 04, 2007 10:59 am    Post subject: JMS to MQ server connection drops frequently Reply with quote

Novice

Joined: 03 Apr 2006
Posts: 13

We have a JMS client on JBOSS connecting to our MQ server .If the system is idle i.e(no transfer of messages) for 30 or 40 minutes the connection drops.Is ther any configuration setting in MQ or JMS where I can keep the connection up and running.Any suggestion is greatly appreciated.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Dec 04, 2007 11:06 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Have you investigated what it is that is dropping the connection? Maybe it's JBOSS, maybe it's MQ, maybe it's the application, maybe it's... the firewall...

It won't do a lot of good to adjust MQ if it's JBOSS that's dropping the connection, and etc.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
raju71
PostPosted: Tue Dec 04, 2007 11:30 am    Post subject: Reply with quote

Novice

Joined: 03 Apr 2006
Posts: 13

I am sure the application is not closing the connection.To keep the connection up and running I have written a MQ put program which connects to MQ server every one hour and this keeps the channel up and running.We are using the default "SYSTEM.DEF.SVRCONN" channel.

I do not want to use the MQ put program as we want to deploy the code in to production.As you suggested I will check the firewall setting.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Tue Dec 04, 2007 12:37 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Also check to see if the MQ Admin set the ClientIdle parameter as that can shutdown valid but quiet MQ Client connections.


raju71 wrote:
We are using the default "SYSTEM.DEF.SVRCONN" channel.


You should be using a new SVRCONN channel specific to your app.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
raju71
PostPosted: Tue Dec 04, 2007 1:36 pm    Post subject: Reply with quote

Novice

Joined: 03 Apr 2006
Posts: 13

We are not using ClientIdle parameter but using KeepAlive ="YES".

Is it recommended not to use default SYSTEM.DEF.SVRCONN channel.Do we have any issues by using this channel.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Dec 04, 2007 1:44 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

raju71 wrote:
Is it recommended not to use default SYSTEM.DEF.SVRCONN channel.


Yes.

Because you can't tell who's using 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 » JMS to MQ server connection drops frequently
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.