geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick McGuire (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMO-5151) JSTL sql tags do not work
Date Thu, 27 May 2010 10:21:43 GMT

     [ 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.


Mime
View raw message