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 » WMQ 6.0 JMS Client: takes long to close() conn. [solved]

Post new topic  Reply to topic
 WMQ 6.0 JMS Client: takes long to close() conn. [solved] « View previous topic :: View next topic » 
Author Message
mqsnbmp1
PostPosted: Thu Mar 09, 2006 3:03 am    Post subject: WMQ 6.0 JMS Client: takes long to close() conn. [solved] Reply with quote

Apprentice

Joined: 18 Oct 2005
Posts: 25

I noticed a strange phenomenon with 6.0 client JAR's. A client that I have has 2 incoming queues (each handled by its own asynchronous session) and one outgoing queue (handled by a separate syncronous session) When application is idle and I try to shutdown it, it takes literally minutes to close JMS connection. With 5.3 JAR's it was instantaneous. Shutdown is done by a separate thread. It looks like connection is waiting for some kind of timeout(s). It would be nice to have a generic way to interrupt blocked JMS threads. Any insight/advice would be appreciated. - Thanks.

Last edited by mqsnbmp1 on Fri Mar 10, 2006 7:08 am; edited 1 time in total
Back to top
View user's profile Send private message
mqsnbmp1
PostPosted: Fri Mar 10, 2006 3:03 am    Post subject: Reply with quote

Apprentice

Joined: 18 Oct 2005
Posts: 25

I originally was just closing the connection. The issue got resolved as soon as I first started closing in a sequence all receiver channels, then all receiver sessions, then sender channels, then sender sessions, and only then the connection. Interesting observation: it takes 5 sec per asynchronous receiver channel to close (I guess this is the get-wait timeout). Everything else closes instantly. So total shutdown time = 5 sec * number_of sync_receivers.
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri Mar 10, 2006 3:24 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Thanks for the update, can you rename the topic to:
WMQ 6.0 JMS Client: takes minutes to close() connection (solved) ...

It will help others in the future ....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » WMQ 6.0 JMS Client: takes long to close() conn. [solved]
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.