Program guide > (deprecated) Partitioning facility > Manage the partitioning facility environment > Performance monitoring > Partitioning facility PMI statistics parameters


Deprecated feature: The partitioning facility (WPF) feature is deprecated. You can configure partitioning with WebSphere eXtreme Scale.


Application name and session EJB

Partitions are grouped by the application name and the session Enterprise JavaBeans™ (EJB) name. When subscribing the partitioning facility PMI statistics, users have to specify the application name and the session EJB name.

Users can use the following command to set the EJB name and the application name for one PMI subscription.

wpfadmin.bat|wpfadmin setEJBName EJB_NAME [--a APPLICATION_NAME] --id PMI_SUBSCRIPTION_ID

-a is used to specify the application name.

You can choose to use a fully qualified EJB name or not. For example, if users want to change the EJB name to session2 and application name to app2, you can execute either of the following commands:

Users can also use Java™ code, jacl script, or jython script to get the com.ibm.websphere.wpf.jmx.WPFJMX MBean instance, and change the statistics type via the MBean.

  1. Run wpfadmin setEJBName WPFKeyBasedPartitionSample#NonExistentSessionBean --id 1. Notice NonExistentSessionBean EJB does not exist in the application.

  2. Wait for 60 seconds, and retrieve the statistics by executing wpfadmin getResponseTime --id 1. You will not see any statistics as expected.

  3. Run wpfadmin setEJBName WPFKeyBasedPartitionSample#WPFKeyBasedPartition --id 1

  4. Wait for 60 seconds, and retrieve the statistics by executing wpfadmin getResponseTime --id 1. You will see the statistics again.


Parent topic:

Partitioning facility PMI statistics parameters


Related concepts

Partitioning facility PMI statistics parameters