tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anand HS" <>
Subject Re: What exactly happens when I configure a different host
Date Thu, 04 Dec 2008 08:48:54 GMT
The real reason is I have 3 web apps I want to deploy in a single tomcat
instance and all 3 have to be exposed with root context and also need to be
running on port 80. Hence, I have chosen to give my machine that runs tomcat
to have 3 distinct DNS Names/Addresses and configures these names/addresses
as the <Host> Name.

The 3 web apps are required to be running 80 all the time and also have to
have a root context all the time too.

I basically did this as this was a simple solution.  However, I am
interested in seeing alternatives for this approach.


On Thu, Dec 4, 2008 at 12:13 AM, André Warnier <> wrote:

> Caldarale, Charles R wrote:
>> From: Anand HS []
>>> Subject: Re: What exactly happens when I configure a different host
>>> Does that mean when we change the <Host>, we have to have a
>>> handler added in as well. ?
>> Have to - no; should - probably.  If you don't define one, the logging
>> info ends up in the default handler.
>>  Maybe the real question to the OP is : why do you want to change the name
> of the default Host ? what does that bring you ?
> (it's not a snappy question, it's a real question; maybe if you exlain your
> reason, we might suggest another solution)
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message