This section describes known installation issues and associated solutions.
Apache and IIS cannot be configured through Java ES 5 Installer. You need to manually configure Apache and IIS on the Windows platform.
To configure Load Balancer Apache or IIS, follow these steps.
To Configure Apache 2.x:
Install Apache 2.x.
Apache is installed in the APDIR=C:\Apache2\Apache2 directory
Install JES5 with minimal installation.
Deselect all components but loadbalancer. Java ES 5 is installed in the JES5DIR=C:\Program Files\Sun\JavaES5 directory.
The
Create the resource and errorpages directories in the Apache2 directory.
mkdir %APDIR%\modules\resource
mkdir %APDIR%\modules\errorpages
Copy the resource file to the resource directory.
cd %APDIR%\modules\resource
copy %JES5DIR%\appserver\lib\webserver-plugin\windows\apache2\LBPlugin*.res .
Copy the load balancer DLL to the modules directory.
cd %APDIR%\modules
copy %JES5DIR%\appserver\lib\webserver-plugin\windows\apache2\mod_loadbalancer.dll .
Copy the template errorpages to the errorpages directory.
cd %APDIR%\modules\errprpages
copy %JES5DIR%appserver\lib\webserver-plugin\windows\iws\errorpages .
Copy the loadbalancer template and the other DTD to the Apache config directory.
cd %APDIR%\config
copy %JES5DIR%\appserver\lib\install\templates\loadbalancer.xml.template .
copy %JES5DIR%\appserver\lib\dtds\sun-loadbalancer* .
Create a backup of the httpd.conf file.
cd %APDIR%\config
copy httpd.conf httpd.conf.orig
Edit the httpd.conf file.
Append the following lines to the httpd.conf file:
##BEGIN EE LB Plugin Parameters LoadModule apachelbplugin_module modules/mod_loadbalancer.dll <IfModule mod_apache2lbplugin.cpp> config-file "C:\Apache2\Apache2/conf/loadbalancer.xml" locale en </IfModule> <VirtualHost 10.12.8.107> DocumentRoot "C:\Apache2\Apache2/htdocs" ServerName vm07 </VirtualHost> ##END EE LB Plugin Parameters
Replace C:\Apache2\Apache2 with the actual %APDIR% directory.
Also replace the IP, ServerName, and DocumentRoot directory.
Create a new sec_db_filesdirectory in the %APDIR%.
cd %APDIR%
mkdir sec_db_files
Copy NSS key store to the %APDIR%\sec_db_files directory.
cd %APDIR%\sec_db_files
copy %JES5DIR%\appserver\lib\webserver-plugin\windows\iis\*.db .
Set the PATH to include the required libraries.
Prepend the following extra path:
PATH %JES5DIR%\share\lib;%JES5DIR%\appserver\lib;%JES5DIR%\appserver\bin
Replace %JES5DIR% with the actual Java ES 5 directory.
Add the NSPR_NATIVE_THREADS_ONLY variable with value 1 in the system environment.
Reboot and test Apache 2 (after configuring loadbalancer.xml).
To configure IIS LBPlugin:
Create the sun-passthrough directory in the c:\inetpub\wwwroot directory.
cd c:\inetpub\wwwroot
mkdir sun-passthrough
Createerrorpages, resource and sec_db_files directories in the c:\inetpub\wwwroot\sun-passthrough directory.
cd c:\inetpub\wwwroot\sun-passthrough
mkdir errorpages
mkdir resources
mkdir sec_db_files
Copy DLL files to the sun-passthrough directory.
copy <as_install_dir>/appserver/lib/webserver-plugin/iis/*.dll c:\inetpub\wwwroot\sun-passthrough\
Copy DTDs to the sun-passthrough directory.
copy <as_install_dir>/appserver/lib/dtds/sun-loadbalancer*.dtd c:\inetpub\wwwroot\sun-passthrough\
Copy the sun-passthrough.properties fileto the sun-passthrough directory.
copy <as_install_dir>/appserver/lib/webserver-plugin/iis c:\inetpub\wwwroot\sun-passthrough\
Copy security DB files to the sun-passthrough directory.
copy <as_install_dir>/appserver/lib/webserver-plugin/iis/*.db c:\inetpub\wwwroot\sun-passthrough\sec_db_files\
Copy resource files to the sun-passthrough directory.
copy <as_install_dir>/appserver/lib/webserver-plugin/iws/*.res c:\inetpub\wwwroot\sun-passthrough\resource\
Copy error pages to the sun-passthrough directory.
copy <as_install_dir>/appserver/lib/webserver-plugin/iws/errorpages/*.html c:\inetpub\wwwroot\sun-passthrough\errorpages\
Copy the loadbalancer.xml.example template to the sun-passthrough directory.
copy <as_install_dir>/appserver/lib/install/templates/loadbalancer.xml.example c:\inetpub\wwwroot\sun-passthrough\
Edit the sun-passthrough.properties file.
##BEGIN EE LB Plugin Parameters log-file = C:\InetPub\wwwroot\sun-passthrough\lb.log ### The valid options for different logging levels are FATAL, SEVERE, WARNING, INFO and FINE. log-level = INFO lb-config-file = C:\InetPub\wwwroot\sun-passthrough\loadbalancer.xml ##END EE LB Plugin Parameters
If you are configuring IIS6, ensure that you set the permissions and perform additional steps as described in the AS82 documentation. You might also need to set the IIS6 isolation mode to IIS5 compatible.
On the Windows platform, immediately after the installation of Application Server Enterprise Edition, the Message Queue broker fails on startup. A error message is displayed stating that the directory drive:\as\domains\domain1\imq does not exist.
Note that if the broker is started after starting domain1, the directory is created by the Application Server and the problem does not occur.
Create the var_home_dir_location before creating the broker:
$imqbrokerd -varhome var_home_dir_location |
For example:
$imqbrokerd -varhome D:\as\domains\domain1\imq |