Mantis - Resin
Viewing Issue Advanced Details
6350 minor always 06-04-20 02:22 06-24-20 15:38
nam  
ferg  
high  
closed 4.0.64  
fixed  
none    
none 4.0.65  
0006350: JspPrecompileListener compiling tags multiple times
(rep by Mitsuo)

When a custom tag is created in jsp and used it in two jsp files, precompilation fails.

At startup, a log similar to the following is output.

--------

[20-06-03 13:30:06.642] {resin-45} /WEB-INF/view/docreg.jsp:8: _jsp._web_22dinf._tags._wdcselectlist__tag [java.io.FileNotFoundException: c:\im\iap\resin\webapps\precompile_test\WEB-INF\work\_jsp\_web_22dinf\_tags\_wdcselectlist__tag.class (in DynamicClassLoader[SimpleLoader[/c:/im/iap/resin/webapps/precompile_test/WEB-INF/work]])

                      6: </head>
                      7: <body>
                      8: <wdctags:wdcSelectList dialogId="listDialog" decisionButtonId="btnLDDecision" id="lid" />
                      9: </body>
                      10:

--------

It seems to be avoided by setting the following as the initialization parameter of com.caucho.jsp.JspPrecompileListener.

    <thread-count>1</thread-count>
 precompile_test_nam.war [^] (2,490 bytes) 06-04-20 02:22

There are no notes attached to this issue.