One Apache 2.0.47 machine with jk2 wanting desperately to talk to two
tomcat servers. I started this days adventure with mod_jk only to read that sticky sessions
wouldn't work with a non --enable-mpm=worker compiled version of apache. (is this true??)
I then recompiled apache and mod_jk2 but the configuration syntax is different.
in mod_jk land it would something like:
worker.tomcat1.port=11009 worker.tomcat1.host=localhost worker.tomcat1.type=ajp13 worker.tomcat1.lbfactor=100
worker.tomcat2.port=12009 worker.tomcat2.host=localhost worker.tomcat2.type=ajp13 worker.tomcat2.lbfactor=100
with the corresponding jvmRoutes and port changes added on the servers.
I guess I need an someone who is using different machines for web and tomcat with an example workers2.properties they could email to help me along or some one to answer a question or two.
How do I do a worker.type=loadbalance in jk2 syntax?
How do I write the correspondiong entries into the workers2.properties file to tell
apache about my two tomcat servers and to share the .jsp load between them?.
TIA -David Obrien
