Mantis - Quercus
Viewing Issue Advanced Details
1885 major always 07-18-07 06:38 07-19-07 11:55
closed 3.1.1  
none 3.1.3  
0001885: An url which contains a reference to a .php file that does not exists causes Quercus to throw a 500 Servlet Exception
Quercus throws a 500 Servlet Exception when the .php file is not found. I would think that a 404 File not found should be returned. A person who is url surfing should not be able to cause the app server to throw exceptions.

500 Servlet Exception /opt/resin-pro-3.1.1/deploy/_ear_platform/webapps/platform/app/page1.php
    at com.caucho.vfs.JniFilePathImpl.openReadImpl(
    at com.caucho.vfs.Path.openRead(
    at com.caucho.quercus.parser.QuercusParser.parse(
    at com.caucho.quercus.Quercus.parse(
    at com.caucho.quercus.servlet.ResinQuercusServlet.service(
    at com.caucho.quercus.servlet.QuercusServlet.service(
    at javax.servlet.http.HttpServlet.service(
    at com.caucho.server.dispatch.ServletFilterChain.doFilter(
    at com.caucho.server.dispatch.FilterFilterChain.doFilter(
    at com.caucho.server.cache.CacheFilterChain.doFilter(
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(
    at com.caucho.server.dispatch.ServletInvocation.service(
    at com.caucho.server.http.HttpRequest.handleRequest(
    at com.caucho.util.ThreadPool$Item.runTasks(
    at com.caucho.util.ThreadPool$

There are no notes attached to this issue.