You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nathan Coraor <na...@corona.cse.psu.edu> on 2002/10/01 23:42:39 UTC
Error 404, but it exists.
Hi all,
I'm getting a 404 (using builtin webserver on port 8080) when trying to
open a dir containing an application. Here's my Host container:
<Host name="www.cse.psu.edu" debug="0" appBase="/home/www"
unpackWARs="true" autoDeploy="true">
And Context container:
<Context path="/cse411" docBase="/home/users1/cg411/www/disk"
debug="0" reloadable="true" />
The dir exists and permissions are right (on the subdirs too)
> lla /home/users1/cg411/www/disk
drwxr-xr-x 4 cg411 cg411 512 Oct 1 09:27 ./
drwxr-xr-x 8 cg411 cg411 512 Oct 1 15:24 ../
-rw------- 1 cg411 cg411 2852002 Oct 1 09:26 DataProcessor.zip
-rw------- 1 cg411 cg411 709 Sep 10 11:36 README.txt
drwxr-xr-x 3 cg411 cg411 512 Oct 1 15:23 WEB-INF/
drwxr-xr-x 3 cg411 cg411 512 Oct 1 15:23 jsp/
If I set docBase to /home/users1/cg411/www, it works and I can even
browse into the disk subdir, but the JSP
(disk/jsp/dataproc/DiskDrive.jsp) doesn't function (I'm assuming
because Tomcat doesn't know to look for the classes in disk/WEB-INF).
The answer is probably staring me in the face, but I just can't figure
it out.
Thanks,
--nate
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>