Change to the following directory:
PolicyAgent-base/bin
This directory contains the agentadmin program, which is used for uninstalling a J2EE agent and for performing other tasks. For more information on the agentadmin program, see Key Features and Tasks Performed With the J2EE agentadmin Program.
Issue one of the following commands:
./agentadmin --uninstall |
or
./agentadmin --uninstallAll |
The --uninstall removes only one instance of the agent, while the --uninstallAll option removes all configured instances of the agent.
The following example shows the
The uninstall program launches and prompts you for the following information:
Application Server Config directory path
Default: /var/opt/SUNWappserver/domains/domain1/config
Application Server instance name
Enter the appropriate values or accept the default values.
The uninstall program displays your choices and then asks if you want to continue:
To continue with the uninstallation, select 1 (the default).
************************************************************************ Welcome to the Access Manager Policy Agent for Sun Java(TM) System Application Server 8.1/8.2/9.0/9.1. If the Policy Agent is used with Federation Manager services, User needs to enter information relevant to Federation Manager. ************************************************************************ Enter the complete path to the directory which is used by Application Server to store its configuration Files. This directory uniquely identifies the Application Server instance that will be secured by this Agent. [ ? : Help, ! : Exit ] Enter the Application Server Config Directory Path [/var/opt/SUNWappserver/domains/domain1/config]: Enter the name of the Application Server instance that will be secured by this Agent. [ ? : Help, < : Back, ! : Exit ] Enter the Application Server Instance name [server]: ********************************************************* SUMMARY OR YOUR RESPONSES ********************************************************* Application Server Config Directory : /var/opt/SUNWappserver/domains/domain1/config Application Server Instance name : server 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]: |