tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Bateman" <jo...@cyberworldgroup.com>
Subject RE: .JSP files in webapps root directory not found
Date Thu, 26 Oct 2000 16:34:42 GMT
Hi

Try printing out environment information, like realPath etc.

I think something is rewriting the URL for the virtual host / virtual web
you have configure in your webserver or webapp in tomcat.



> -----Original Message-----
> From: John Fisher [mailto:fisher23@llnl.gov]
> Sent: Thursday, October 26, 2000 11:53 AM
> To: tomcat-user@jakarta.apache.org
> Subject: .JSP files in webapps root directory not found
>
>
>
> (I posted this question a few days ago but received no reply
> - It's really
> messing me up though, so I'm trying again)
>
> Hi-
>
> I would like to provide .jsp files in my documentroot directory. For
> example, setting a home page to:
>
> http://mymachine.org/index.jsp
>
> my jk_mod.conf contains the following:
>
> JkMount /*.jsp ajp13
> JkMount /fishertest/*.jsp ajp13
>
> If I try:
>
> http://mymachine.org/fishertest/index.jsp
>
> then things work fine. However, the first URL produces the
> following error
> from Tomcat:
>
> 2000-10-24 09:45:55 - Ctx( /coretest.jsp ): FileHandler: Ends with \/.
> /home/iccs-netapp/fisher/jakarta-tomcat/webapps/index.jsp/
> 2000-10-24 09:45:55 - Ctx( /coretest.jsp ): 404 R( /index.jsp
> +  + null)
> null
>
>
> Any ideas on what I might be doing wrong?
>
> Thanks,
> John


Mime
View raw message