Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Knowledge Base

How do I start an agent and WebLogic using an Ant script?


I am trying to start the Java Agent in a WebLogic environment that deploys and starts the Weblogic domains via an ANT script. Where in the Ant target do I place the agent. Has anyone tried to do instrumentation via an Ant script?
I added something like this to one of the deployment and run ant targets. However, the Java Agent argument doesn’t seem to find its way to the jvm.
<jvmarg value=-javaagent:/u01/apps/appdynamics/appagent/javaagent.jar”/>



Pass it as an "arg" rather than a JVM arg since it is not a -D arg.

Version history
Last update:
‎11-26-2018 05:11 PM
Updated by:
Labels (1)
Tags (2)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
0 Kudos