Sun Java System Access Manager Policy Agent 2.2 Guide for IBM WebSphere Application Server 6.0

Using a State File for a J2EE Agent Silent Uninstallation

The uninstallation program does not validate inputs or the state in the silent installation. Ensure that the proper environment exists before performing a silent uninstallation.

ProcedureTo Uninstall a J2EE Agent Using a State File

To perform a silent uninstallation of a J2EE agent using a state file, perform the following:

  1. Change to the following directory:


    PolicyAgent-base/bin

    At this point, this bin directory should contain the agentadmin program and the J2EE uninstallation state file.

  2. Issue the following command:


    ./agentadmin --uninstall --useResponse filename
    -useResponse

    An option that runs the uninstallation process in non-interactive mode as all responses to prompts are obtained from the named state file.

    filename

    Represents the name of the state file from which the installer obtains all responses.

    The uninstallation takes place hidden from view. After completion, the program exits automatically and displays the prompt.