tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Ludwig <...@as-guides.com>
Subject Re: tomcat 6.0.20 different instances with diff ips but same port no 80
Date Tue, 01 Sep 2009 16:45:26 GMT
Caldarale, Charles R schrieb:
>>
>> I would probably deploy the app, grab the extracted second_world.xml,
>> put it under version control
>
> Why not just start out with the <Context> element under version
> control?  No need to even have it in the .war file if you're always
> going to override it.

Right. I just imagined being a Tomcat admin receiving an alien WAR
without source, but with its particular context.xml - and having to
deal with it, and possible successor versions.

>> <Home name="alpha" ...>
>>    <Alias>beta</Alias>
>>    <Alias>gamma</Alias>
>
> The <Alias> elements aren't needed.  If you just have a single <Host>
> - which must be the defaultHost for the <Engine> - all requests go
> there regardless.  It's only when you have multiple <Host> elements
> that the name attribute and any <Alias> elements come into play.

That makes sense. Thanks!

-- 
Michael Ludwig

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message