Tim Lucia wrote:
Try D:/myapp/web -- It works for me. Generally speaking, / always works for
directory path separation in anything Java-esque. \ is the escape character,
and so for \ to work, you often have to double it up, i.e., \\.
Yes, thank you for the answer. Actually from the errors in the log I saw
that /, \ or \\ are all interpreted as /.
[My problem was that the real path was d:\projects\myapp. It works fine
after correction.]
-----Original Message-----
From: Konstantin L Kouptsov [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 23, 2006 8:17 PM
To: Tomcat Users List
Subject: context path
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]