You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Konstantin L Kouptsov <kl...@panix.com> on 2006/03/24 02:41:46 UTC

Re: context path

Never mind. Typo in the path.


Konstantin L Kouptsov wrote:

> 
> Question:
> 
> I do not want to put my application into the standard webapps directory, 
> but rather I prefer to put it on D: disk (with lots of space). Also, I 
> want to be able to access the application locally. So, I did what's said 
> in the docs: in
> C:\Program Files\Apache Software Foundation\Tomcat 
> 5.5\conf\Catalina\localhost\
> I created a file context.xml with the following contents:
> 
> <Context
>     path="/myapp" reloadable="true" docBase="D:\myapp\web"
>     workDir="D:\myapp\work" />
> 
> I get an error in the log upon start of tomcat:
> 
> "Document base D:\myapp\web does not exist or is not a readable 
> directory". The directory is there with the following contents:
> 
> META-INF
> WEB-INF
> index.jsp
> 
> What am I doing wrong?
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 


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