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 » JMS MQ Threadpooling, Connection Pooling

Post new topic  Reply to topic
 JMS MQ Threadpooling, Connection Pooling « View previous topic :: View next topic » 
Author Message
CHF
PostPosted: Tue Nov 22, 2005 6:44 am    Post subject: JMS MQ Threadpooling, Connection Pooling Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

We are on AIX and MQ 5.3 CSD 9.

We have a MDB running and 2 Message Listeners.

WebSphere MQ Queue Connection Factories:
Connection Pools
Max Connections : 20
Min Connections : 2

For each Message Listener I have defined,

Message Listener Service\Listener Ports
Maximum sessions : 10
Maximum retries : 100
Maximum messages : 1

Message Listener Service\Thread Pool
Minimum Size : 10
Maximum Size : 50

The problem we are facing is that, if we put 20 messages at a time on the message listener queue, MDB is spanning 10 instances and picking 10 messages and processes them, after that its hanging and not picking any messages.

Did we have thing wrong is configuration or is the problem something else?

Thanks in advance.
_________________
CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
CHF
PostPosted: Tue Nov 22, 2005 10:28 am    Post subject: Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

No replies???
_________________
CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jefflowrey
PostPosted: Tue Nov 22, 2005 10:30 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It's not clear if your problem is that the MDBs stop, or that they are spawning too many instances.

Are there any errors in your app server logs when the MDBs stop?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
CHF
PostPosted: Tue Nov 22, 2005 10:41 am    Post subject: Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

I am forcing my MDB for 10 instances.

The problem is, if I put 15 messages, it is picking first 10messages after that its just stops. I don't see any errors.

On the queue, Input count says '11' and messages are piling up in the queue.

Is there a possibility that MDB is not releasing the connection pool??
_________________
CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jefflowrey
PostPosted: Tue Nov 22, 2005 10:48 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The first thing to look at is your MDB code.

The 11 connections is correct, by the way.

There have also been other threads here about MDB listeners locking up, but I don't recall the details.

Also, are you actually using WAS? Or a different App Server?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
CHF
PostPosted: Tue Dec 06, 2005 7:10 pm    Post subject: Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

We just found that its a WAS problem there is a fixpack available. Hope it will help other users.

http://www-1.ibm.com/support/docview.wss?rs=180&context=SSEQTP&dc=DB520&dc=D600&dc=DB530&dc=D700&dc=DB500&dc=DB540&dc=DB510&dc=DB550&q1=mdb&uid=swg21215885&loc=en_US&cs=utf-8&lang=en

Thanks.
_________________
CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » JMS MQ Threadpooling, Connection Pooling
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.