To generate a state file for uninstallation of a J2EE agent, perform the following:
Change to the following directory:
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.
Issue the following command:
./agentadmin --uninstall --saveResponse filename
An option that saves all of your responses to uninstallation prompts in a state file.
Represents the name that you choose for the state file.
Perform the uninstallation as explained in Chapter 6, Uninstalling Policy Agent 2.2 for IBM WebSphere Portal Server 184.108.40.206.
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.
When generated, a state file will have read permissions for all users. However, because the state file contains clear text passwords, the best practice is for you to change the file permissions to restrict read and writeaccess to the user root.