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 » Listener just stops responding

Post new topic  Reply to topic
 Listener just stops responding « View previous topic :: View next topic » 
Author Message
tarunmq1
PostPosted: Mon Oct 15, 2007 7:46 am    Post subject: Listener just stops responding Reply with quote

Newbie

Joined: 15 Oct 2007
Posts: 7

Hi,

I am seeing a weird issue on our production environment. I have two Q managers connecting to one instance of WAS(5.2) with two inbound queues (one on each Q mgr). I have MDBs listening on these Q via the listener ports, the usual configuration. Lot of times the messages would just stop getting processed. We have alerts set so we come to know once the msg count hits the threshold and then when i check the logs i don't see any exception. i check the listener port and the admin console shows it in the running state. Sometimes both the Q would stop processing messages, sometimes one would be fine but the other wouldn't be. This morning, one Q was fine but the other was not processing anything and this has happened before too. Is there anything in particular i should be looking for? Is there like a memory leak happening? Does the MDB just gets cleaned up or something or is it that the other MDB uses all the connections and the second one doesn't get any? (we have 10 in the pool)

Thanks in advance,
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Oct 15, 2007 7:58 am    Post subject: Reply with quote

Grand High Poobah

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

How are you handling poison messages
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
tarunmq1
PostPosted: Mon Oct 15, 2007 8:05 am    Post subject: Reply with quote

Newbie

Joined: 15 Oct 2007
Posts: 7

For one of the Q (the one which stopped processing today), i have a backout Q defined. After one retry i move them to the backout Q. For the other i don't have a backout. I keep rolling back. For this one i have defined the max retries as the max no. 2147483647
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Oct 15, 2007 8:20 am    Post subject: Reply with quote

Grand High Poobah

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

tarunmq1 wrote:
For one of the Q (the one which stopped processing today), i have a backout Q defined. After one retry i move them to the backout Q. For the other i don't have a backout. I keep rolling back. For this one i have defined the max retries as the max no. 2147483647

You need to define the max retry of the MDB > Q bothresh > 0
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
tarunmq1
PostPosted: Mon Oct 15, 2007 8:26 am    Post subject: Reply with quote

Newbie

Joined: 15 Oct 2007
Posts: 7

That's what i have. For the Q for which i have backout, the MDB retries are 2 and the Q bothreshold is 1 which allows the msg to move to the bo Q.
For the other one i don't have a backout so it shouldn't matter, right.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Oct 15, 2007 2:00 pm    Post subject: Reply with quote

Grand High Poobah

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

tarunmq1 wrote:
For the other one i don't have a backout so it shouldn't matter, right.

Wrong..., If you bo threshold is 0 and you get a poison message the MDB will stop the service (msg retry > MDB retry).
In order for WAS to put the message to the DLQ you need to have
MDB retry > bothresh > 0 If the BO is not configured the message is put to the DLQ by the WAS MDB. If you are not running on WAS you might have to code some of it yourself...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
tarunmq1
PostPosted: Tue Oct 16, 2007 6:28 am    Post subject: Reply with quote

Newbie

Joined: 15 Oct 2007
Posts: 7

For one Q i have bo configured and as i mentioned in my previous post, for this particular Q MDB retries (2) > bothreshold (1) so then theoretically this should never stop. The poison msg should go to the bo Q i have specified then why are the msgs getting stuck on this Q? I am using WAS 5.2 and the version of MQ is 5.3. There was a typo in my earlier post.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Oct 16, 2007 2:11 pm    Post subject: Reply with quote

Grand High Poobah

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

Make sure the version of WAS + fix pack and the version of MQ + CSD are compatible.

When we moved beyond MQ 5.3 CSD 4 we had to have some patches applied to WAS (5.x)...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Listener just stops responding
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.