APM - Unable to load agent extensions bundles profile because of .../extensions/Extensions.profile (No such file or directory)

book

Article ID: 207510

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

Why are we getting below error regarding the agent extension that seems to be picking up the wrong Extension directory? Is there any impact?

[DEBUG] [IntroscopeAgent.Agent] Trying to load agent extensions bundles profile from resource from the class path based on system property "com.wily.introscope.extensionsResource"
[DEBUG] [IntroscopeAgent.Agent] Unable to load agent extensions bundles profile because the system property could not be found
[INFO] [IntroscopeAgent.Agent] Loaded agent.jar from opt/app/introscope/wily_bpel/
[DEBUG] [IntroscopeAgent.Agent] Trying to load agent extensions bundles profile based on the working directory at: /u01/app/oracle/admin/soa_domain/mserver/soa_domain/opt/app/introscope/wily_bpel/extensions/Extensions.profile
[DEBUG] [IntroscopeAgent.Agent] Unable to load agent extensions bundles profile because of: java.io.FileNotFoundException /u01/app/oracle/admin/soa_domain/mserver/soa_domain/opt/app/introscope/wily_bpel/extensions/Extensions.profile (No such file or directory)

Environment

Any APM agent

Resolution

Those messages are harmless and can be safely ignored as the DEBUG logging is giving a false impression of an error but the extension is loaded correctly (as seen later on in the IntroscopeAgent.logs). The erroneous path is based on the current working directory of the java process, hence the reason is trying to look at the extensions on a different directory:

[INFO] [IntroscopeAgent.Agent] re-loading configuration resource /opt/app/introscope/wily_bpel/core/config/IntroscopeAgent.profile
[INFO] [IntroscopeAgent.Agent] Looking for agent profile property "introscope.agent.extensions.directory" to locate the extensions directory.
[INFO] [IntroscopeAgent.Agent] The agent extensions directory /opt/app/introscope/wily_bpel/core/ext was successfully located
[INFO] [IntroscopeAgent.Agent] Agent property introscope.agent.extensions.bundles.mode set at dynamic
[INFO] [IntroscopeAgent.Agent] Looking for agent profile property "introscope.agent.extensions.bundles.directory" to locate the extensions directory.
[INFO] [IntroscopeAgent.Agent] The agent extensions directory /opt/app/introscope/wily_bpel/extensions was successfully located
[DEBUG] [IntroscopeAgent.Agent] Trying to load agent extensions bundles profile based on system property "com.wily.introscope.extensionsProfile"
[DEBUG] [IntroscopeAgent.Agent] Unable to load agent extensions bundles profile because the system property could not be found
[DEBUG] [IntroscopeAgent.Agent] Trying to load agent extensions bundles profile based on system property "extensionsProfile"
DEBUG] [IntroscopeAgent.Agent] Unable to load agent extensions bundles profile because the system property could not be found
[DEBUG] [IntroscopeAgent.Agent] Trying to load agent extensions bundles profile from resource from the class path based on system property "com.wily.introscope.extensionsResource"
[DEBUG] [IntroscopeAgent.Agent] Unable to load agent extensions bundles profile because the system property could not be found
[INFO] [IntroscopeAgent.Agent] Loaded agent.jar from opt/app/introscope/wily_bpel/
[DEBUG] [IntroscopeAgent.Agent] Trying to load agent extensions bundles profile based on the working directory at: /u01/app/oracle/admin/soa_domain/mserver/soa_domain/opt/app/introscope/wily_bpel/extensions/Extensions.profile
[DEBUG] [IntroscopeAgent.Agent] Unable to load agent extensions bundles profile because of: java.io.FileNotFoundException /u01/app/oracle/admin/soa_domain/mserver/soa_domain/opt/app/introscope/wily_bpel/extensions/Extensions.profile (No such file or directory)
[DEBUG] [IntroscopeAgent.Agent] Trying to load agent extensions bundles profile based on the working directory at: /opt/app/introscope/wily_bpel/extensions/Extensions.profile
[INFO] [IntroscopeAgent.Agent] Loaded Extensions.profile from /opt/app/introscope/wily_bpel/extensions/Extensions.profile

 

So those DEBUG messages are harmless and can safely be ignored.