BAM 1.0.0 feedback

1. Installation - Installation as always very easy: just extract an archive. I decided to run BAM on a separate computer to avoid any problems with prots and contexts.
2. Configuring "Monitored Servers - It's easy to add a server but impossible to edit or remove one ;-) I have a WSAS server with standard context "carbon" and standatd https port 9443. So I add a server:
  • URL = https://my-wsas-host:9443
  • Collection Method = Polling (the easiest configuration)
  • admin user/password for my WSAS server
The first error that I received in the log:
org.apache.axis2.AxisFault: sun.security.validator.ValidatorException: 
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: 
unable to find valid certification path to requested target
This is because my certificate on WSAS is not standard and not signed. So I have to stop the BAM server, go into "%wso2bam-1.0.0%\resources\security\" directory. And import a certificate from my WSAS server into "client-truststore.jks". So I used this command:
keytool -import -alias %MY-WSAS-CERTIFICAT-NAME% -keystore client-truststore.jks -storepass wso2carbon -file %MY-WSAS-CERTIFICAT-NAME.crt%
After this, I start again BAM server and magic: I see the statistics from my WSAS server!

Notes for future BAM versions:

  • There should be ability to edit and delete monitored servers.
  • There should be a status of the monitored server like: Ok, Failed. I should not go into the log to see my problem
  • Trusted key store manager must be accessed through "Key Store Management" screen. I think, this is common issue of Carbon platform.
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)