Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D77379D5D for ; Tue, 6 Mar 2012 04:53:33 +0000 (UTC) Received: (qmail 92414 invoked by uid 500); 6 Mar 2012 04:53:32 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 92244 invoked by uid 500); 6 Mar 2012 04:53:28 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 92196 invoked by uid 99); 6 Mar 2012 04:53:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 04:53:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 04:53:24 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 99DBAA6B6 for ; Tue, 6 Mar 2012 04:53:03 +0000 (UTC) Date: Tue, 6 Mar 2012 04:53:03 +0000 (UTC) From: "Jarek Gawor (Created) (JIRA)" To: dev@geronimo.apache.org Message-ID: <2048987112.26018.1331009583669.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (GERONIMO-6295) Jsp is recompiled on each access MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org 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 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(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