Problem
- Product Name: Borland Enterprise Server
- Product Version: 5.2.1
- Product Component: EJB Container
- Platform/OS Version: All
- JDK/Compiler Version: JDK 1.4.1
How to view number of MDBs in EJBContainer Pool ?
Resolution
To view the number of Message Driven Beans in the EJBContainer turn on verbose statistics in the ejbcontainer using the following steps:
- Open management console
- right click on the EJB Container service in the partition.
- change Trace Level to "1 - Verbose". ( this is the first option on the first panel )
When running the EJB container as a a stand alone container, add the -DEJBDebug parameter in the startup script of the container.
You can look for "*mdb* MDB Pool size after dispatch = ##" statement in the logs generated.
In addition to that, the following properties can be used to specify limits to the number of Message Driven Beans in the EJB Container pool.
ejb.mdb.threadMax [Maximum number of threads allowed in the MDB thread pool.
DEFAULT: no limit]
ejb.mdb.threadMin [Minimum number of threads allowed in the MDB thread pool.
DEFAULT 0]
#EJBDebug
#mdb
#VisiBroker
#BES
#Security
#ejb.mdb.threadMax
#ejb.mdb.threadMin




