You cannot use the cluster commands, so something like:
will not work.
What do you mean by that statement? Do you have an empty Httpd configuration?
Can someone tell me what commands I must use to connect my Apache Virtual Host via mod_cluster to Tomcat 6.
Do you mean httpd config by "commands" in the aforementioned statement?
THX for clarification.
Seems like my Virtual host tags are not represented correctly. Sorry for that. Well, this is my Virtual Host:
CustomLog logs/www.test.nl-access_log combined
ProxyPass / balancer://cluster1/application1 stickysession=JSESSIONID|jsessionid nofailover=On
ProxyPassReverse / balancer://cluster1/application1
< /VirtualHos t>
You cannot use the
- What can you use instead for passing jsp and so on to Tomcat (with mod_jk, the answer was JkMount) ?
- What do you use when you want to connect two or more Tomcats (with mod_jk the answer was workers.properties) ?
Well, I would use for a httpd machine called superbox01 e.g.:
Listen 8886 <VirtualHost superbox01:8886> ServerName superbox01 ManagerBalancerName supercluster ServerAdvertise On AdvertiseGroup 220.127.116.11:23364 </VirtualHost>
And on Tomcat6 side in server.xml:
<Listener className="org.jboss.modcluster.ModClusterListener" stickySession="true" stickySessionRemove="true" stickySessionForce="false" />
This configuration applies for Mod_Cluster 1.0.x (see docs)
Mod_Cluster 1.1x introduces some additional features (see docs).
Note: The aforementioned configuration needs multicast enabled between the httpd and Tomcat6 box. In case you can't enable multicast, use proxyList.