Splunk AppDynamics

Unable to start the Appdynamics server agent

Poorvitha_P
Explorer

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

Labels (1)
Tags (3)
0 Karma
1 Solution

Poorvitha_P
Explorer

@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?

View solution in original post

0 Karma

iamryan
Community Manager
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.

0 Karma

Poorvitha_P
Explorer

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.

0 Karma

iamryan
Community Manager
Community Manager

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.

0 Karma

Poorvitha_P
Explorer

@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?

0 Karma

iamryan
Community Manager
Community Manager

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!

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...