Page History
...
- Download WSO2 BAM 2.5.0 from location: http://wso2.com/products/business-activity-monitor.
Apply an offset of 3 to the default BAM port by editing the
<BAM_HOME>/repository/conf/carbon.xml
file.Code Block language html/xml <Offset>3</Offset>
This increments all ports used by the server by 3, which means the BAM server will run on port 9446. Port offset is used to increment the default port by a given value. It avoids possible port conflicts when multiple WSO2 products run in same host.
InAnchor point3 point3 <BAM_HOME>/repository/conf/datasources/bam_datasources.xml
file, copy/pasteWSO2AM_STATS_DB
definition from the API Manager'smaster-datasources.xml
file. You edited it in step 2.WSO2AM_STATS_DB
is used to fetch analytical data from the database.
Give the hostname as localhost in
.Tip Tip: If you are using BAM 2.4.1, be sure to uncomment the
<thriftDataReceiver><hostName>
element in the<BAM_HOME>/repository/conf/data-bridge/data-bridge-config.xml
fileTip Tip: If you are running the BAM on a different server than the one that the API Manager runs on, give the IP address instead of localhost. If you are using BAM 2.4.1 or older, be sure to uncomment this element.
Code Block language xml <thriftDataReceiver> <hostName> <!-- Give localhost or the BAM host IP --> </hostName> <port>7611</port> <securePort>7711</securePort> </thriftDataReceiver> and give the BAM host IP there.
Restart BAM server by running
<BAM_HOME>/bin/wso2server.[sh/bat]
.
Troubleshoot common issues
...