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/06/15 07:51:47 UTC

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

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: 3.0


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

        

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

Posted by "Ivan (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "Ivan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-6009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177032#comment-13177032 ] 

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

No, I wish to leave this JIRA open, and check whether there is a solution for this.
                
> 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.
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

        

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

Posted by "Ivan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-6009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan reopened GERONIMO-6009:
----------------------------


> 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

        

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

Posted by "Forrest Xia (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-6009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13176521#comment-13176521 ] 

Forrest Xia commented on GERONIMO-6009:
---------------------------------------

Can we think it's fixed/implemented? can we close this jira for 3.0? Thanks!

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

        

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

Posted by "Ivan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-6009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan resolved GERONIMO-6009.
----------------------------

    Resolution: Fixed

Commit changes to trunk at r1136268
A bundle listener is added while geronimo-jdbc module is started.

> 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: 3.0
>
>
> 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

        

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

Posted by "Ivan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-6009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan updated GERONIMO-6009:
---------------------------

    Fix Version/s:     (was: 3.0)
                   Wish List

> 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