.NET Agent autorpobe fails due to invalid syntax in loaded pbd files
search cancel

.NET Agent autorpobe fails due to invalid syntax in loaded pbd files

book

Article ID: 214194

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

The APM 10.7 .Net agent is installed but instrumentation is failing due to the following error in the Autoprobe log

 

**************************************************************************************************************************************************************************************************************************************************************************************
Unable to instrument.  Invalid settings provided: 1 (D:\Temp\wily\extensions\SpringMonitoring\directives\spring-ws.pbd:44) Syntax Error: invalid descriptor.  The expected syntax is "TraceOneMethodWithParametersIfFlagged: <Tracer-group> <method> <Tracer-name> <Resource-Metric>".
**************************************************************************************************************************************************************************************************************************************************************************************

 

Environment

Release : 10.7.0

Component : APM Agents

Cause

The customer had both .Net and Java agents installed on the same system and the .Net agent was picking up extensions from the java agent installation as can be seen in the .Net agent log file

 

4/23/21 08:17:43 PM GMT+02 [INFO] [IntroscopeAgent.Agent] Agent Release 10.7.0.197 (Build 992906)
4/23/21 08:17:43 PM GMT+02 [INFO] [IntroscopeAgent.Agent] Using CLR version 4.0.30319.42000
4/23/21 08:17:43 PM GMT+02 [INFO] [IntroscopeAgent.Agent] Trying to load agent profile based on system property "com.wily.introscope.agentProfile"
4/23/21 08:17:43 PM GMT+02 [INFO] [IntroscopeAgent.Agent] Trying to load file from D:\CA APM\wily\IntroscopeAgent.profile
4/23/21 08:17:43 PM GMT+02 [INFO] [IntroscopeAgent.Agent] Loaded file from D:\CA APM\wily\IntroscopeAgent.profile
4/23/21 08:17:43 PM GMT+02 [INFO] [IntroscopeAgent.Agent] Loading: D:\Temp\wily\extensions\CloudProvider\bundle.properties
4/23/21 08:17:43 PM GMT+02 [INFO] [IntroscopeAgent.Agent] Loading: D:\Temp\wily\extensions\SpringMonitoring\bundle.properties
4/23/21 08:17:43 PM GMT+02 [INFO] [IntroscopeAgent.Agent] Loading: D:\Tomcat9\wily\extensions\AwsTracing\bundle.properties
4/23/21 08:17:43 PM GMT+02 [INFO] [IntroscopeAgent.Agent] Loading: D:\Tomcat9\wily\extensions\CloudProvider\bundle.properties

Resolution

To force the agent to look in the .Net agent installation folder modify the following property value in the IntroscopeAgent.profile to point to the absolute path for the .Net agent extensions
 
change
 
introscope.agent.extensions.directory=extensions
 
to
 
introscope.agent.extensions.directory=D:\CA APM\wily\extensions