You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Ivan (JIRA)" <ji...@apache.org> on 2011/09/02 11:12:09 UTC

[jira] [Commented] (GERONIMO-6009) Add a JDBC driver leak prevention bundle listener

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

Ivan commented on GERONIMO-6009:
--------------------------------

Commit the changes to trunk at 1164418. The idea of listener does not work as I thought in the OSGi environment, it only could help to unregister the Delegating Driver from geronimo-jdbc driver.

> Add a JDBC driver leak prevention bundle listener
> -------------------------------------------------
>
>                 Key: GERONIMO-6009
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6009
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: databases
>    Affects Versions: 3.0
>            Reporter: Ivan
>            Assignee: Ivan
>             Fix For: Wish List
>
>
> I like the function of JdbcLeakPrevention function in Tomcat, https://svn.apache.org/repos/asf/tomcat/trunk/java/org/apache/catalina/loader/JdbcLeakPrevention.java
> I am thinking to add a similar function as a bundle listener in Geronimo OSGi environment, and actually we are suffering the classloader leaking issue now while building the server. DelegatingDriver loaded by different classloaders will be registered in the DriverManager. 

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