Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

You can change the JMX configuration by editing the jmx.xml file, which is inside <BPS_HOME>/repository/conf/advanced directory. You can configure JMX ports, RMIRegistryPort and RMIServerPort from the "Ports" section of the carbon.xml, which is in <AS<BPS_HOME>/repository/conf directory.

...

Once the console is opened, you can connect to Carbon by providing the following URL as the Remote Process URL. You can type in the default username and password combination admin/admin to login. Note that this is the same administrator account that is used to log into the Application Server's the Management Console. Any user having the admin role can login to JMX.

Image Modified

The "Jave Monitoring & Management Console" opens. The first window you see looks similar to the following:

Image Modified

Click on the "MBeans" tab to see the "org.wso2.carbon" domain, which contains some MBeans as follows:

Image Added

Instance MBean

Instance MBean is used to monitor instance information about the current instances in BPS.

You can see an attribute named "InstanceInfoFromInstanceId" within instance MBean. This consists of a String array with information about all instances currently resides in BPS.

(tip- to get the content of the information array, double click on it)

You can find the following information about an instance

  • Instace id
  • Process id
  • Status of the instance
  • Started date and time
  • Last activate date and time

Image Added

Process MBean

Process MBean is used to Monitor processes in BPS.

The Process MBean has the following operations

  • retireProcess - Retire a currently deployed process.
  • activateProcsess- Activate a currently deployed process
  • disableProcess- Disable a currently deployed process.

Image Added

You can see an attribute named "ProcessStates" within process MBean. This consists of a String array with information about all BPEL processes currently resides in BPS.

(tip- to get the content of the information array, double click on it)

You can find the following information about a currently deployed processes.

  • Process name
  • Version
  • State 

Image Added

Input format for operations

You need to give the local part of the process name with the version of the process in order to do a task on a particular process. The format should be "local name of the process-version of the process".

As an example if you want to retire "HelloWorld2" process, you need to give the input as HelloWorld2-2.

Like wise you can do other two operations on processes which are already deployed in BPS by using Process MBean operations.

Instance Status Monitor MBean

Process MBean is used to get information about process faliures and instance faliures. In order to get notifications on failures you need to subscribe to notifications.

  1. Click on "Notifications" under InstanceStatusMonitor Mbean.
  2. Click on "Subscribe" in order to subscribe to the notifications.

Image Added