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
07-30-2018 06:19 AM
I have set the path to the AppD agent jar in the startWeblogic.cmd script like:
set JAVA_OPTIONS=%JAVA_OPTIONS% -javaagent:"%APPDHOME%\javaagent.jar"
just before the line for starting weblogic.
In the cmd output of WebLogic I can see that the javaoptions are set correctly and the AppD agent property is present but I don't see it running, so there are no messages on the console about actually starting the AppD agent at all. Also, no log files are generated.
What can I do to make the WebLogic start the AppD agent?
07-30-2018 06:57 AM
Can you try putting the -javaagent option at the start of the java options, rather than at the end?
07-30-2018 07:25 AM
Still the same situation. Here is the java line:
C:\Oracle\MIDDLE~1\JDK160~1\bin\java -javaagent:"C:\AppServerAgent\javaagent.ja
r" -client -Xms512m -Xmx1536m -XX:MaxPermSize=128m -Dweblogic.Name=AdminServer
-Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy
-Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:
\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3
\server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testCon
sole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls
1036\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_oepe180
\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_ocp371\prof
iles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_adfr1111\profile
s\default\sysext_manifest_classpath weblogic.Server
07-30-2018 07:37 AM
Can you confirm:
Is there anything relating to the AppDynamics agent in the WebLogic boot log?
I also note this is your WebLogic admin server you have instrumented. You are likely to get more interesting results from one of the managed servers where your app is running (unless this is a single server installation), although there is no reason that instrumenting the admin server should not work.
07-30-2018 10:42 PM
Hi,
1. Yes, it is running fine - I don't see any issues with it.
2. No - no logs generated at all. Only way I can make it write something is if I run directly java with -javaagent but it exits immediately after start, of course.
I don't see anything related with AppD in the weblogic logs.
It is a single server installation. And also it is more like a test setup so I just need to get any data from the agent...
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