db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ed Costello (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-5239) Remove usages of DriverManager to obtain an Embedded Connection in Derby Server
Date Thu, 19 May 2011 20:14:47 GMT

    [ https://issues.apache.org/jira/browse/DERBY-5239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036421#comment-13036421
] 

Ed Costello commented on DERBY-5239:
------------------------------------

As an aside, that exact scenario is happening in the environment that I've patched this for,
embedded driver is being explicitly initialized by the OSGi Service managing drivers &
a second instance is initialized by the Network Server using this patch. I've seen no ill
affects from this though I haven't done more than trivial tests.

> Remove usages of DriverManager to obtain an Embedded Connection in Derby Server
> -------------------------------------------------------------------------------
>
>                 Key: DERBY-5239
>                 URL: https://issues.apache.org/jira/browse/DERBY-5239
>             Project: Derby
>          Issue Type: Improvement
>          Components: Network Server
>    Affects Versions: 10.6.1.0, 10.8.1.2
>            Reporter: Ed Costello
>         Attachments: svn-patch-Remove-Driver-Manager-Usage-from-Network-Server.patch
>
>
> The Derby Network Server appears to look up the Derby Embedded Driver from the {{java.sql.DriverManager}}
in a couple of places in order to get the connection to the actual database.
> This means the network server cannot operate in environments where for whatever reason
it is not OK to access the embedded driver from the DriverManager. Just in general this behavior
is unexpected as it should be possible to directly load the embedded driver.
> I've observed this issue in 10.6.1.0 and checked that the relevant usages are unchanged
in trunk.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message