WebSphere Application Server Network Deployment, Version 6.1
             Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

             Personalize the table of contents and search results

MBeans for object pool managers and object pools

Legacy MBean names for object pool managers and object pools are deprecated. The legacy names are based on the object pool manager name (which is not required to be unique) rather than the object pool manager JNDI name.

About this task

For object pools, the legacy name is also lacking any identifier of the version of the pooled class. Additionally, object pool Performance Monitoring Instrumentation (PMI) statistics are aggregated for object pools with the same legacy object pool MBean name.

For example, if the object pool manager and pooled class are as follows:
object pool manager name:               My ObjectPool
object pool manager JNDI name:          op/MyObjectPool
pooled class name:                      java.util.ArrayList
hash code of java.util.ArrayList.class: 1111eb3f (hexadecimal)

the legacy object pool manager MBean name will be:

ObjectPoolManager_My ObjectPool

and the legacy object pool MBean name will be:

ObjectPool_My ObjectPool_java.util.ArrayList

Instead of using the deprecated legacy MBean names, use the MBean names that are based on the JNDI name of the object pool manager.

For the example above, the JNDI name-based object pool manager MBean name is:
ObjectPoolManager_op/MyObjectPool

and the JNDI name-based object pool MBean name is:

ObjectPool_op/MyObjectPool_java.util.ArrayList.class@1111eb3f

Formats for MBean names

Type Name format
Deprecated legacy object pool manager MBean name: ObjectPoolManager_[object pool manager name]
JNDI name-based object pool manager MBean name: ObjectPoolManager_[object pool manager JNDI name]
Deprecated legacy object pool MBean name: ObjectPool_[object pool manager name]_[pooled class name]
JNDI name-based object pool MBean name: ObjectPool_[object pool manager JNDI name]_[pooled class name].class@[hexadecimal representation of the hash code of the pooled class' java.lang.Class reference]

In all of the above formats, characters that are not valid for MBean names are replaced with the '.' character.




In this information ...


Related tasks

IBM Redbooks, demos, education, and more


Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

IBM Suggests
Task topic    

Terms of Use | Feedback

Last updated: Feb 25, 2009 9:32:38 AM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.nd.multiplatform.doc/info/ae/asyncbns/ref/rasb_objpoolmbeans.html