The usual list to discuss mod_jk is the Tomcat users mailing list.

To subscribe, send mail to

   users-subscr...@tomcat.apache.org

To jumpstart the discussion there, please also add some information to the below post regarding what does actually not work.

Regards,

Rainer

On 07.09.2010 10:20, Amol Puglia wrote:
  Hello Team,

We have installed one instance of apache and 3 instance of tomcat.

We have compiled mod_jk module to forward request to 3 instance of tomcat.

We have configured workers.properties and it is loaded in httpd.conf file.

Below are the details of workers.properties file and httpd.conf file.

# lists the workers by name

worker.list=tomcat1, tomcat2, tomcat3, loadbalancer

# Tomcat1 configuration

worker.tomcat1.port=8009

worker.tomcat1.host=server_name

worker.tomcat1.type=ajp13

worker.tomcat1.lbfactor=100

# Tomcat2 configuration

worker.tomcat2.port=8010

worker.tomcat2.host=server_name

worker.tomcat2.type=ajp13

worker.tomcat2.lbfactor=100

# Tomcat3 configuration

worker.tomcat3.port=8011

worker.tomcat3.host=server_name

worker.tomcat3.type=ajp13

worker.tomcat3.lbfactor=100


#Load Balance worker configuration

worker.loadbalancer.type=lb

worker.loadbalancer.balanced_workers=tomcat1,tomcat2,tomcat3


Httpd.conf file details :-

LoadModule jk_module modules/mod_jk.so

JkWorkersFile conf/workers.properties

JkLogFile logs/mod_jk.log

JkLogLevel info

JkMount /* loadbalancer


Apache Version details :- 2.0.59

Tomcat Version details :- apache-tomcat-6.0.20

Mod_jk version details :- mod_jk-1.2.24

We have also noticed that jk module is loading properly in apache.

[Tue Sep 07 09:43:29 2010] [notice] Apache/2.0.59 (Unix) mod_jk/1.2.24
DAV/2 mod_ssl/2.0.59 OpenSSL/0.9.7d configured -- resuming normal operations


kindly help me to acheive loadbalancing from apache to tomcat.


Thanks,

Amol Puglia

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to