ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

APM Agent logs throwing - An exception occurred checking directives files


Article ID: 187837


Updated On:


CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE DX Application Performance Management


During the Application Server restart, APM agent failed to initialize. the following errors are seen in the IntroscopeAgent.log file:

3/16/20 06:10:43 PM SGT [ERROR] [IntroscopeAgent.Agent] An exception occurred checking directives files
3/16/20 06:10:43 PM SGT [DEBUG] [IntroscopeAgent.Agent] 

 at com.wily.introscope.autoprobe.AutoProbeTransformer$DirectivesCheckHeartbeatBehavior.testAndSetDirectivesTimestamps(
 at com.wily.introscope.autoprobe.AutoProbeTransformer$DirectivesCheckHeartbeatBehavior.ITimestampedRunnable_execute(
 at com.wily.util.heartbeat.IntervalHeartbeat$BehaviorNode.execute(
 at com.wily.util.heartbeat.IntervalHeartbeat.executeNextBehaviorAndCalculateSleepTime(
 at com.wily.util.heartbeat.IntervalHeartbeat.access$2(
 at com.wily.util.heartbeat.IntervalHeartbeat$


The Agent was installed using a non-root user and the agent home directory had permissions 750


APM Java Agent 10.x on Linux/Unix



Change the permissions of the agent home directory to 755. We need to have read/execute permissions for all users if the agent is installed with a non-root user.