List Info

Thread: Created: (LOG4NET-73) ADONetAppender.ActivateOptions() database Connection Leak is called multiple t




Created: (LOG4NET-73) ADONetAppender.ActivateOptions() database Connection Leak is called multiple t
user name
2006-03-26 22:31:18
ADONetAppender.ActivateOptions() database Connection Leak is
called multiple times
------------------------------------------------------------
----------------------

         Key: LOG4NET-73
         URL: http:
//issues.apache.org/jira/browse/LOG4NET-73
     Project: Log4net
        Type: Bug
  Components: Appenders  
    Versions: 1.2.9    
    Reporter: Nicko Cadell
 Assigned to: Nicko Cadell 


ADONetAppender.ActivateOptions() calls
InitializeDatabaseConnection. This method does not check if
the m_dbConnection is already initialised. If it is
initialise then it will beleaked.

Update InitializeDatabaseConnection to check and close the
connection if not null.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

-
For more information on JIRA, see:
   http://www.atl
assian.com/software/jira

Updated: (LOG4NET-73) ADONetAppender.ActivateOptions() leaks database connection when called multipl
user name
2006-03-27 08:38:18
     [ http://issues.apache.org/jira/browse/LOG4NET-73?page=all
 ]

Nicko Cadell updated LOG4NET-73:
--------------------------------

    Summary: ADONetAppender.ActivateOptions() leaks database
connection when called multiple times  (was:
ADONetAppender.ActivateOptions() database Connection Leak is
called multiple times)

> ADONetAppender.ActivateOptions() leaks database
connection when called multiple times
>
------------------------------------------------------------
-------------------------
>
>          Key: LOG4NET-73
>          URL: http:
//issues.apache.org/jira/browse/LOG4NET-73
>      Project: Log4net
>         Type: Bug
>   Components: Appenders
>     Versions: 1.2.9
>     Reporter: Nicko Cadell
>     Assignee: Nicko Cadell

>
> ADONetAppender.ActivateOptions() calls
InitializeDatabaseConnection. This method does not check if
the m_dbConnection is already initialised. If it is
initialise then it will beleaked.
> Update InitializeDatabaseConnection to check and close
the connection if not null.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

-
For more information on JIRA, see:
   http://www.atl
assian.com/software/jira

Resolved: (LOG4NET-73) ADONetAppender.ActivateOptions() leaks database connection when called multip
user name
2006-03-27 12:59:40
     [ http://issues.apache.org/jira/browse/LOG4NET-73?page=all
 ]
     
Nicko Cadell resolved LOG4NET-73:
---------------------------------

    Fix Version: 1.2.10
     Resolution: Fixed

Added code to cleanup the connection and command members if
the InitialiseDatabaseConnection method is called multiple
times.

> ADONetAppender.ActivateOptions() leaks database
connection when called multiple times
>
------------------------------------------------------------
-------------------------
>
>          Key: LOG4NET-73
>          URL: http:
//issues.apache.org/jira/browse/LOG4NET-73
>      Project: Log4net
>         Type: Bug
>   Components: Appenders
>     Versions: 1.2.9
>     Reporter: Nicko Cadell
>     Assignee: Nicko Cadell
>      Fix For: 1.2.10

>
> ADONetAppender.ActivateOptions() calls
InitializeDatabaseConnection. This method does not check if
the m_dbConnection is already initialised. If it is
initialise then it will beleaked.
> Update InitializeDatabaseConnection to check and close
the connection if not null.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

-
For more information on JIRA, see:
   http://www.atl
assian.com/software/jira

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )