Java Agents 2024.11

Remove Java Agent

Remove Tomcat Java Agent

  1. Shut down the server where the agent is installed.

  2. Run the agentadmin command with the --listAgents option list installed agent instances:

    $ agentadmin --listAgents
    The following agents are configured on this Application Server.
    ...
    The following are the details for agent Agent_001 :-
    ...
  3. Note the configuration information of the agent instance you want to remove.

  4. Run the agentadmin command with the --uninstall option.

    $ agentadmin --uninstall
  5. Enter the path of the Tomcat installation directory:

    Enter the complete path to the directory which is used by Tomcat Server to
    store its configuration Files. This directory uniquely identifies the
    Tomcat Server instance that is secured by this Agent.
    [ ? : Help, ! : Exit ]
    Enter the Tomcat Server Config Directory Path
    [/opt/apache-tomcat/conf]: /path/to/apache-tomcat/conf
  6. Review a summary of your responses and select how to continue:

    -----------------------------------------------
    SUMMARY OF YOUR RESPONSES
    -----------------------------------------------
    ...
    Verify your settings above and decide from the choices below.
    1. Continue with Uninstallation
    2. Back to the last interaction
    3. Start Over
    4. Exit
    Please make your selection [1]: **1**
    ...

Remove JBoss Java Agent

  1. Shut down the server where the agent is installed.

  2. Run the agentadmin command with the --listAgents option list installed agent instances:

    $ agentadmin --listAgents
    The following agents are configured on this Application Server.
    ...
    The following are the details for agent Agent_001 :-
    ...
  3. Note the configuration information of the agent instance you want to remove.

  4. Run the agentadmin command with the --uninstall option.

    $ agentadmin --uninstall
  5. Enter the path to the JBoss installation directory:

    Enter the complete path to the home directory of the JBoss instance.
    [ ? : Help, ! : Exit ]
    Enter the path to the JBoss installation: /path/to/jboss
  6. Enter domain or standalone, for the deployment mode of the JBoss installation to uninstall:

    Enter the name of the deployment mode of the JBoss installation that you wish
    to use with this agent. Supported values are: domain, standalone.
    [ ? : Help, < : Back, ! : Exit ]
    Enter the deployment mode of JBoss [standalone]: standalone
  7. Review a summary of your responses and select how to continue:

    -----------------------------------------------
    SUMMARY OF YOUR RESPONSES
    -----------------------------------------------
    ...
    Verify your settings above and decide from the choices below.
    1. Continue with Uninstallation
    2. Back to the last interaction
    3. Start Over
    4. Exit
    Please make your selection [1]: **1**
    ...

Remove Jetty Java Agent

  1. Shut down the server where the agent is installed.

  2. Run the agentadmin command with the --listAgents option list installed agent instances:

    $ agentadmin --listAgents
    The following agents are configured on this Application Server.
    ...
    The following are the details for agent Agent_001 :-
    ...
  3. Note the configuration information of the agent instance you want to remove.

  4. Run the agentadmin command with the --uninstall option.

    $ agentadmin --uninstall
  5. Enter the path of the Jetty configuration directory:

    Enter the complete path to the directory which is used by Jetty Server to store
    its configuration Files. This directory uniquely identifies the Jetty
    Server instance that is secured by this Agent.
    [ ? : Help, ! : Exit ]
    Enter the Jetty Server Config Directory Path [/opt/jetty/etc]: /path/to/jetty/etc
  6. Review a summary of your responses and select how to continue:

    -----------------------------------------------
    SUMMARY OF YOUR RESPONSES
    -----------------------------------------------
    ...
    Verify your settings above and decide from the choices below.
    1. Continue with Uninstallation
    2. Back to the last interaction
    3. Start Over
    4. Exit
    Please make your selection [1]: 1
    ...

Remove WebLogic Java Agent

  1. Shut down the server where the agent is installed.

  2. Run the agentadmin command with the --listAgents option list installed agent instances:

    $ agentadmin --listAgents
    The following agents are configured on this Application Server.
    ...
    The following are the details for agent Agent_001 :-
    ...
  3. Note the configuration information of the agent instance you want to remove.

  4. Run the agentadmin command with the --uninstall option.

    $ agentadmin --uninstall
  5. Enter the path to the startWebLogic.sh file of the WebLogic domain where you want to install the agent:

    Enter the path to the location of the script used to start the WebLogic domain.
    Please ensure that the agent is first installed on the admin server instance
    before installing on any managed server instance.
    [ ? : Help, ! : Exit ]
    Enter the Startup script location
    [/usr/local/bea/user_projects/domains/base_domain/startWebLogic.sh]: /Oracle_Home/user_projects/domains/base_domain/startWebLogic.sh
  6. Enter the name of the WebLogic instance:

    Enter the name of the WebLogic Server instance secured by the agent.
    [ ? : Help, < : Back, ! : Exit ]
    Enter the WebLogic Server instance name [AdminServer]: AdminServer
  7. Review a summary of your responses and select how to continue:

    -----------------------------------------------
    SUMMARY OF YOUR RESPONSES
    -----------------------------------------------
    ...
    Verify your settings above and decide from the choices below.
    1. Continue with Uninstallation
    2. Back to the last interaction
    3. Start Over
    4. Exit
    Please make your selection [1]: 1
    ...
Copyright © 2010-2024 ForgeRock, all rights reserved.