Sun Java System Application Server Enterprise Edition 8.2 High Availability Administration Guide

ProcedureTo Configure Apache Security Files to Work with the Load Balancer

  1. Create a directory called sec_db_files under Apache-install-dir.

  2. Copy the security database files from Application Server to the directory you created.

    Copy domain-dir/config/*.db to Apache-install-dir/sec_db_files.

  3. Depending on the platform, perform additional configuration.

    • On the Solaris platform, for Java Enterprise System installations:

      Add the path /usr/lib/mps/secv1 to LD_LIBRARY_PATH in the Apache-install-dir/bin/apachectl script. The path must be added before /usr/lib/mps.

    • On the Linux platform, for Java Enterprise System installation:

      Add the path /opt/sun/private/lib to LD_LIBRARY_PATH in the Apache-install-dir/bin/apachectl script. The path must be added before /usr/lib.

    • On Microsoft Windows:

      1. Add a new path to the Path environment variable.

        Click Start ⇒ Settings ⇒ Control Panel ⇒ System ⇒ Advanced ⇒ Environment Variables ⇒ System Variables.

        Add the Application Serverinstall-dir/bin to the Path environment variable.

      2. Set the environment variable NSPR_NATIVE_THREADS_ONLY to 1.

        In the Environment Variables window, under System Variables, click New. Enter Variable name of NSPR_NATIVE_THREADS_ONLY and Variable value of 1.

      3. Restart the machine.