Adjusting the EJB container pool size for an individual EJB
 Technote (troubleshooting)
 
Problem(Abstract)
How do I adjust the EJB container pool size for an individual EJB?
 
Resolving the problem
To adjust the EJB container pool size for an individual EJB you must add a system property to the server the EJB is on. The property value must be of the form:
APPLICATION_NAME#MODULE_NAME#BEAN_NAME=min,max

To find out these 3 pieces of information (APPLICATION_NAME, MODULE_NAME and BEAN_NAME), open the administrative console and do the following:
  1. APPLICATION_NAME:
    1. Navigate to Applications -> Enterprise Applications -> <application name>
    2. The value is the Name property on this page.
  2. MODULE_NAME
    1. Navigate to Applications -> Enterprise Applications -> <application name> -> EJB Modules
    2. There should be one or more links here for the different EJB modules in this application. The value is the name of the link for the EJB module that holds the EJB.
  3. BEAN_NAME:
    1. Navigate to Applications -> Enterprise Applications -> <application name> -> EJB Modules -> <ejb module name> -> View Deployment Descriptor
    2. Open the bean section for the bean you are looking for, i.e. Entity Beans if this is an entity bean.
    3. There should be an EJB Name property in the tree you just opened. The value is the EJB Name of the EJB you are setting the property for.

The min and max values are the minimum and maximum values for the pool size for this EJB.

The following images contain examples of finding these names. The examples turn into the following value (60 and 100 are arbitrary numbers used as the minimum and maximum values in this example):

DefaultApplication.ear#Increment.jar#Increment=60,100

appname.bmpmodulename.bmpbeanname.bmp

To verify that the value has been changed, the following entry should appear in the SystemOut.log file for the server the EJB is deployed on:

[10/26/04 18:36:35:719 CDT] 3cd8aa36 BeanMetaData I CNTR0060I: (Min,Max) pool size is (60,100) for bean com.ibm.defaultapplication.IncrementBean
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > EJB Container
Operating system(s): Windows
Software version: 5.0
Software edition:
Reference #: 1200383
IBM Group: Software Group
Modified date: Aug 31, 2006