Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (1240 KB)
Chapter 6 Uninstalling Policy Agent 2.2 for JBoss Application Server 4.0The agentadmin program is used for initiating the installation and uninstallation programs of Policy Agent 2.2 for JBoss Application Server 4.0. The difference is that the installation program is started with the --install option while the uninstallation program is started with the --uninstall option. For more information about the agentadmin program, see Key Features and Tasks Performed With the J2EE agentadmin Program. The uninstallation program is similar to the installation program in that it provides step by step explanations of the information you need to enter. However, the uninstallation program has fewer and simpler steps. The uninstallation process follows a series of tasks similar to the installation process. First, perform the pre-uninstallation (preparation) steps. Then, perform the uninstallation, itself. The uninstallation process differs depending upon the format of the deliverable files used during the initial installation of the agent: package formatted deliverable files or non-package formatted deliverable files. If package formatted deliverables were used for installation of the agent, the uninstallation involves a single step. If non-package formatted deliverables were used for installation, uninstallation consists of two phases. The first phase of uninstallation is the launching of the uninstallation program. The second phase of uninstallation involves interacting with the uninstallation program. During this phase, the program prompts you step by step to enter specific information while providing you with explanations about that information. You must access the PolicyAgent-base directory for uninstallation-related tasks. For more information about this directory, see J2EE Agent Directory Structure in Policy Agent 2.2. Preparing to Uninstall Agent for JBoss Application Server 4.0Perform the pre-uninstallation (preparation) steps outlined in this section before uninstalling Policy Agent 2.2 for JBoss Application Server 4.0.
|
./agentadmin --uninstall |
or
./agentadmin --uninstallAll |
These two commands are different in that the --uninstallAll option removes all configured instances of the agent.
After you issue one of the preceding commands, the uninstallation program launches and presents you with the first prompt as illustrated in the following section.
The steps in the uninstallation program are displayed in the following example. The interaction process of this uninstallation program is similar to that of the installation program. One difference is that the uninstallation program does not present a license agreement. For a more detailed explanation of the interaction process, see Using the Installation Program of Agent for JBoss Application Server 4.0.
************************************************************************ Welcome to the Access Manager Policy Agent for JBoss Server 4.0. 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 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.0.2/server/default/conf]: ----------------------------------------------- SUMMARY OF YOUR RESPONSES ----------------------------------------------- JBoss Server Config Directory : /opt/jboss-4.0.2/server/default/conf 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]: Removing Agent parameters from /opt/jboss-4.0.2/server/default/conf/jboss-service.xml file ...DONE. Removing Agent parameters from /opt/jboss-4.0.2/server/default/conf/server.policy file ...DONE. Removing Agent parameters from am-login-config.xml file ...DONE. Removing Agent parameters from /opt/jboss-4.0.2/bin/setAgentClasspathdefault.sh file ...DONE. Removing Agent parameters from agentapp.war file ...DONE. Deleting the config directory /opt/j2ee_agents/am_jboss_agent/agent_001/config ...DONE. Uninstall log file location: /opt/j2ee_agents/am_jboss_agent/logs/audit/uninstall.log Thank you for using Access Manager Policy Agenta |