Anonymous | Login | Signup for a new account | 12-17-2024 10:56 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 | ||||
0002615 | [Resin] | minor | always | 04-21-08 12:26 | 04-24-08 17:37 | ||||
Reporter | stbu | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.1.6 | Product Version | 3.1.6 | ||||
Product Build | |||||||||
Summary | 0002615: JspPrecompileListener ignores <fileset> tag | ||||||||
Description |
Accordingly to the documentation <http://caucho.com/resin/doc/jsp-compile.xtp#precompile> [^] I wanted to precompile all JSP's in certain folder of our Web Application using the com.caucho.jsp.JspPrecompileListener with the <fileset> tag. I've created a small testcase to reproduce it and to log this bug report. This is the structure of the web-app: $RESIN/webapps/test $RESIN/webapps/test/WEB-INF $RESIN/webapps/test/WEB-INF/classes $RESIN/webapps/test/WEB-INF/tmp $RESIN/webapps/test/WEB-INF/work $RESIN/webapps/test/t1 $RESIN/webapps/test/t1/sub1 $RESIN/webapps/test/t1/sub1/t1_sub1.jsp $RESIN/webapps/test/t2 $RESIN/webapps/test/t2/sub2 $RESIN/webapps/test/t2/sub2/t2_sub2.jsp The resin.conf contains this: <web-app id="/test" root-directory="webapps/test"> <log path='WEB-INF/debug.log' timestamp='[%H:%M:%S.%s] ' format=" ${app.contextPath} ${log.level} ${log.loggerName} ${log.message}"> <logger name="com.caucho" level="finest"/> </log> <listener> <listener-class>com.caucho.jsp.JspPrecompileListener</listener-class> <init> <fileset> <include>/t1/**/*.jsp</include> </fileset> </init> </listener> </web-app> I would expect, that only the JSP "$RESIN/webapps/test/t1/sub1/t1_sub1.jsp" will get precompiled. But unfortunetly both JSP's are compiled. Here the extract of the debug.log: [21:11:56.375] /test FINER com.caucho.server.webapp.WebApp WebApp[http://localhost:8080/test] [^] initializing [21:11:56.375] /test FINEST com.caucho.server.webapp.WebApp javax.naming.NameNotFoundException: java:comp/env/caucho/auth [21:11:56.375] /test FINER com.caucho.server.webapp.WebApp WebApp[http://localhost:8080/test] [^] initialized [21:11:56.375] /test FINE com.caucho.server.webapp.WebApp WebApp[http://localhost:8080/test] [^] starting [21:11:56.406] /test FINE com.caucho.jsp.JspPrecompileResource compiling /t1/sub1/t1_sub1.jsp [21:11:56.421] /test INFO com.caucho.jsp.TldManager Loading .tld files from global classpath [21:11:56.703] /test FINE com.caucho.jsp.JspPrecompileResource compiling /t2/sub2/t2_sub2.jsp [21:11:56.718] /test CONFIG com.caucho.java.JavaCompiler Compiling _jsp/_t1/_sub1/_t1_0sub1__jsp.java [21:11:56.718] /test CONFIG com.caucho.java.JavaCompiler Compiling _jsp/_t2/_sub2/_t2_0sub2__jsp.java It appears that the <fileset> is completly ignored. |
||||||||
Steps To Reproduce | |||||||||
Additional Information |
resin-pro-3.1.s080417 Java 1.6 Windows XP Professional (reproducible also on Linux and Java 1.5) |
||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed. 26 unique queries executed. |