Change to the following directory:
PolicyAgent-base/bin
Issue one of the following commands:
# ./agentadmin --uninstall
or
# ./agentadmin --uninstallAll
The --uninstall option removes only one instance of the agent, while the --uninstallAll option prompts you to remove all configured instances of the agent.
The uninstall program prompts you for the JBoss Server configuration directory and home directory.
Enter your responses or accept the default values.
The uninstall program displays your responses and then asks if you want to continue:
To continue with the uninstallation, select 1 (the default).
************************************************************************ Welcome to the OpenSSO Policy Agent for JBoss Server 4.x. ************************************************************************ Enter the complete path to the directory which is used by JBoss Server to store its configuration Files. This directory uniquely identifies the JBoss Server instance that is secured by this Agent. [ ? : Help, ! : Exit ] Enter the JBoss Server Config Directory Path [/opt/jboss-4.2.3/server/default/conf]: /opt/jboss-4.2.3.GA/server/default/conf Enter the complete path to the directory where JBoss Server home directory is stored [ ? : Help, < : Back, ! : Exit ] Enter the JBoss Server Home Directory Path [/opt/jboss-4.2.3.GA]: /opt/jboss-4.2.3.GA ----------------------------------------------- SUMMARY OF YOUR RESPONSES ----------------------------------------------- JBoss Server Config Directory : /opt/jboss-4.2.3.GA/server/default/conf JBoss Server Home Directory : /opt/jboss-4.2.3.GA 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 Removing Agent parameters from /opt/jboss-4.2.3.GA/server/default/conf/jboss-service.xml file ...DONE. Removing Agent parameters from null file ...DONE. Removing Agent parameters from am-login-config.xml file ...DONE. Removing Agent parameters from /opt/jboss-4.2.3.GA/bin/setAgentClasspathdefault.sh file ...DONE. Removing Agent parameters from agentapp.war file ...DONE. Deleting the config directory /agents/j2ee_agents/jboss_v42_agent/Agent_001/config ...DONE. Uninstall log file location: /agents/j2ee_agents/jboss_v42_agent/installer-logs/audit/uninstall.log Thank you for using OpenSSO Policy Agent 3.0.