Sun Java System Access Manager Policy Agent 2.2 Guide for BEA WebLogic Server/Portal 9.2

All Systems — Non-Packages: Uninstalling Agent for BEA WebLogic Server/Portal 9.2

This method for uninstalling Agent for BEA WebLogic Server/Portal 9.2 applies when the agent was originally installed using non-package formatted deliverables. The term “non-package formatted deliverables” refers to the format of the compressed file used for delivering the Policy Agent 2.2 software. Package formatted deliverables have the string “_SUNWam” in the name of the compressed file. Therefore, non-package formatted deliverables do not have this string in the file name. The following two file names are examples of non-package formatted deliverable files used for Policy Agent 2.2 for BEA WebLogic Server/Portal 9.2:

SJS_Weblogic_92_agent_2.2.tar.gz
SJS_Weblogic_92_agent_2.2.zip

This uninstallation process involves two phases as described in the following subsections.

Launching the Uninstallation Program of Agent for BEA WebLogic Server/Portal 9.2

Perform the steps outlined in this section to launch the uninstallation program of Policy Agent 2.2 for BEA WebLogic Server/Portal 9.2.

ProcedureTo Launch the Uninstallation Program of Agent for BEA WebLogic Server/Portal 9.2

To launch the uninstallation program, perform the following steps:

  1. 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.

  2. Issue one of the following commands:


    ./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.

Using the Uninstallation Program of Agent for BEA WebLogic Server/Portal 9.2

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 BEA WebLogic Server/Portal 9.2.

Example of Uninstallation Program Interaction in Agent for BEA WebLogic Server/Portal 9.2


************************************************************************
Welcome to the Access Manager Policy Agent for BEA WebLogic 9.2 Platform.
If the Policy Agent is used with Federation Manager services, User needs to
enter information relevant to Federation Manager.

************************************************************************
Enter the path to the location of the script used to start the WebLogic domain.

[ ? : Help, ! : Exit ]
Enter the Startup script location
[/usr/local/bea/user_projects/domains/mydomain/startWebLogic.sh]:

Enter the name of the WebLogic domain secured by the agent.
[ ? : Help, < : Back, ! : Exit ]
Enter the WebLogic domain name [myserver]:

-----------------------------------------------
SUMMARY OF YOUR RESPONSES
-----------------------------------------------
Startup script location :
/usr/local/bea/user_projects/domains/mydomain/startWebLogic.sh
WebLogic domain name : myserver

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]: