I am trying the "ant install" on the Tomcat 5.0.18 with the included sample application (jakarta-tomcat-5.0.18/webapps/tomcat-docs/appdev/sample).
The "ant install" seems to work fine. However, I found that the service is not started properly. When I look at tomcat's log files, I found the followings,
Feb 4, 2004 12:03:40 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /myapp from URL file:/home/ton/sample/build
Feb 4, 2004 12:03:40 PM org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base /home/tony/sample/build does
ot exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext
java:185)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardCont
xt.java:3858)
I do not understand why the problem occurs, as the /home/tony/sample/build is accessable by users and I run tomcat as a root user.
The contents of the /home/tony/sample/build is the build directory, which looks like,
ls -al total 24 drwxrwxr-x 4 tony tony 4096 Feb 4 10:45 . drwxr-xr-x 6 tony tony 4096 Feb 4 10:45 .. -rw-rw-r-- 1 tony tony 1019 Feb 4 10:45 hello.jsp drwxrwxr-x 2 tony tony 4096 Feb 4 10:45 images -rw-rw-r-- 1 tony tony 636 Feb 4 10:45 index.html drwxrwxr-x 4 tony tony 4096 Feb 4 10:45 WEB-INF
Does anyone kindly have any clue?
Thank you very much.
Best Regards, Tony Cheung
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]