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 API Support » Timeout in MQConnections

Post new topic  Reply to topic
 Timeout in MQConnections « View previous topic :: View next topic » 
Author Message
rog552003
PostPosted: Mon May 29, 2006 3:28 pm    Post subject: Timeout in MQConnections Reply with quote

Novice

Joined: 11 Dec 2005
Posts: 11

Hi!!! Thank you for all the help you have provided! I have another doubt:

Is there any way to set a timeout to a connection, using a Java? I ask this because my application is not closing all the connections it opens in the channel, not because of the code, but because the client fails, the connections remains open, is there any way to set a timeOut?

Than you very much!! I'm using MQSeries 5.3
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue May 30, 2006 2:51 pm    Post subject: Re: Timeout in MQConnections Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

rog552003 wrote:
Hi!!! Thank you for all the help you have provided! I have another doubt:

Is there any way to set a timeout to a connection, using a Java? I ask this because my application is not closing all the connections it opens in the channel, not because of the code, but because the client fails, the connections remains open, is there any way to set a timeOut?

Than you very much!! I'm using MQSeries 5.3

Define Client fails.
You should trap the failure and close the resources then exit the client.
If you exit the jvm the resources will be freed. Otherwise you have to free them manually. You DO NOT want to wait until GC time. (way too long)

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
vennela
PostPosted: Wed May 31, 2006 7:10 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Also, the admins can tweak in the qm.ini to get rid of stale connections. Ask them about TCP KeepAlive stanza
Back to top
View user's profile Send private message Send e-mail Visit poster's website
rog552003
PostPosted: Mon Jun 12, 2006 12:58 pm    Post subject: Reply with quote

Novice

Joined: 11 Dec 2005
Posts: 11

Please does anyone has documentation abuot this last topic, then TCP KeepAlive stanza?

Thank you very much!!!
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon Jun 12, 2006 1:30 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

Check out the System Administration manual.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Timeout in MQConnections
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.