File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes Thridpary MDB listener Increase size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Thridpary MDB listener Increase size " Watch "Thridpary MDB listener Increase size " New topic

Thridpary MDB listener Increase size

Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 642

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.


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.>


All desirable things in life are either illegal, banned, expensive or married to someone else !!!
Vishal Salunkhe

Joined: Apr 07, 2011
Posts: 1
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.
I agree. Here's the link:
subject: Thridpary MDB listener Increase size
It's not a secret anymore!