· Download and Install of Apache and Mod_jk
No Apache HTTPD 64 bit availability: http://wiki.apache.org/httpd/FAQ
In the Information for Windows User, it is recommended that 2.2 Apache HTTPD is the most stable version on Windows:
mod_jk download: Link http://tomcat.apache.org/download-connectors.cgi
· Apache HTTPD and mod_jk installation:
Run the Apache .msi file you downloaded above. The installation will ask you for these things:
Select I accept and Click Next..
Details of each option on Next Page
1. Network Domain: Enter the DNS domain in which your server is or will be registered in. For example, if your server’s full DNS name is server.mydomain.net, you would type mydomain.net here.
2. Server Name: Your server’s full DNS name. From the example above, you would type server.mydomain.net here.
3. Administrator’s Email Address: Enter the server administrator’s or webmaster’s email address here. This address will be displayed along with error messages to the client by default.
4. For whom to install Apache Select for All Users, on Port 80, as a Service – Recommended if you’d like your new Apache to listen at port 80 for incoming traffic. It will run as a service (that is, Apache will run even if no one is logged in on the server at the moment) Select only for the Current User, on Port 8080, when started Manually if you’d like to install Apache for your personal experimenting or if you already have another WWW server running on port 80.
5. The installation type. Select Typical for everything except the source code and libraries for module development. With Custom you can specify what to install. A full install will require about 13 megabytes of free disk space. This does not include the size of your web site(s).
6. Where to install. The default path is C:\Program Files\Apache Software Foundation under which a directory called Apache2.2 will be created by default. You may specify any other Path here
The installation has completed successfully. You will see the Apache in All Programs list
· Installation of Mod_jk
There is no installation or no executable required. We just need to copy mod_jk from the download directory to the new Apache (modules) Directory.
· Configuration of Tomcat
· Worker.Properties configuration:
We need to create this file in conf directory of Apache with below lines
- worker.worker1.host=<Tomcat 1 IP Address>
- worker.worker2.host=<Tomcat 2 IP Address>
· Httpd.conf configuration: Add below given entries
LoadModule jk_module modules/mod_jk.so
JkWorkersFile “<Installation Directory>/Apache Software Foundation/Apache2.2/conf/workers.properties”
JkLogFile “<Installation Directory>/Apache Software Foundation/Apache2.2/mod_jk.log”
JkLogStampFormat “[%a %b %d %H:%M:%S %Y] “
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkMount /* balancer
· Web.xml configuration for BusinessObjects Session serialization:
The entry of distributable=true needs to be manually done. <BI 4.0 Install Home directory>\Tomcat6\webapps\BOE\WEB-INF\web.xml
Tomcat Load Balancing now is configured.