Splunk AppDynamics

App Agent Configuration

CommunityUser
Splunk Employee
Splunk Employee

Hi all,

I want to instrument my WebLogic with the Java Agent (version 4.3.3.6)

The following parameters was added to the startup parameters of the WebLogic:

-Dappdynamics.agent.nodeName=myAppServer-instanceA -Dappdynamics.agent.tierName=myAppServer -javaagent:/applications/DBAPM/Core_Java/CURRENT/javaagent.jar -Dappdynamics.agent.logs.dir=/log/path/of/the/weblogic 

(/applications/DBAPM/Core_Java/CURRENT/javaagent.jar is pointing to /applications/DBAPM/Core_Java/4.3.3.6/javaagent.jar) 

I receive the following error within my agent.log: 

[Thread-0] 19 Mar 2018 15:11:33,446 WARN AgentConfigWatchdog - Error in processing app-agent-config.xml
com.appdynamics.org.xml.sax.SAXParseException: Attribute name "fiss.soa.esb.listeners.message.MessageAwareListener" associated with an element type "include" must be followed by the ' = ' character.

I have the following questions on that:

1) Should I use the javaagent.jar from the "Global Folder" (/applications/DBAPM/Core_Java/CURRENT/javaagent.jar) or the "versioned Folder" (

/applications/DBAPM/Core_Java/4.3.3.6/ver4.3.3.6/javaagent.jar)

2) Why does two javaagent.jar exists? (I have downloaded it from https://download.appdynamics.com/download/prox/download-file/sun-jvm/4.3.3.6/AppServerAgent-4.3.3.6....)

3) Can the /applications/DBAPM/Core_Java/4.3.3.6/conf be empty if all configs are placed in /applications/DBAPM/Core_Java/4.3.3.6/ver4.3.3.6/conf?

Best,

Daniel

Labels (1)
0 Karma

Dalmer_Aranda
New Member

I was actually wondering those same questions.  Does anyone know? 

Thanks guys.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi @Dalmer.Aranda and @Anonymous,

Please use the javaagent.jar from the Global directory. In this case, use one in the /applications/DBAPM/Core_Java/4.3.3.6 directory. The agent_home in your setting is /applications/DBAPM/Core_Java/4.3.3.6.

The reason for having two directories is to avoid the hassle of reconfiguration in multiple places during upgrades.

Suppose you have agent version 4.5.0 and you have upgraded the agent to 4.5.2. If you have configuration provided in the <agent-install-dir>/<version>/conf, then you have to add the configuration in the <agent-install-dir>/<new version>/conf directory as well. If you place the configuration in the <agent-install-dir>/conf directory, even if you upgrade the agent you don’t have to reconfigure the configuration in <agent-install-dir>/<new-version>/conf.

Same is the case with javaagent.jar. If you have provided the <agent-install-dir>/javaagent.jar, then when a new version is added, you don’t have to change the startup script to reflect <agent-install-dir>/<new version>/javaagent.jar.      

Hope it answers your question.

Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...