Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Thridpary MDB listener Increase size

 
Praful Thakare
Ranch Hand
Posts: 642
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am not able to connects the dots between Self-Tuning Thread Pool Threads ,number of MDB's and Open connection to Queue Manager (Listeners).

Following is my setting

1 Self-Tuning Thread Pool : Default i.e 5
2) Initial Beans in Free Pool: 100
3) Max Beans in Free Pool : 200

What i see

Pool Current Count :- 100 (this is as expected)
On start up of server 105 MDB's are created (No problem with this ) (Have put static variable incrementing in constructor)
When Messages are sent to MQ (50-100) the "Beans In Use Count" under Monitoring never shows more then 16
and finally the "open MQ Count" on MQ Explorer is always 16.

Questions.

1) What do i need to change, for increasing the count of "Beans In Use Count" and "open MQ Count" on MQ Explorer to be more than 16?
2)If the Self-Tuning thread pool is 5, how come 16 beans are executed at once? or its just that 16 are picked from pool and only 5 are executed at given time?

NOTE:- I am using weblogic app server to connecto IBM MQ with JMS Module, so creating the customer WorkManager and attaching it to my listener (MDB) is not supported by weblogic, it says <Warning> <EJB> <BEA-014005> <The configured dispatch policy "com.some.workmanager.mylistener" for message driven bean (MDB) "mylistener" will be ignored: the MDB is not running in a WebLogic thread.>

-Praful
 
Vishal Salunkhe
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using bean-managed transaction or container-managed txn?

If it's former then it would be a problem, try using container maanged txn.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic