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
01-16-2019 12:13 PM - last edited on 03-18-2021 10:20 AM by Ryan.Paredez
I am trying to use the java agent to evaluate appdynamics. The agent will not start, where I expect to see the agent startup messages I see this:
Java 9 detected, booting with Java9Util enabled.
Unable to locate appagent version to use - Java agent disabled
JRE Oracle Corporation/11.0.1 is not supported, advanced source lookup disabled.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/Users/prubin.INGRNET/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/prubin.INGRNET/.m2/repository/org/apache/activemq/activemq-all/5.15.7/activemq-all-5.15.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
The first two lines (in bold) showed up when I added the -javaagent:.. to the command line.
I could really use some guideance to debug this issue further.
Thanks
Paul.
Solved! Go to Solution.
01-16-2019 12:16 PM
Paul,
What version of the java agent are you using? Java 11 support was ony added in 4.5.5 so no earier version will work in this scenario.
Warm regards,
Peter
01-17-2019 05:03 AM
The version that the controller downloaded to me is AppServerAgent-4.5.6.24621
01-17-2019 05:53 AM
That should be fine then; can you share the full JVM command line?
01-17-2019 05:59 AM
C:\Program Files\Java\jdk-11.0.1\bin\javaw.exe -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:59749 -ea -javaagent:/Users/prubin.INGRNET/Downloads/AppServerAgent-4.5.6.24621/javaagent.jar "-javaagent:C:\Users\prubin.INGRNET\eclipse\jee-2018-09\eclipse\configuration\org.eclipse.osgi\1008\0\.cp\lib\javaagent-shaded.jar" -Dfile.encoding=UTF-8 -classpath "C:\Users\prubin.INGRNET\git\devutil\framework\target\test-classes;C:\Users\prubin.INGRNET\git\devutil\framework\target\classes;C:\Users\prubin.INGRNET\.p2\pool\plugins\org.junit.jupiter.api_5.1.0.v20180327-1502.jar;C:\Users\prubin.INGRNET\.p2\pool\plugins\org.junit.jupiter.engine_5.1.0.v20180327-1502.jar;C:\Users\prubin.INGRNET\.p2\pool\plugins\org.junit.jupiter.migrationsupport_5.1.0.v20180327-1502.jar;C:\Users\prubin.INGRNET\.p2\pool\plugins\org.junit.jupiter.params_5.1.0.v20180327-1502.jar;C:\Users\prubin.INGRNET\.p2\pool\plugins\org.junit.platform.commons_1.1.0.v20180327-1502.jar;C:\Users\prubin.INGRNET\.p2\pool\plugins\org.junit.platform.engine_1.1.0.v20180327-1502.jar;C:\Users\prubin.INGRNET\.p2\pool\plugins\org.junit.platform.launcher_1.1.0.v20180327-1502.jar;C:\Users\prubin.INGRNET\.p2\pool\plugins\org.junit.platform.runner_1.1.0.v20180327-1502.jar;C:\Users\prubin.INGRNET\.p2\pool\plugins\org.junit.platform.suite.api_1.1.0.v20180327-1502.jar;C:\Users\prubin.INGRNET\.p2\pool\plugins\org.junit.vintage.engine_5.1.0.v20180327-1502.jar;C:\Users\prubin.INGRNET\.p2\pool\plugins\org.opentest4j_1.0.0.v20180327-1502.jar;C:\Users\prubin.INGRNET\.p2\pool\plugins\org.apiguardian_1.0.0.v20180327-1502.jar;C:\Users\prubin.INGRNET\.p2\pool\plugins\org.junit_4.12.0.v201504281640\junit.jar;C:\Users\prubin.INGRNET\.p2\pool\plugins\org.hamcrest.core_1.3.0.v20180420-1519.jar;C:\Users\prubin.INGRNET\git\devutil\annotations\target\classes;C:\Users\prubin.INGRNET\git\devutil\generator\target\classes;C:\Users\prubin.INGRNET\.m2\repository\org\apache\velocity\velocity-engine-core\2.0\velocity-engine-core-2.0.jar;C:\Users\prubin.INGRNET\.m2\repository\org\apache\commons\commons-lang3\3.5\commons-lang3-3.5.jar;C:\Users\prubin.INGRNET\.m2\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;C:\Users\prubin.INGRNET\.m2\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;C:\Users\prubin.INGRNET\.m2\repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;C:\Users\prubin.INGRNET\.m2\repository\com\google\code\gson\gson\2.8.5\gson-2.8.5.jar;C:\Users\prubin.INGRNET\.m2\repository\com\google\auto\service\auto-service\1.0-rc4\auto-service-1.0-rc4.jar;C:\Users\prubin.INGRNET\.m2\repository\com\google\auto\auto-common\0.8\auto-common-0.8.jar;C:\Users\prubin.INGRNET\.m2\repository\com\google\guava\guava\23.5-jre\guava-23.5-jre.jar;C:\Users\prubin.INGRNET\.m2\repository\com\google\code\findbugs\jsr305\1.3.9\jsr305-1.3.9.jar;C:\Users\prubin.INGRNET\.m2\repository\org\checkerframework\checker-qual\2.0.0\checker-qual-2.0.0.jar;C:\Users\prubin.INGRNET\.m2\repository\com\google\errorprone\error_prone_annotations\2.0.18\error_prone_annotations-2.0.18.jar;C:\Users\prubin.INGRNET\.m2\repository\com\google\j2objc\j2objc-annotations\1.1\j2objc-annotations-1.1.jar;C:\Users\prubin.INGRNET\.m2\repository\org\codehaus\mojo\animal-sniffer-annotations\1.14\animal-sniffer-annotations-1.14.jar;C:\Users\prubin.INGRNET\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.3.1\junit-jupiter-api-5.3.1.jar;C:\Users\prubin.INGRNET\.m2\repository\org\apiguardian\apiguardian-api\1.0.0\apiguardian-api-1.0.0.jar;C:\Users\prubin.INGRNET\.m2\repository\org\opentest4j\opentest4j\1.1.1\opentest4j-1.1.1.jar;C:\Users\prubin.INGRNET\.m2\repository\org\junit\platform\junit-platform-commons\1.3.1\junit-platform-commons-1.3.1.jar;C:\Users\prubin.INGRNET\.m2\repository\org\javassist\javassist\3.24.1-GA\javassist-3.24.1-GA.jar;C:\Users\prubin.INGRNET\.m2\repository\org\hibernate\javax\persistence\hibernate-jpa-2.1-api\1.0.2.Final\hibernate-jpa-2.1-api-1.0.2.Final.jar;C:\Users\prubin.INGRNET\.m2\repository\org\hibernate\validator\hibernate-validator\6.0.13.Final\hibernate-validator-6.0.13.Final.jar;C:\Users\prubin.INGRNET\.m2\repository\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;C:\Users\prubin.INGRNET\.m2\repository\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;C:\Users\prubin.INGRNET\.m2\repository\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar;C:\Users\prubin.INGRNET\.m2\repository\org\hibernate\hibernate-entitymanager\5.3.7.Final\hibernate-entitymanager-5.3.7.Final.jar;C:\Users\prubin.INGRNET\.m2\repository\org\hibernate\hibernate-core\5.3.7.Final\hibernate-core-5.3.7.Final.jar;C:\Users\prubin.INGRNET\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\prubin.INGRNET\.m2\repository\org\jboss\jandex\2.0.5.Final\jandex-2.0.5.Final.jar;C:\Users\prubin.INGRNET\.m2\repository\org\dom4j\dom4j\2.1.1\dom4j-2.1.1.jar;C:\Users\prubin.INGRNET\.m2\repository\org\hibernate\common\hibernate-commons-annotations\5.0.4.Final\hibernate-commons-annotations-5.0.4.Final.jar;C:\Users\prubin.INGRNET\.m2\repository\javax\persistence\javax.persistence-api\2.2\javax.persistence-api-2.2.jar;C:\Users\prubin.INGRNET\.m2\repository\net\bytebuddy\byte-buddy\1.8.17\byte-buddy-1.8.17.jar;C:\Users\prubin.INGRNET\.m2\repository\org\jboss\spec\javax\transaction\jboss-transaction-api_1.2_spec\1.1.1.Final\jboss-transaction-api_1.2_spec-1.1.1.Final.jar;C:\Users\prubin.INGRNET\.m2\repository\org\hibernate\hibernate-c3p0\5.3.7.Final\hibernate-c3p0-5.3.7.Final.jar;C:\Users\prubin.INGRNET\.m2\repository\com\mchange\c3p0\0.9.5.2\c3p0-0.9.5.2.jar;C:\Users\prubin.INGRNET\.m2\repository\com\mchange\mchange-commons-java\0.2.11\mchange-commons-java-0.2.11.jar;C:\Users\prubin.INGRNET\.m2\repository\org\reflections\reflections\0.9.11\reflections-0.9.11.jar;C:\Users\prubin.INGRNET\.m2\repository\io\javalin\javalin\2.3.0\javalin-2.3.0.jar;C:\Users\prubin.INGRNET\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-jdk8\1.2.71\kotlin-stdlib-jdk8-1.2.71.jar;C:\Users\prubin.INGRNET\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib\1.2.71\kotlin-stdlib-1.2.71.jar;C:\Users\prubin.INGRNET\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-common\1.2.71\kotlin-stdlib-common-1.2.71.jar;C:\Users\prubin.INGRNET\.m2\repository\org\jetbrains\annotations\13.0\annotations-13.0.jar;C:\Users\prubin.INGRNET\.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-jdk7\1.2.71\kotlin-stdlib-jdk7-1.2.71.jar;C:\Users\prubin.INGRNET\.m2\repository\org\eclipse\jetty\jetty-server\9.4.12.v20180830\jetty-server-9.4.12.v20180830.jar;C:\Users\prubin.INGRNET\.m2\repository\javax\servlet\javax.servlet-api\3.1.0\javax.servlet-api-3.1.0.jar;C:\Users\prubin.INGRNET\.m2\repository\org\eclipse\jetty\jetty-http\9.4.12.v20180830\jetty-http-9.4.12.v20180830.jar;C:\Users\prubin.INGRNET\.m2\repository\org\eclipse\jetty\jetty-util\9.4.12.v20180830\jetty-util-9.4.12.v20180830.jar;C:\Users\prubin.INGRNET\.m2\repository\org\eclipse\jetty\jetty-io\9.4.12.v20180830\jetty-io-9.4.12.v20180830.jar;C:\Users\prubin.INGRNET\.m2\repository\org\eclipse\jetty\jetty-webapp\9.4.12.v20180830\jetty-webapp-9.4.12.v20180830.jar;C:\Users\prubin.INGRNET\.m2\repository\org\eclipse\jetty\jetty-xml\9.4.12.v20180830\jetty-xml-9.4.12.v20180830.jar;C:\Users\prubin.INGRNET\.m2\repository\org\eclipse\jetty\jetty-servlet\9.4.12.v20180830\jetty-servlet-9.4.12.v20180830.jar;C:\Users\prubin.INGRNET\.m2\repository\org\eclipse\jetty\jetty-security\9.4.12.v20180830\jetty-security-9.4.12.v20180830.jar;C:\Users\prubin.INGRNET\.m2\repository\org\eclipse\jetty\websocket\websocket-server\9.4.12.v20180830\websocket-server-9.4.12.v20180830.jar;C:\Users\prubin.INGRNET\.m2\repository\org\eclipse\jetty\websocket\websocket-common\9.4.12.v20180830\websocket-common-9.4.12.v20180830.jar;C:\Users\prubin.INGRNET\.m2\repository\org\eclipse\jetty\websocket\websocket-api\9.4.12.v20180830\websocket-api-9.4.12.v20180830.jar;C:\Users\prubin.INGRNET\.m2\repository\org\eclipse\jetty\websocket\websocket-client\9.4.12.v20180830\websocket-client-9.4.12.v20180830.jar;C:\Users\prubin.INGRNET\.m2\repository\org\eclipse\jetty\jetty-client\9.4.12.v20180830\jetty-client-9.4.12.v20180830.jar;C:\Users\prubin.INGRNET\.m2\repository\org\eclipse\jetty\websocket\websocket-servlet\9.4.12.v20180830\websocket-servlet-9.4.12.v20180830.jar;C:\Users\prubin.INGRNET\.m2\repository\com\auth0\java-jwt\3.4.1\java-jwt-3.4.1.jar;C:\Users\prubin.INGRNET\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.9.7\jackson-databind-2.9.7.jar;C:\Users\prubin.INGRNET\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;C:\Users\prubin.INGRNET\.m2\repository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;C:\Users\prubin.INGRNET\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-yaml\2.9.7\jackson-dataformat-yaml-2.9.7.jar;C:\Users\prubin.INGRNET\.m2\repository\org\yaml\snakeyaml\1.23\snakeyaml-1.23.jar;C:\Users\prubin.INGRNET\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.9.7\jackson-core-2.9.7.jar;C:\Users\prubin.INGRNET\.m2\repository\org\springframework\spring-web\5.1.2.RELEASE\spring-web-5.1.2.RELEASE.jar;C:\Users\prubin.INGRNET\.m2\repository\org\springframework\spring-beans\5.1.2.RELEASE\spring-beans-5.1.2.RELEASE.jar;C:\Users\prubin.INGRNET\.m2\repository\org\springframework\spring-core\5.1.2.RELEASE\spring-core-5.1.2.RELEASE.jar;C:\Users\prubin.INGRNET\.m2\repository\org\springframework\spring-jcl\5.1.2.RELEASE\spring-jcl-5.1.2.RELEASE.jar;C:\Users\prubin.INGRNET\.m2\repository\com\google\testing\compile\compile-testing\0.15\compile-testing-0.15.jar;C:\Users\prubin.INGRNET\.m2\repository\com\google\truth\truth\0.37\truth-0.37.jar;C:\Users\prubin.INGRNET\.m2\repository\com\google\truth\extensions\truth-java8-extension\0.37\truth-java8-extension-0.37.jar;C:\Users\prubin.INGRNET\.m2\repository\com\google\auto\value\auto-value\1.5.3\auto-value-1.5.3.jar;C:\Users\prubin.INGRNET\.m2\repository\org\apache\activemq\activemq-all\5.15.7\activemq-all-5.15.7.jar;C:\Users\prubin.INGRNET\.m2\repository\javax\xml\bind\jaxb-api\2.3.1\jaxb-api-2.3.1.jar;C:\Users\prubin.INGRNET\.m2\repository\org\glassfish\jaxb\jaxb-runtime\2.3.1\jaxb-runtime-2.3.1.jar;C:\Users\prubin.INGRNET\.m2\repository\org\glassfish\jaxb\txw2\2.3.1\txw2-2.3.1.jar;C:\Users\prubin.INGRNET\.m2\repository\com\sun\istack\istack-commons-runtime\3.0.7\istack-commons-runtime-3.0.7.jar;C:\Users\prubin.INGRNET\.m2\repository\org\jvnet\staxex\stax-ex\1.8\stax-ex-1.8.jar;C:\Users\prubin.INGRNET\.m2\repository\com\sun\xml\fastinfoset\FastInfoset\1.2.15\FastInfoset-1.2.15.jar;C:\Users\prubin.INGRNET\.m2\repository\javax\activation\javax.activation-api\1.2.0\javax.activation-api-1.2.0.jar;C:\Users\prubin.INGRNET\.m2\repository\org\hsqldb\hsqldb\2.4.1\hsqldb-2.4.1.jar;C:\Users\prubin.INGRNET\.m2\repository\org\bouncycastle\bcpkix-jdk15on\1.60\bcpkix-jdk15on-1.60.jar;C:\Users\prubin.INGRNET\.m2\repository\org\bouncycastle\bcprov-jdk15on\1.60\bcprov-jdk15on-1.60.jar;C:\Users\prubin.INGRNET\.m2\repository\io\github\classgraph\classgraph\4.6.10\classgraph-4.6.10.jar;C:\Users\prubin.INGRNET\.m2\repository\io\prometheus\simpleclient_hotspot\0.6.0\simpleclient_hotspot-0.6.0.jar;C:\Users\prubin.INGRNET\.m2\repository\io\prometheus\simpleclient\0.6.0\simpleclient-0.6.0.jar;C:\Users\prubin.INGRNET\.m2\repository\io\prometheus\simpleclient_httpserver\0.6.0\simpleclient_httpserver-0.6.0.jar;C:\Users\prubin.INGRNET\.m2\repository\io\prometheus\simpleclient_common\0.6.0\simpleclient_common-0.6.0.jar;C:\Users\prubin.INGRNET\eclipse\jee-2018-09\eclipse\configuration\org.eclipse.osgi\1007\0\.cp;C:\Users\prubin.INGRNET\eclipse\jee-2018-09\eclipse\configuration\org.eclipse.osgi\417\0\.cp" org.eclipse.jdt.internal.junit.runner.RemoteTestRunner -version 3 -port 59746 -testLoaderClass org.eclipse.jdt.internal.junit5.runner.JUnit5TestLoader -loaderpluginname org.eclipse.jdt.junit5.runtime -classNames com.catavolt.utility.framework.performance.TestMethodPerformance
01-17-2019 06:51 AM
wow!
What happens if you run
C:\Program Files\Java\jdk-11.0.1\bin\javaw.exe -javaagent:/Users/prubin.INGRNET/Downloads/AppServerAgent-4.5.6.24621/javaagent.jar -version
01-17-2019 06:59 AM
That command line is generated by eclipse to run internally. At my prior company we were app dynamics customers and on Java 1.8 and I regularly generated detailed custom metrics into app dynamics while runing inside eclipse.
Anyway here is what I got after I updated your command line for windows proclivities.
C:\Users\prubin.INGRNET>"C:\Program Files\Java\jdk-11.0.1\bin\java.exe" -javaagent:\Users\prubin.INGRNET\Downloads\AppServerAgent-4.5.6.24621\javaagent.jar -version
Java 9 detected, booting with Java9Util enabled.
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
Full Agent Registration Info Resolver using selfService [true]
Full Agent Registration Info Resolver using selfService [true]
Full Agent Registration Info Resolver using application name [Xalt]
Full Agent Registration Info Resolver using tier name [Development]
Full Agent Registration Info Resolver using node name [PaulLaptop]
Install Directory resolved to[\Users\prubin.INGRNET\Downloads\AppServerAgent-4.5.6.24621]
getBootstrapResource not available on ClassLoader
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
[Thread-0] Thu Jan 17 09:55:48 EST 2019[DEBUG]: AgentInstallManager - Full Agent Registration Info Resolver is running
[Thread-0] Thu Jan 17 09:55:48 EST 2019[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using selfService [true]
[Thread-0] Thu Jan 17 09:55:48 EST 2019[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using selfService [true]
[Thread-0] Thu Jan 17 09:55:48 EST 2019[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using application name [Xalt]
[Thread-0] Thu Jan 17 09:55:48 EST 2019[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using tier name [Development]
[Thread-0] Thu Jan 17 09:55:48 EST 2019[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using node name [PaulLaptop]
[Thread-0] Thu Jan 17 09:55:48 EST 2019[DEBUG]: AgentInstallManager - Full Agent Registration Info Resolver finished running
[Thread-0] Thu Jan 17 09:55:48 EST 2019[INFO]: AgentInstallManager - Agent runtime directory set to [C:\Users\prubin.INGRNET\Downloads\AppServerAgent-4.5.6.24621\ver4.5.6.24621]
[Thread-0] Thu Jan 17 09:55:48 EST 2019[INFO]: AgentInstallManager - Agent node directory set to [PaulLaptop]
[Thread-0] Thu Jan 17 09:55:48 EST 2019[INFO]: JavaAgent - Using Java Agent Version [Server Agent #4.5.6.24621 v4.5.6 GA compatible with 4.4.1.0 raf81793cc22ae29fd0fc9344ea0f99d8ac63dc68 master]
[Thread-0] Thu Jan 17 09:55:48 EST 2019[INFO]: JavaAgent - Running IBM Java Agent [No]
[Thread-0] Thu Jan 17 09:55:48 EST 2019[INFO]: JavaAgent - Java Agent Directory [C:\Users\prubin.INGRNET\Downloads\AppServerAgent-4.5.6.24621\ver4.5.6.24621]
[Thread-0] Thu Jan 17 09:55:48 EST 2019[INFO]: JavaAgent - Java Agent AppAgent directory [C:\Users\prubin.INGRNET\Downloads\AppServerAgent-4.5.6.24621\ver4.5.6.24621]
2019-01-17 09:55:48,837 INFO Log4j appears to be running in a Servlet environment, but there's no log4j-web module available. If you want better web container support, please add the log4j-web JAR to your web archive or server lib directory.
Running obfuscated agent
getBootstrapResource not available on ClassLoader
Registered app server agent with Node ID[32982279] Component ID[138991] Application ID [87648]
Started AppDynamics Java Agent Successfully.
java version "11.0.1" 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)
01-17-2019 07:07 AM
Additional information: I reversed the slashes the same I had to do on the command line. This changed the results. Seems I just need to map the logging to the correct logging libraries.
Java 9 detected, booting with Java9Util enabled.
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
Full Agent Registration Info Resolver using selfService [true]
Full Agent Registration Info Resolver using selfService [true]
Full Agent Registration Info Resolver using application name [Xalt]
Full Agent Registration Info Resolver using tier name [Development]
Full Agent Registration Info Resolver using node name [PaulLaptop]
Install Directory resolved to[\Users\prubin.INGRNET\Downloads\AppServerAgent-4.5.6.24621]
getBootstrapResource not available on ClassLoader
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
[Thread-0] Thu Jan 17 10:00:18 EST 2019[DEBUG]: AgentInstallManager - Full Agent Registration Info Resolver is running
[Thread-0] Thu Jan 17 10:00:18 EST 2019[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using selfService [true]
[Thread-0] Thu Jan 17 10:00:18 EST 2019[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using selfService [true]
[Thread-0] Thu Jan 17 10:00:18 EST 2019[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using application name [Xalt]
[Thread-0] Thu Jan 17 10:00:18 EST 2019[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using tier name [Development]
[Thread-0] Thu Jan 17 10:00:18 EST 2019[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using node name [PaulLaptop]
[Thread-0] Thu Jan 17 10:00:18 EST 2019[DEBUG]: AgentInstallManager - Full Agent Registration Info Resolver finished running
[Thread-0] Thu Jan 17 10:00:18 EST 2019[INFO]: AgentInstallManager - Agent runtime directory set to [C:\Users\prubin.INGRNET\Downloads\AppServerAgent-4.5.6.24621\ver4.5.6.24621]
[Thread-0] Thu Jan 17 10:00:18 EST 2019[INFO]: AgentInstallManager - Agent node directory set to [PaulLaptop]
[Thread-0] Thu Jan 17 10:00:18 EST 2019[INFO]: JavaAgent - Using Java Agent Version [Server Agent #4.5.6.24621 v4.5.6 GA compatible with 4.4.1.0 raf81793cc22ae29fd0fc9344ea0f99d8ac63dc68 master]
[Thread-0] Thu Jan 17 10:00:18 EST 2019[INFO]: JavaAgent - Running IBM Java Agent [No]
[Thread-0] Thu Jan 17 10:00:18 EST 2019[INFO]: JavaAgent - Java Agent Directory [C:\Users\prubin.INGRNET\Downloads\AppServerAgent-4.5.6.24621\ver4.5.6.24621]
[Thread-0] Thu Jan 17 10:00:18 EST 2019[INFO]: JavaAgent - Java Agent AppAgent directory [C:\Users\prubin.INGRNET\Downloads\AppServerAgent-4.5.6.24621\ver4.5.6.24621]
2019-01-17 10:00:18,593 INFO Log4j appears to be running in a Servlet environment, but there's no log4j-web module available. If you want better web container support, please add the log4j-web JAR to your web archive or server lib directory.
Running obfuscated agent
getBootstrapResource not available on ClassLoader
Registered app server agent with Node ID[32982279] Component ID[138991] Application ID [87648]
Started AppDynamics Java Agent Successfully.
JRE Oracle Corporation/11.0.1 is not supported, advanced source lookup disabled.
SLF4J: Class path contains multiple SLF4J bindings.
01-17-2019 07:14 AM
That response at least validates your agent installation.
Looking at the rest of your command line, the double quotes in this section
"-javaagent:C:\Users\prubin.INGRNET\eclipse\jee-2018-09\eclipse\configuration\org.eclipse.osgi\1008\0\.cp\lib\javaagent-shaded.jar"
look suspect. Can you remove them?
Am I correct to understand that with the changed slashes, your agent is now working?
01-17-2019 08:48 AM
Yes with the slashes flipped the agent started no issue. FYI I cannot remove thoes quotes as that is generated by the eclise runtime not by me. I am now ready to start injecting business transactioins.
Thank you for your assistance. Until I had to get the simple command line to work, I did not recognise what the issue actually was.
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form