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

ProcedureTo Generate a State File for a J2EE Agent Installation

  1. Change to the following directory:


    PolicyAgent-base/bin

    This directory contains the agentadmin program, which is used for installing 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.

  2. Issue the following command:


    ./agentadmin --install --saveResponse filename
    
    -saveResponse

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

    filename

    Represents the name that you choose for the state file.

  3. Perform the installation as described in Chapter 3, Installing the IBM WebSphere Portal Server 6.0 Policy Agent

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


    Note –

    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 write access to the user root.