Sun OpenSSO Enterprise Policy Agent 3.0 User's Guide for J2EE Agents

ProcedureTo Generate a State File for a J2EE Agent Uninstallation

To generate a state file for uninstallation of a J2EE agent, perform the following:

  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 Role of the agentadmin Program in Policy Agent 3.0.

  2. Issue the following command:


    ./agentadmin --uninstall --saveResponse filename
    
    -saveResponse

    An option that saves all of your responses to uninstallation prompts in a state file.

    filename

    Represents the name that you choose for the state file.

  3. Answer the prompts to uninstall the agent.

    Your answers to the prompts are recorded in the state file. When uninstallation is complete, the state file is created in the same directory where the uninstallation program is located.