Sun Java System Application Server Enterprise Edition 8.1 2005Q2 High Availability Administration Guide

- Previous: Modifications Made by the Application Server Installer
- Next: Modifications to Microsoft IIS

## To configure Apache Security Files to work with the Load Balancer

Apache Web Server must have the correct security files to work well with the load balancer plug-in.

1. Create a directory called `sec_db_files` under apache_install_dir.

2. Copy application_server_domain_dir `/config/`*.db to apache_install_dir `/sec_db_files`.

3. Depending on the platform, perform additional configuration.

   - On the Solaris platform:

     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 Linux:

     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 application_server_install_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.

- Previous: Modifications Made by the Application Server Installer
- Next: Modifications to Microsoft IIS

- © 2010, Oracle Corporation and/or its affiliates