You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Forrest Xia (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/27 17:08:26 UTC

[jira] [Resolved] (GERONIMO-6295) Jsp is recompiled on each access

     [ https://issues.apache.org/jira/browse/GERONIMO-6295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Forrest Xia resolved GERONIMO-6295.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0-beta-2
                   3.0

Think it's resolved now, right?
                
> Jsp is recompiled on each access
> --------------------------------
>
>                 Key: GERONIMO-6295
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6295
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: osgi, web
>    Affects Versions: 3.0-beta-1
>            Reporter: Jarek Gawor
>            Assignee: Jarek Gawor
>             Fix For: 3.0, 3.0-beta-2
>
>
> JSPs are recompiled on each access under certain circumstances. 
> Jasper must be configured with development mode.
> There are two problems:
> 1) Bug 52744 (https://issues.apache.org/bugzilla/show_bug.cgi?id=52744) as discovered by Forrest. This happens on file systems with time resolution of 1s (for example ext3 on Linux).
> 2) If JSP (in an WAB) uses tag files provided by another (separate) bundle, the generated Java file for the JSP will contain the following dependent information (for example):
>   static {
>     _jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(2);
>     _jspx_dependants.put("bundleentry://231.fwk1401888126/META-INF/tags/sharedTest.tag", Long.valueOf(-1L));
>   }
> The problem is code checking the dependent timestamps in Compiler.isOutDated() does not know how to deal with bundleentry:// urls and the code assumes the file is outdated (and needs to be recompiled).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira