logoon  windows
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored by anyone.

Your donations will help to keep this site alive and well, and continuing the building of the binaries.



lb worker with mod_jk 1.2.36

 
Post new topic   Reply to topic    Apache Forum Index -> Apache third-party Modules



View previous topic :: View next topic  
Author Message
mwu



Joined: 25 Mar 2012
Posts: 11

PostPosted: Fri 18 May '12 1:14    Post subject: lb worker with mod_jk 1.2.36 Reply with quote

Maybe helpful for other users with lb worker configuration:

I replaced mod_jk 1.2.35 with the new mod_jk 1.2.36 and my load balancer worker does not work anymore.

This was the problem:
If you add a lb member worker to the worker.list, the load balancer will not work anymore.
You will see such log entries in your mod_jk debug logfile:
[debug] ajp_validate::jk_ajp_common.c (2716): worker lbworkerLOCALHOST contact already configured (0->0

So with mod_jk 1.2.36, it is no longer allowed to list member workers of a load balancer also in the worker.list property.

I think apache.org should now change the how to guide from:
"balance_workers is a comma separated list of names of the member workers of the load balancer. These workers are typically of type ajp13. The member workers do not need to appear in the worker.list property themselves, adding the load balancer to it suffices."

To something like this:
"balance_workers is a comma separated list of names of the member workers of the load balancer. These workers are typically of type ajp13. It is not allowed to add any member workers in the worker.list property, adding the load balancer to it suffices."

URL: http://tomcat.apache.org/connectors-doc/generic_howto/loadbalancers.html


Michael
Back to top
mwu



Joined: 25 Mar 2012
Posts: 11

PostPosted: Sun 03 Jun '12 22:15    Post subject: Reply with quote

With mod_jk 1.2.37 this issue has been solved:

Changes between 1.2.36 and 1.2.37
- Fix regression which can crash webserver in case worker is defined both as member of load balancer and as standalone worker.

...

http://tomcat.apache.org/connectors-doc/miscellaneous/changelog.html

Michael
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache third-party Modules
Page 1 of 1