wrong StandardContext
- From: Mark Thomas <markt (at) apache.org>
- Date: Tue, 17 Oct 2006 20:01:29 -0400
Caldarale, Charles R wrote:
>> From: Oleg [mailto:olegtim (at) gmail.com]
>> Subject: Re: wrong StandardContext
>>
>> I know declare docBase for every application as absolute path,
>> docBase="E:/Webspace/domain1/ROOT" This seem to fix the problem
>> and my vrtual hosts do not try to load localhost webApp anymore.
>> Is this the right way to fix the problem?
>
> A very good question. I think you may have stumbled across a real bug,
> but it will take a bit more experimentation to be sure. At least you
> have a workaround.
No bug here, just a configuration issue. The 'right' way to fix this
is to correctly set the appBase for each virtual host. ie:
<Host reloadable="false" autoDeploy="false" name="domain1.com"
appBase="E:\Webspace\domain1">
</Host>
<Host reloadable="false" autoDeploy="false" name="domian2.com"
appBase="E:\Webspace\domain2">
</Host>
<Host reloadable="false" autoDeploy="false" name="domain3.com"
appBase="E:\Webspace\domain3">
</Host>
Mark
---------------------------------------------------------------------
To start a new topic, e-mail: users (at) tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
For additional commands, e-mail: users-help (at) tomcat.apache.org