Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
The start-up script for the spring boot application is like this java -javaagent:/opt/jeppesen/crew-leave/Appagent/AppServerAgent-ibm-220.127.116.11545/javaagent.jar -jar /opt/app/app.jar.
The AppDynamics log shows that the app agent is created successfully. But nothing is getting captured. Also, under agents, I see that the uptime is 0%. This is for a Linux server.
I get a few warnings at the end
[AD Agent init] 07 Mar 2022 19:56:16,708 WARN InstrumentationHandler - Retransformation not enabled.
[AD Agent init] 07 Mar 2022 19:56:16,708 INFO AnnotationPropertyListenerManager - Class.privateGetPublicMethods() is not available, will try the public methods
[AD Agent init] 07 Mar 2022 19:56:16,708 INFO AnnotationPropertyListenerManager - Registered NodeProperty [enable-async-correlation-for] to method [public void com.singularity.ee.agent.appagent.services.transactionmonitor.common.activity.CustomActivityRuleApplier.setEnableAsync(java.lang.String)] in class class com.singularity.ee.agent.appagent.services.transactionmonitor.common.activity.CustomActivityRuleApplier 1
[AD Agent init] 07 Mar 2022 19:56:16,715 INFO BCIFixer - Scheduling BCIFixer at  ms intervals.
[AD Agent init] 07 Mar 2022 19:56:16,715 INFO BCIFixer - Retransformation is NOT supported on this JVM. BCIFixer is active - but will NOT retransform classes
[AD Agent init] 07 Mar 2022 19:56:16,715 INFO BCIEngineService - Pinging to retransform classes by worker
[AD Agent init] 07 Mar 2022 19:56:16,715 WARN InstrumentationHandler - Retransformation not enabled.
[AD Agent init] 07 Mar 2022 19:56:16,719 INFO JavaAgent - JVM Process Persistence File <pid = 41888 nodeDirectory = /opt/jeppesen/crew-leave/Appagent/AppServerAgent-ibm-18.104.22.168545 appName = CrewRequest tierName = WebNode nodeName = 103 homeDirectory = / machineId = 24821 uniqueHostId = mrnf-cl103 controllerHost = cubits202202230044249.saas.appdynamics.com controllerPort = 443 accountKey = c754eab83f6444f17a46da72929b318b82407869 versionDirectory = /opt/jeppesen/crew-leave/Appagent/AppServerAgent-ibm-22.214.171.124545/ver126.96.36.199545> was written
[AD Agent init] 07 Mar 2022 19:56:16,719 INFO JavaAgent - Started AppDynamics Java Agent Successfully.
[AD Thread Pool-Global0] 07 Mar 2022 19:56:16,746 INFO TransformationManager - Class transformations will take place in a background thread
[main] 07 Mar 2022 19:56:17,601 INFO ClassMetaDataManager - Unable to locate class meta data for org.springframework.boot.loader.archive.Archive$EntryFilter
[main] 07 Mar 2022 19:56:17,688 INFO ClassMetaDataManager - Unable to locate class meta data for org.springframework.boot.loader.jar.JarEntryFilter
Solved! Go to Solution.
Have you been able to check out the Java Agent Docs pages? If not, please check them out here - https://docs.appdynamics.com/22.2/en/application-monitoring/install-app-server-agents/java-agent
Do let me know if these helped you out.
Ryan, AppDynamics Community Manager
Thanks for letting me know. Let's see if the community can jump in and help out!
If you happen to find anything else out, please do come back and share it here.
Ryan, AppDynamics Community Manager
Was able to successfully configure appdynamics.
- There was a small change in the startup file that was made. For spring boot application,
java -javaagent:/usr/local/Appagent/AppServerAgent-1.8-188.8.131.52445/ver184.108.40.206445/javaagent.jar -jar /opt/app.jar
- The version of JAVA_HOME was different from what the application was using. Appdynamics takes it from JAVA_HOME and so there was a mismatch. Changed the JAVA_HOME settings.
- Got errors "saas.appdynamics.com:443 failed to respond". Updated the controller-ssl-enabled to true.
Is there a way to update the java path for appdynamics in config file?