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

ProcedureTo Edit the Access Manager Web Server Configuration Files

  1. Log in as a root user to the host Access Manager 1.


    # cd /opt/SUNWwbsvr/https-AccessManager-1.example.com/config
  2. Edit file server.xml.

    Make a backup of this file, and then make the following changes:

    1. In server.xml, locate this entry:

      <JAVA javahome="/usr/jdk/entsys-j2se" serverclasspath=
    2. At the end of the serverclasspath attribute, append these values:


      /usr/share/lib/jms.jar:/usr/share/lib/imq.jar:
    3. Save the file.

  3. Edit the file sun-web.xml.


    cd /opt/SUNWwbsvr/https-AccessManager-1.example.com/is-web-apps/services/WEB-INF
    1. Make a copy of sun-web.xml.

    2. In the <cookie-properties> element, add the following property:


      <property name="encodeCookies" value="false"/>
    3. Save the file.

  4. Log in as a root user to the host Access Manager 2.


    # cd /opt/SUNWwbsvr/https-AccessManager-2.example.com/config
  5. Edit file server.xml.

    Make a backup of this file, and then make the following changes:

    1. In server.xml, locate this entry:

      <JAVA javahome="/usr/jdk/entsys-j2se" serverclasspath=
    2. At the end of the serverclasspath attribute, append these values:


      /usr/share/lib/jms.jar:/usr/share/lib/imq.jar:
    3. Save the file.

  6. Edit the file sun-web.xml.


    cd /opt/SUNWwbsvr/https-AccessManager-2.example.com/is-web-apps/services/WEB-INF
    1. Make a copy of sun-web.xml.

    2. In the <cookie-properties> element, add the following property:


      <property name="encodeCookies" value="false"/>
    3. Save the file.

  7. Restart Access Manager 1 and Access Manager 2.

    # cd /opt/SUNWwbsvr/https-AccessManager-1

    # ./stop; ./start

    # cd /opt/SUNWwbsvr/https-AccessManager-2

    # ./stop; ./start