|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
WMQ 6.0 JMS Client: takes long to close() conn. [solved] |
« View previous topic :: View next topic » |
Author |
Message
|
mqsnbmp1 |
Posted: Thu Mar 09, 2006 3:03 am Post subject: WMQ 6.0 JMS Client: takes long to close() conn. [solved] |
|
|
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 |
|
 |
mqsnbmp1 |
Posted: Fri Mar 10, 2006 3:03 am Post subject: |
|
|
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 |
|
 |
wschutz |
Posted: Fri Mar 10, 2006 3:24 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|