On 27/08/2009 08:28, coucou78 coucou78 wrote:
hello,
Here we need to have two instances of Tomcat 5.0.30 running at the same time
(tomcat1 , tomcat2) , for sure on differents ports,
BUT those instances must have the same webapps folder.
Why?
This requirement is not compatible with Tomcat configuration - what goal
does it serve?
../webapps : app1
app2
app3
app4
tomcat1 should host app1 and 2
and tomcat 2 should host app3 and app4
You appear to know already this is problematic. How is Tomcat supposed
to know which app to deploy for each running instance, if you've put all
of the apps in one webapps folder?
You /could/ put all of the webapps in one /location/, but it can't be
the configured webapps folder and you'll have to do manual work each
time you want to make config changes. It would arguably be more fragile.
IMHO you'd be better off fixing the requirement.
What's wrong with
../host1/webapps
../host2/webapps
?
p
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org