Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
03-19-2018 07:31 AM
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
10-05-2018 09:18 AM
I was actually wondering those same questions. Does anyone know?
Thanks guys.
10-05-2018 11:46 AM
Hi @Dalmer.Aranda and @daniel-b.ross,
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.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form