Configure in WSO2 BPS
1. Add a new file called bps_stats.xml to <BPS_HOME>/repository/conf/bps_stats.xml with following configurations.
</BamConfig>
Port 7612 is for when running WSO2 BAM at offset 1.
2. Add following to <BPS_HOME>/repository/conf/humantask.xml to activate Human Task Event Listener.
</TaskEventListeners>
3. Add following to <BPS_HOME>/repository/conf/bps.xml to activate BPEL Event Listener.
</tns:EventListeners>
5. To activate logging in DEBUG mode add following line to <BPS_HOME>/repository/conf/log4j.properties file.
Configure in WSO2 BAM 2.4.1
Change the BAM port offset to 1 in <BAM_Home>/repository/conf/carbon.xml
1. Change the Nodes port to 9161 in <BAM_Home>/repository/conf/etc/hector-config.xml.
<Nodes>localhost:9161</Nodes>
2. Change the port of WSO2BAM_CASSANDRA_DATASOURCE which uses for EVENT_KS. <BAM_Home>/repository/conf/datasources/bam-datasources.xml
<url>jdbc:cassandra://localhost:9161/EVENT_KS</url>
3. Add BPS_Statistics_Monitoring.tbox to WSO2 BAM after start up.
4. Dashboard displays the tenant wise BPEL and Human Task related statistics.
store human task related information.
The dashboard looks like as below.
![]() |
Figure 1 : BPEL Process List |
![]() |
Figure 2 : BPEL Process Summary with Instances |
![]() |
Figure 3 : BPEL Process Instance Details |
![]() |
Figure 4 : Human Task Summary with Instance Details |