Deployment Example 1: Access Manager 7.0 Load Balancing, Distributed Authentication UI, and Session Failover

ProcedureTo Modify the Application Server Startup Script

The J2EE Policy Agent installer creates a new file in the Application Server bin directory:


/usr/local/bea/user_projects/domains/ProtectedResource-2/
bin/setAgentEnv_ApplicationServer-2.sh
  1. Make a backup of setDomainEnv.sh.

    # cd /usr/local/bea/user_projects/domains/ProtectedResource-2/bin/

  2. In setDomainEnv.sh, insert the following at the end of the file:


    . /usr/local/bea/user_projects/domains/ProtectedResource-2/
    bin/setAgentEnv_ApplicationServer-2.sh

    This command references the file the installer created in the Application Server bin directory.

  3. Save the file.

  4. Change permissions for the setAgentEnv_ApplicationServer-2.sh file:

    # chmod 755 setAgentEnv_ApplicationServer-2.sh

  5. Start the Application Server administration server.


    # cd /usr/local/bea/user_projects/domains/ProtectedResource-2/bin
    # nohup ./startWebLogic.sh &
    # tail -f nohup.out

    Watch for startup errors.