So I must configure vhost under apache for a specific webapp and then create context descriptor for specific tomcats under default host (ex. under tom1 and tom2 and not under tom3). Or must I create vhost under specific tomcats too?
2009/11/20 Pid <p...@pidster.com> > On 20/11/2009 09:22, Paolo Santarsiero wrote: > >> Hi all, I have a cluster with Apache2.2 and three Tomcat 6 instances in >> load >> balance and sticky sessions on three different servers. I use another >> server >> like webapps repository, so my tomcat's go to applications by context >> descriptors. But I don't want all three tom go on all apllications, so I >> replicate same context to only tomcats I want. This doesn't works fine, >> beacause sometimes the tom that doesn't point to that application receive >> the request and display a 404 page. How can I solve the problem? Thanks >> >> > Problem: you're sending the traffic to the wrong Tomcats? > Solution: don't send the traffic to the wrong Tomcat. > > Your mod_jk or mod_proxy load balancing config is sending* the traffic to > Tomcat instances without the right apps, so you'll have to modify your > config to ensure it does not do that. > > There's no magic fix for undoing something you've told it to do. > > > p > > > * I'm guessing here, because your post is a bit short of actual details. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >