Tomcat configuration issue:
I've added a new app in the webapps directory, with appropriate sub dirs,
etc.  When I restart tomcat and apache, I get a 404 error when trying to
hit a jsp (index.jsp).  

The jasper.log shows :
ServletPath: /foo/index.jsp
RealPath: /usr/local/tomcat/webapps/ROOT/foo/index.jsp
Classpath according to the Servlet Engine is:
/usr/local/tomcat/webapps/ROOT/WEB-INF/classes

It should be:
ServletPath: /foo/index.jsp
RealPath: /usr/local/tomcat/webapps/foo/index.jsp
Classpath according to the Servlet Engine is:
/usr/local/tomcat/webapps/foo/WEB-INF/classes

server.xml states that new apps DO NOT have to be entered if in the webapps
directory, but I added this just in case:
<Context path="/foo" 
    docBase="webapps/foo" 
    crossContext="false"
    debug="0" 
    reloadable="true" > 
</Context>

Any ideas what is causing this problem?

-- 
Mark Lundquist
[EMAIL PROTECTED]

Reply via email to