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.

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!

Mastering Threat Intelligence in ES 8.5, Splunk AI Assistant v2, and More from Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Break the Build: Inside the KubeDoom Lounge at .conf26

    You step up to the machine. The pixelated corridors of a certain 1993 FPS load in front of you, EMP Pulse ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...