Anonymous | Login | Signup for a new account | 12-17-2024 10:34 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0004090 | [Resin] | minor | always | 06-28-10 15:32 | 06-30-10 10:16 | ||||
Reporter | JTinCA | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 4.0.8 | Product Version | 3.1.6 | ||||
Product Build | |||||||||
Summary | 0004090: 404 on rewritten URL results in FileNotFoundException | ||||||||
Description |
In resin conf we have this to trick the browser into updating the cached files when we need: <filter filter-name='StaticRewrite' filter-class='com.caucho.filters.RewriteFilter'> <init> <rewrite pattern="/static/[0-9]+(/.*)$" target="$1"/> </init> </filter> If a user requests "/static/123/foo.gif" and it does not exist, they get the expected 404 not found response. But if a user requests "/static/123/foo.jsp" and it does not exist, they get a 500 server error response with a stack like this: java.io.FileNotFoundException: /foo.jsp at com.caucho.jsp.PageManager.getPage(PageManager.java:253) at com.caucho.jsp.PageManager.getPage(PageManager.java:178) at com.caucho.jsp.PageManager.getPage(PageManager.java:161) at com.caucho.jsp.QServlet.getSubPage(QServlet.java:301) at com.caucho.jsp.QServlet.getPage(QServlet.java:210) at com.caucho.server.dispatch.PageFilterChain.compilePage(PageFilterChain.java:238) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:145)... |
||||||||
Steps To Reproduce | |||||||||
Additional Information | This is with the 3.1.6 Professional version running on Ubuntu Linux with Java 1.6.0_20. | ||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |