How to configure the Browser Agent v10 with Websphere 8.5.5 apps?

Document ID : KB000045266
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

How to configure the Browser Agent v10 with Websphere 8.5.5 apps?

Answer:

1. Open the IntroscopeAgent.profile, set introscope.agent.browseragent.enabled=true

2. Set introscope.autoprobe.directivesFile=websphere-typical.pbl,hotdeploy

3. Open the above pbl and uncomment the below line:
#browseragent.pbd

4. Copy the AGENT_HOME\examples\APM\BrowserAgent\ext\BrowserAgentExt.jar to the AGENT_HOME\core\ext directory.

5. Restart the appserver

6. In the autorpobe log, you find references to BRTMTracer:

0.png
 
7. Below results when enabling BRTM for default Websphere apps: IBM console and PlantsByWesphere:

IBM Console app:

- Put activity and check if snippet.js is being inserted

i1.png 

- View source page

i2.png

- Check browser agent metrics in the investigator:

i3.png 

NOTE: Use a supported client browser, the below tests have been done using Chrome 50, during testing it was found that when using FF v24 no browser agent activity is recorded: http://www.ca.com/us/support/ca-support-online/product-content/status/compatibility-matrix/application-performance-management-compatibility-guide.aspx

PlantsByWesphere

- Put activity and check if snippet.js is being inserted

i4.png 

- View source page, unfortunately, no snippet.js is inserted

i5.png 

- In the workstation, no additional node is added:

i6.png 

- BRTM does not support automatic js insertion for pages xhtml, you need to add the snippet manually.
For PlantsByWesphere, promo.jsf/.xhtml has the reference to the xhtml template

i7.png 

- Inserted snippet.js to the PlantTemplate.xhtml

i8.png 

- Restarted WAS
- Put activity and check if snippet.js is being inserted. It is as expected.

i9.png 

- Verify browser agent metrics in the investigator:

i10.png