Regarding the 'quotes' issue - I'll explain...
In the server.xml file for the Tomcat server you name your jvm route
something like...
jvmRoute="tc1"
And in my case, the Apache httpd.conf, you name the route like...
BalancerMember ajp://127.0.0.1:18009 route=tc1
For a couple of days I had...
route="tc1"
because I had copy/pasted the value from the XML! I understand that
this may not apply to you directly, but take note that in the usual
configuration files that are NOT XML they mostly do not require
quotes.
Here's a snippet from my Apache httpd.conf file that show how I load
balanced my set-up. I needed only a specific sub-URL, hence the weird
ProxyPass, but it *should* work for other URL settings.
====Start Snippet
<Proxy balancer://mycluster>
# Does not seem to matter which one of these are used for the ajp path.
BalancerMember ajp://127.0.0.1:18009 route=tc1
BalancerMember ajp://127.0.0.1:28009 route=tc2
# BalancerMember ajp://localhost:18009 route=tc1
# BalancerMember ajp://localhost:28009 route=tc2
</Proxy>
# Using JSESSIONID or JSESSIONSSO for stickysession seems to make no difference.
ProxyPass /myServer balancer://mycluster/myServer
stickysession=JSESSIONID lbmethod=bytraffic
<Location /balancer-manager>
SetHandler balancer-manager
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Location>
====End snippet
Then my Tomcat1 server.xml (change ports etc for the 2nd Tomcat)
contains this (I've left some parts out)...
====Start snippet
<Service name="Catalina">
<Connector port="18080"
redirectPort="18443"
protocol="HTTP/1.1"
connectionTimeout="20000" />
<Connector port="18009"
redirectPort="18443"
protocol="AJP/1.3" />
<Engine name="Catalina"
defaultHost="localhost"
jvmRoute="tc1">
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster" />
<Host name="localhost"
appBase="webapps"
unpackWARs="true"
autoDeploy="true"
xmlValidation="false"
xmlNamespaceAware="false">
<!--
This is here so that all servlets under the host have single
sign on authentication.
-->
<Valve
className="org.apache.catalina.authenticator.SingleSignOn" debug="0"/>
</Host>
</Engine>
</Service>
====End Snippet
Again - This is how I did it using Apache 2.2 and Tomcat 6 - you're
set-up is different and this may not solve your problems. Just thought
it might help.
--
Rob ([EMAIL PROTECTED])
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]