geronimo-dev mailing list archives

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

                 Key: GERONIMO-6295
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: osgi, web
    Affects Versions: 3.0-beta-1
            Reporter: 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", 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:!default.jspa
For more information on JIRA, see:


View raw message