wrong StandardContext
- From: "Caldarale, Charles R" <Chuck.Caldarale (at) unisys.com>
- Date: Mon, 16 Oct 2006 08:24:46 -0500
> From: Oleg [mailto:olegtim (at) gmail.com]
> Subject: Re: wrong StandardContext
>
> <Host autoDeploy="true" appBase="E:\Webspace\" name="localhost">
The trailing slash on the appBase declarations shouldn't cause problems,
but it's not needed.
> <Host reloadable="false" autoDeploy="false" name="domian2.com"
I'll assume the above name value is a typo, and not really that way in
your config.
> CATALINA_HOME\conf\Catalina\domain1.com\ROOT.xml :
> <Context override="true" path="/" docBase="domain1/ROOT" >
>
> CATALINA_HOME\conf\Catalina\localhost\ROOT.xml :
> <Context override="true" path="/" docBase="webApp">
The path attribute must not be specified when the <Context> element is
not in server.xml.
Since deployOnStartup is true for each host, all apps under E:\Webspace
will be deployed to each host during Tomcat initialization; is that what
you intended? What's actually in E:\Webspace now?
Since you still have webApp declared as existing in E:\Webspace, it may
be getting picked up by each host, even if it doesn't really exist.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
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