Sun Java System Access Manager 7.1 Postinstallation Guide

Deploying an Access Manager 7.1 WAR File in Sun Java System Application Server Enterprise Edition 8.2

Before you deploy the Access Manager WAR file, Application Server 8.2 must be installed and running on the host server.

ProcedureTo Deploy the Access Manager 7.1 WAR File in Application Server 8.2

  1. Login as (or become) superuser (root).

  2. Copy the amserver.war file to the host server where you want to deploy Access Manager.

    To get the amserver.war file, see Getting an Access Manager 7.1 War File.

    For example, copy the WAR file to the /opt/SUNWam/amwar_staging directory.

  3. Backup the server.policy file and then add the Java security permissions to the file, as shown in Adding Access Manager Permissions to the Server Policy File.

  4. Restart the Application Server instance for the new entries to take effect.

  5. Create a file containing the Application Server administration password.

    For example, if you use /tmp/pwdfile as the password file:

    echo "AS_ADMIN_PASSWORD=application-server-administration-password" > /tmp/pwdfile
  6. Deploy the amserver.war file using the Application Server Admin Console or the asadmin deploy command.

    For example, the following asadmin deploy command deploys the WAR file on Solaris systems:

    # cd /opt/SUNWappserver/appserver/bin
    # ./asadmin deploy --user appserver-admin
    --passwordfile /tmp/pwdfile --port 4849
    --contextroot amserver --name amserver
    --target server /opt/SUNWam/amwar_staging/amserver.war
  7. Continue with Configuring Access Manager 7.1 Using the Configurator.