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

Preparing to Uninstall the WebLogic Server/Portal 10 Agent

Before you uninstall the WebLogic Server/Portal 10 agent, perform the following tasks:

Removing the Agent Authentication Provider

Use the WebLogic Server/Portal 10 Administration Console to remove the Agent Authentication Provider that was configured after the agent was installed.

ProcedureTo Remove the Agent Authentication Provider

  1. Log on to the Administration Console.

  2. In the left pane, under Domain Structure and under the host name of the server you are configuring, click Security realms.

  3. In the right pane, click the name of the realm you are configuring.

  4. Click Providers.

  5. Click the Authentication tab.

  6. Click Lock & Edit in the left pane.

  7. In the right pane, specify the Policy Agent Authentication Provider.

  8. Click Delete.

  9. Click Yes.

  10. In the left pane, click activate changes.

    The Agent Authentication Provider is not removed from the configuration until you restart the WebLogic Server/Portal 10 instance. The best practice is to restart the WebLogic Server/Portal 10 instance after you perform the following additional tasks.

Performing Unconfiguration Tasks

ProcedureTo Perform Various Unconfiguration Tasks

  1. Undeploy any protected applications from WebLogic Server/Portal 10. Refer to the BEA documentation for more information.

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

  3. Ensure that the WebLogic Server/Portal 10 instance protected by the agent is shut down.

  4. Undeploy the agent application, which was installed during the post-installation steps.

  5. (Conditional) If the WebLogic Server/Portal 10 instance was originally configured using Node Manager, remove the classpath and agent Java options using the WebLogic Server/Portal 10 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. 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/config

        where AgentInstance represents an agent instance directory, such as Agent_001.

      4. Remove the agent Java options in Node Manager.

        1. In the BEAWebLogic Server/Portal 10 Administration Console, select the Configuration tab.

          Select the Server Start tab.

        2. 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 WebLogic Server/Portal 10 domain.