Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
11-15-2018 10:46 PM
[aims@mywiz1031 bin]$ ./java -jar /home/aims/machineagent.jar
Using Java Version [1.8.0_162] for Agent
Using Agent Version [Machine Agent v4.5.5.1784 GA compatible with 4.4.1.0 Build Date 2018-11-02 01:36:01]
[INFO] Agent logging directory set to: [/home/aims]
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
Unrecognized field "agent-runtime-dir" (class com.appdynamics.agent.sim.configuration.bootstrap.DefaultBootstrapConfiguration), not marked as ignorable (57 known properties: "agent-config-update-interval", "main-config-timeout-millis", "proxyUsePreemptiveAuth", "sam-event-update-interval-millis", "proxyPort", "client-gzip-enabled", "agent-registration-interval", "controller-port", "docker-enabled", "agent-request-max-retry-period", "account-access-key", "dotnet-compatibility-mode", "bindMountOfHostRoot", "controller-keystore-filename", "force-agent-registration", "use-simple-hostname", "credential-store-filename", "account-name", "use-encrypted-credentials", "docker-engine-url", "sam-state-update-interval-millis", "controller-keystore-password", "proxyHost", "controller-host", "extensions-max-start-time", "credential-store-password", "asymmetric-key-password", "proxyPasswordFile", "sam-config-update-interval-millis", "asymmetric-key-alias", "controller-ssl-enabled", "agent-request-max-retries", "compatibility-mode", "use-ssl-client-auth", "proxyUsername", "application-name", "machine-path", "metric-aggregator-cache-expiration-seconds" [truncated]])
at [Source: java.io.StringReader@114a85c2; line: 84, column: 44] (through reference chain: com.appdynamics.agent.sim.configuration.bootstrap.DefaultBootstrapConfiguration["agent-runtime-dir"])
Please see startup.log in the current working directory for details.
Could not log exception details to startup file. Showing on the console instead.
[aims@mywiz1031 bin]$ sudo su -
[sudo] password for aims:
Last login: Thu Nov 15 05:54:52 UTC 2018 on pts/8
[root@mywiz1031 ~]# pwd
/root
[root@mywiz1031 ~]# cd /home/aims/
[root@mywiz1031 aims]# cd jre
[root@mywiz1031 jre]# cd bin
[root@mywiz1031 bin]# pwd
/home/aims/jre/bin
[root@mywiz1031 bin]# ./java -jar /home/aims/machineagent.jar
Using Java Version [1.8.0_162] for Agent
Using Agent Version [Machine Agent v4.5.5.1784 GA compatible with 4.4.1.0 Build Date 2018-11-02 01:36:01]
[INFO] Agent logging directory set to: [/home/aims]
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
Unrecognized field "agent-runtime-dir" (class com.appdynamics.agent.sim.configuration.bootstrap.DefaultBootstrapConfiguration), not marked as ignorable (57 known properties: "agent-config-update-interval", "main-config-timeout-millis", "proxyUsePreemptiveAuth", "sam-event-update-interval-millis", "proxyPort", "client-gzip-enabled", "agent-registration-interval", "controller-port", "docker-enabled", "agent-request-max-retry-period", "account-access-key", "dotnet-compatibility-mode", "bindMountOfHostRoot", "controller-keystore-filename", "force-agent-registration", "use-simple-hostname", "credential-store-filename", "account-name", "use-encrypted-credentials", "docker-engine-url", "sam-state-update-interval-millis", "controller-keystore-password", "proxyHost", "controller-host", "extensions-max-start-time", "credential-store-password", "asymmetric-key-password", "proxyPasswordFile", "sam-config-update-interval-millis", "asymmetric-key-alias", "controller-ssl-enabled", "agent-request-max-retries", "compatibility-mode", "use-ssl-client-auth", "proxyUsername", "application-name", "machine-path", "metric-aggregator-cache-expiration-seconds" [truncated]])
at [Source: java.io.StringReader@114a85c2; line: 84, column: 44] (through reference chain: com.appdynamics.agent.sim.configuration.bootstrap.DefaultBootstrapConfiguration["agent-runtime-dir"])
Please see startup.log in the current working directory for details.
01-18-2019 05:31 AM
Hi Srinivas,
Thanks for posting the question on the Community.
Could you try to remove the 'agent-runtime-dir' xml tag from the agent controller-info.xml file, and restart the agent to check the results?
If it does not work, could you try to put below jvm option to see the results?
-Dappdynamics.agent.runtime.dir
Also, could you share your machine agent version?
Let me know if this helped you.
Many thanks,
Naoto
Thanks,
Naoto Yamamoto
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form