Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 5404 invoked from network); 27 May 2010 10:22:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 May 2010 10:22:10 -0000 Received: (qmail 52300 invoked by uid 500); 27 May 2010 10:22:09 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 51774 invoked by uid 500); 27 May 2010 10:22:07 -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 50694 invoked by uid 99); 27 May 2010 10:22:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 May 2010 10:22:03 +0000 X-ASF-Spam-Status: No, hits=-1470.9 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 May 2010 10:22:03 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4RALhRI022543 for ; Thu, 27 May 2010 10:21:43 GMT Message-ID: <25172099.19181274955703114.JavaMail.jira@thor> Date: Thu, 27 May 2010 06:21:43 -0400 (EDT) From: "Rick McGuire (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-5151) JSTL sql tags do not work In-Reply-To: <1582465585.379651266556887923.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GERONIMO-5151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick McGuire updated GERONIMO-5151: ----------------------------------- Fix Version/s: 3.0-M1 (was: 3.0) > JSTL sql tags do not work > ------------------------- > > Key: GERONIMO-5151 > URL: https://issues.apache.org/jira/browse/GERONIMO-5151 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: javaee6, osgi, Web Profile > Affects Versions: 3.0 > Reporter: Jarek Gawor > Assignee: Jarek Gawor > Fix For: 3.0-M1 > > > The JSTL sql tags use DriverManager API to connect to the database. There are well-known problems with DriverManager API and classloaders and that is exactly what is causing the sql tags not work in OSGi environment. The core of the problem is that the DriverManager uses the caller's classloader (in this case the JSTL bundle classloader) to find a driver for the given url. Since JSTL bundle does not import any database drivers, the DriverManager does not "see" any drivers and so fails to connect to the database. > I opened https://issues.apache.org/bugzilla/show_bug.cgi?id=48773 bug report (with a patch) in the taglibs project for this issue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.