To configure the loadbalancing I followed the following link
However Although the linux machine I am using is 32bit version I am having the following error.
After google search, I have found many points referencing 64compile, but I have properly assigned the corrent flags and compiled it.
+[root@bin]# ./apachectl start+ httpd: Syntax error on line 419 of /usr/local/apacheHttpServer/conf/httpd.conf: Cannot load /usr/local/apacheHttpServer/modules/mod_loadbalancer.so into server: /usr/local/apacheHttpServer/modules/mod_loadbalancer.so: wrong ELF class: ELFCLASS64
I am sure it was compiled with 32bit settings, as follows, besides my linux machine is 32bit version , normally it should not be allowed to compile with 64 bit settigs even if i tried to compile with 64bit version
Could you try with the loadbalancer configurator 3.1 (http://www.oracle.com/technetwork/middleware/downloads/glassfish-301-downloads-326755.html)
See also the supported operating systems and web servers page - http://docs.oracle.com/cd/E18930_01/html/821-2426/gldbq.html#scrolltoc
Steps to configure Apache are given here: http://docs.oracle.com/cd/E18930_01/html/821-2426/abdhg.html#scrolltoc
The steps to install the loadbalancer plug-in are given here: http://docs.oracle.com/cd/E18930_01/html/821-2426/gktkv.html#scrolltoc
The post above gives you an alternative as the set-up you have is clearly not working.
"Could you try with the loadbalancer configurator 3.1 (http://www.oracle.com/technetwork/middleware/downloads/glassfish-301-downloads-326755.html)"
Which is 32-bit for sure, as no 64-bit version was available than, which you can see in the supported operating systems and web servers page - http://docs.oracle.com/cd/E18930_01/html/821-2426/gldbq.html#scrolltoc
I have installed jk-connector module following the instruction in link http://tomcat.apache.org/connectors-doc/
In this link there is a src file should be complied pointing the <web_server>/bin/apxs, there will be created a mod_jk.so file which has to be reperenced in httpd.conf file web server before starting the web server.
If you do not want to spend installing and compling jk-connector module, you can download compiled version of jk-module: http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.31/i386/
Thanks all for motivating me to find the real solution.