We are trying to configure the browser agent to see metrics via AXA. The agent we are using for the AXA test is a WAS z/OS agent with 10.7 SP3 agent version, using the NoRedef agent jar and profile. We are getting the following error messages:
[ERROR] [IntroscopeAgent.BrowserAgent] /products/wily/V1073/PU/wily/core/ext/../config/iSSNRC.basnippet, this snippet file is empty or not readable.
[WARN] [IntroscopeAgent.BrowserAgent] Value for the property introscope.agent.browseragent.autoInjection.iSSNRC.snippetLocation is not provided or invalid
[WARN] [IntroscopeAgent.Agent] Cannot load permanent dynamic instrumentation
We verified that /products/wily/V1073/PU/wily/core/config/iSSNRC.basnippet is readable, and is a valid file. We observed the javascript code inside the basnippet file is broken up over multiple lines, instead of on a single line.
Release : 10.7 SP3
Component : APM Agents
To change snippetLocation and includeURLsRegex properties without having to reload the app, then change the appID property too:
introscope.agent.browseragent.autoInjection.appID=iSSNRC
introscope.agent.browseragent.autoInjection.iSSNRC.snippetLocation=../config/iSSNRC.basnippet
introscope.agent.browseragent.autoInjection.iSSNRC.includeURLsRegex=.*action.*
Becomes:
introscope.agent.browseragent.autoInjection.appID=iSSNRC1
introscope.agent.browseragent.autoInjection.iSSNRC1.snippetLocation=../config/iSSNRC.basnippet
introscope.agent.browseragent.autoInjection.iSSNRC1.includeURLsRegex=.*action.*
Just change the appID to something else and the properties will be reloaded. Presales engineers typically switch between 0 and 1.