Uninstalling the Agent for Java


You can uninstall the BMC Application Diagnostics Agent for Java from one or more JVM processes connected to a BMC Application Diagnostics Agent on the same computer.

  1. Stop the application servers from which you want to remove the BMC Application Diagnostics Agent for Java.
  2. For each application server type, delete the following parameters from the JVM options of your application server:

    • Windows

      -javaagent:<agentInstallationDirectory>\ADOPsInstall\adops-agent.jar
      -Dcom.bmc.adops.agent.server.id="<unique_ID>"
    • Linux

      -javaagent:<agentInstallationDirectory>/ADOPsInstall/adops-agent.jar
      -Dcom.bmc.adops.agent.server.id="<unique_ID>"

    Tip

    You defined these parameters when you updated the Java options for the application. See Updating-the-Java-options-according-to-the-application-server-type for more information.

  3. If you remove all associations to the Agent installation, delete the ADOPsInstall directory located in the BMC Application Diagnostics Agent installation directory.
    Run the following command to remove the directory:
    • Windows: remove /S <agentInstallationDirectory>\ADOPsInstall 
    • Linux: rm -r <agentInstallationDirectory>/ADOPsInstall
  4. Restart the application servers.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*