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 !!!
Joined: Apr 07, 2011
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.