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

ProcedureTo Prepare to Uninstall Agent for BEA WebLogic Server/Portal 9.2: Unconfiguration Task

To prepare for the uninstallation of Policy Agent 2.2 for BEA WebLogic Server/Portal 9.2, perform the following unconfiguration-related steps:


Note –

Throughout this guide scripting files apply to both UNIX platforms and Windows platforms even when the script for Windows platforms is not expressly mentioned. The difference is that scripts for UNIX platforms have the .sh extension while scripts for Windows platforms have the .cmd extension.


  1. Undeploy any protected applications from BEA WebLogic Server/Portal 9.2.

    Refer to the BEA WebLogic Server/Portal 9.2 documentation for more information.

  2. Restore the deployment descriptors of these applications to their original deployment descriptors.

  3. Before you uninstall the agent for BEA WebLogic Server/Portal 9.2, ensure that the following server is shut down:

    • BEA WebLogic Server/Portal 9.2 instance protected by the agent

  4. Undeploy the agent application.

    The agent application must be undeployed from BEA WebLogic Server/Portal 9.2 before the agent is uninstalled.

    The agent application was installed during the post-installation steps. For more information about the installation of this application see Chapter 3, Installing Policy Agent 2.2 for BEA WebLogic Server/Portal 9.2.

  5. (Conditional) If the BEA WebLogic Server/Portal 9.2 instance was originally configured using Node Manager, remove the classpath and agent Java options using the BEA WebLogic Server/Portal 9.2 Administration Console.

    1. Expand the Servers node.

    2. Select the node for the server you want to manage with Node Manager.

    3. Remove the agent classpath entries in Node Manager.

      1. In the BEA WebLogic Server/Portal 9.2 Administration Console, select the Configuration tab.

      2. Select the Server Start tab.

      3. Remove the following classpath entries:

        ${CLASSPATH}:PolicyAgent-base/lib/agent.jar:PolicyAgent-base/
        lib/amclientsdk.jar:PolicyAgent-base/locale:PolicyAgent-base/
        AgentInstance-Dir/config

        where AgentInstance-Dir represents an agent instance directory, such as agent_001.

        For information about PolicyAgent-base, see J2EE Agent Directory Structure in Policy Agent 2.2.

    4. Remove the agent Java options in Node Manager.

      1. In the BEA WebLogic Server/Portal 9.2 Administration Console, select the Configuration tab.

      2. Select the Server Start tab.

      3. Remove the following Java options from the Arguments text field:

        -Djava.util.logging.config.file=PolicyAgent-base/config/
        AMAgentLogConfig.properties 
        -DLOG_COMPATMODE=Off
  6. Shut down the BEA WebLogic Server/Portal 9.2 domain before launching the agent uninstallation program.