Knowledge Base

cancel
Showing results for 
Search instead for 
Did you mean: 

Java Machine Agent not reporting metrics due to JSON Mapping Exception

Problem:

The Java Machine Agent is not reporting metrics. The following error message is displayed in the Machine Agent logs:

[extension-scheduler-pool-1] 11 October 2017 08:54:03,625 ERROR RawCollectorUtil - 
Could not collect raw data
 com.fasterxml.jackson.databind.JsonMappingException: Unrecognized character escape ‘d’ (code 100)

at [Source: java.io.StringReader@5ae97f86; line: 159; column: 115453]
at [Source: java.io.StringReader@5ae97f86; line: 159; column: 115453] (through reference chain:
com.appdynamics.sim.agent.extensions.servers.model.newlinux.Process][“effectiveGroup”])


Solution:

Restart the machine agent with the following startup parameter:

-Dappdynamics.machine.agent.extensions.linux.newFrameworkEnabled=false


Example
java -Dappdynamics.machine.agent.extensions.linux.newFrameworkEnabled=false -jar machineagent.jar

Version history
Revision #:
5 of 5
Last update:
‎05-08-2020 10:59 PM
Updated by:
 
Labels (1)


Found this article helpful? Click the Thumbs Up button.
Have an additional comment? Post it below.
0 Kudos


Found this article helpful? Click the Thumbs Up button.
Have an additional comment? Post it below.