Splunk AppDynamics

Tomcat not starting with agent - key can't be empty

CommunityUser
Splunk Employee
Splunk Employee

Cannot figure out the cause of this error: 

 

 

Error in Full Agent Registration Info Resolver reading environment variable/system property
java.lang.ExceptionInInitializerError
at com.singularity.ee.agent.resolver.I.a(I.java:43)
at com.singularity.ee.agent.resolver.O.a(O.java:81)
at com.singularity.ee.agent.resolver.O.<init>(O.java:70)
at com.singularity.ee.agent.resolver.O.<init>(O.java:58)
at com.singularity.ee.agent.appagent.kernel.z.executeGenericFunction(z.java:248)
at com.singularity.ee.agent.appagent.kernel.AppTierNodeDeterminer.executeGenericFunction(AppTierNodeDeterminer.java:126)
at com.singularity.ee.agent.appagent.AgentEntryPoint.getAppTierNodeFromLib(AgentEntryPoint.java:1318)
at com.singularity.ee.agent.appagent.AgentEntryPoint.determineAppAgentVersionToUse(AgentEntryPoint.java:1132)
at com.singularity.ee.agent.appagent.AgentEntryPoint.premain(AgentEntryPoint.java:419)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
Caused by: java.lang.IllegalArgumentException: key can't be empty
at java.lang.System.checkKey(System.java:841)
at java.lang.System.getProperty(System.java:714)
at com.singularity.ee.util.aj.<clinit>(aj.java:28)
... 15 more

 

I believe there is something wrong with configuration since log states: " key can't be empty". But what key it refers to?

I am using AppD trial with SaaS model where configuration is baked into downloaded zip.

Labels (1)
0 Karma

Peter_Holditch
Builder

Could you post the full agent logs?

It may be easier to handle this through a support ticket.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

I have this same issue when trying to instrument kafka as a java process. Could you help me with what was the issue in your case and i can check on my side?
Thanks !

0 Karma
Get Updates on the Splunk Community!

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...

AppDynamics is now part of Splunk Ideas

Hello Splunkers, We have exciting news for you! AppDynamics has been added to the Splunk Ideas Portal. Which ...

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...