• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Tomcat lbfactor weight not working

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm having some issues with the lbfactor in Tomcat with Apache mod_jk. Everything seems to be working fine except for the load factor. It recognizes the sticky sessions, and it is failing over. Only problem I am having is the fact that it is not recognizing the load factor I have set in workers.properties file. It continues to go back and forth the same, no matter what load factor I have set on each server. I have two servers. I have two Tomcat instances on two different servers. Both of them are running an app on Tomcat with Apache web. Both workers.properties on both servers are identical as well as httpd.conf and server.xml.

Has anybody came across this issue where only the lbfactor was not working? Here are my files. I hate to have such a large post, but I figured you would need to see my config files. Let me know if you need any more info. Any help is appreciated. Thank you.

server,xml


httpd.conf



workers.properties

 
And tomorrow is the circus! We can go to the circus! I love the circus! We can take this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic