Author |
Message
|
raju71 |
Posted: Tue Dec 04, 2007 10:59 am Post subject: JMS to MQ server connection drops frequently |
|
|
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 |
|
 |
jefflowrey |
Posted: Tue Dec 04, 2007 11:06 am Post subject: |
|
|
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 |
|
 |
raju71 |
Posted: Tue Dec 04, 2007 11:30 am Post subject: |
|
|
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 |
|
 |
PeterPotkay |
Posted: Tue Dec 04, 2007 12:37 pm Post subject: |
|
|
 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 |
|
 |
raju71 |
Posted: Tue Dec 04, 2007 1:36 pm Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Tue Dec 04, 2007 1:44 pm Post subject: |
|
|
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 |
|
 |
|