cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to start the Appdynamics server agent

Poorvitha.P
Producer

Hi,

 

The start-up script for the spring boot application is like this java -javaagent:/opt/jeppesen/crew-leave/Appagent/AppServerAgent-ibm-22.2.0.33545/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 [300000] 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-22.2.0.33545 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.2.0.33545/ver22.2.0.33545> 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

5 REPLIES 5

Ryan.Paredez
Community Manager

Hi @Poorvitha.P,

 

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.

 

 


Thanks,

Ryan, Cisco AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.

Followed the steps but, it did not help much. In the logfile it says succesfully installed but i dont see anything getting captured. In the controller UI the agent uptime says 0%. It is a spring boot application in docker environment.

Hi @Poorvitha.P,

 

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.

 


Thanks,

Ryan, Cisco AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.

@Ryan.Paredez 

 

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-22.1.0.33445/ver22.1.0.33445/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?

Hi, @Poorvitha.P 

 

Please check out this Community Knowledge Base Article: How do I resolve an agent connectivity issue related to the "SSLEnabled" property? 

 

Let me know if that helps!


Thanks,

Ryan, Cisco AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.