Sun Java System Access Manager Policy Agent 2.2 Guide for SAP Enterprise Portal 7.0 and Web Application Server 7.0

Using a State File for a J2EE Agent Silent Installation

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

ProcedureTo Install a J2EE Agent Using a State File

To perform a silent installation 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 agent installation state file.

  2. Issue the following command:


    ./agentadmin --install --useResponse filename
    
    -useResponse

    An option that directs the installer to run in non-interactive mode as it obtains all responses to prompts from the named state file.

    filename

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

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