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!

Enhance Your Splunk App Development: New Tools & Support

UCC FrameworkAdd-on Builder has been around for quite some time. It helps build Splunk apps faster, but it ...

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...