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 Installation/Configuration Support » WebSphere WSAD MDB JMS : MDB fails after 20-30 messages

Post new topic  Reply to topic
 WebSphere WSAD MDB JMS : MDB fails after 20-30 messages « View previous topic :: View next topic » 
Author Message
toto
PostPosted: Thu Jun 16, 2005 6:40 am    Post subject: WebSphere WSAD MDB JMS : MDB fails after 20-30 messages Reply with quote

Newbie

Joined: 16 Jun 2005
Posts: 4
Location: France

Hi,

i'm using WebSphere Server 5.3 with WSAD and an MDB.
I also use OpenSTA to post many messages in the queue.

When i post 20 to 30 messages everything is normal
(the messages are read and put in a output queue using jms).
but with more messages, the MDB read only a few number of messages and then stops.

I don't have any errors anywhere so i'm perplex...

i have try different configurations (pool connection and session)
for the QM Factory ,and also the configuration of the port
but it didn't change anything.

any clue ?

Thanxs in advance

Franck
Back to top
View user's profile Send private message
bower5932
PostPosted: Thu Jun 16, 2005 7:47 am    Post subject: Reply with quote

Jedi Knight

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

What version of WMQ are you using (mqver command)? There were some fixes put in at CSD 4 and later to address MDBs that stopped receiving messages.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
fjb_saper
PostPosted: Thu Jun 16, 2005 2:43 pm    Post subject: Reply with quote

Grand High Poobah

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

As well check your messages:
Std behavior:
If the message causing an ejb exception (check std MDB exception causing rollback) cannot be reprocessed in the alloted number of times specified on the MDB you are in presence of a poison message and the MDB stops.

Let's see: an MDB with 10 instances on the queue.
100 messages on the queue. 1st message is a poison message.
1 MDB instance stops while 9 are processing
2 MDB instance stops while 8 are processing
3 MDB instance stops while 7 are processing
.....
9 MDB instance stops while 1 is processing
10 last MDB instance stops (number of retries exceeded)

You have successfully shut down all processing from that queue through MDB with just 1 poison message. Congrats !

To avoid this specify a backout count at least 1 less than the retry count.
Backout count is specified as a queue attribute. Retry count is an MDB attribute.

Enjoy
Back to top
View user's profile Send private message Send e-mail
toto
PostPosted: Mon Jun 27, 2005 12:32 am    Post subject: Reply with quote

Newbie

Joined: 16 Jun 2005
Posts: 4
Location: France

-> bower5932 : i have already patched my WMQ so wasn't that

-> fjb_saper : i checked all my messages and they were no poison messages.

The problem was elsewhere : we used a java class to open JMS connections but they were not closed at the end ...

sorry for such a easy mistake

franck
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » WebSphere WSAD MDB JMS : MDB fails after 20-30 messages
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.