geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (Commented) (JIRA)" <>
Subject [jira] [Commented] (GERONIMO-6295) Jsp is recompiled on each access
Date Tue, 06 Mar 2012 15:06:01 GMT


Jarek Gawor commented on GERONIMO-6295:

I updated the TldRegistry code to return jar:// urls instead of bundle:// urls (when possible)
to make things work better in Japser. Changes committed to trunk (revision 1297372) and branches/3.0-beta
(revision 1297366).

> Jsp is recompiled on each access
> --------------------------------
>                 Key: GERONIMO-6295
>                 URL:
>             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
> JSPs are recompiled on each access under certain circumstances. 
> Jasper must be configured with development mode.
> There are two problems:
> 1) Bug 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",
>   }
> 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:!default.jspa
For more information on JIRA, see:


View raw message