Caldarale, Charles R wrote:
>> From: Oleg [mailto:[EMAIL PROTECTED] 
>> 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@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to