Thanks I 'll have a more detailled look on the Thread .

Thierry 

-----Original Message-----
From: Armin Waibel [mailto:[EMAIL PROTECTED] 
Sent: Sunday, January 25, 2004 2:50 AM
To: OJB Users List
Subject: Re: Missing releaseAllResource in ConnectionFactoryDBCPImpl


Hi Thierry,

Thierry Hanot wrote:

> When i request a ConnectionManager.releaseAllResource in 
> DBCPConnectionManager , The connection are not release ,and if i 
> change the JdbcConnectionDescriptor to a new database the old 
> connection are used again . The method releaseAllResource is not 
> defined on the DBCPConnectionManager .The Map(poolMap) which is 
> containing the datasources is never cleaned . And the connection for a 
> same pbkey ( even if the ConnectionDescriptor change ) are always the 
> same .

ConnectionManager.releaseAllResource needs some refactoring.
Problem: Each PB has its own ConnectionManager instance, but all CM 
instances use the same ConnectionFactory instance.
There is a thread called 'ConnectionManager.releaseAllResource' discuss 
a similar/same problem.
Since ConnectionFactory is pluggable you can extend/implement  your own 
implementation.

regards,
Armin

> 
> 
> B.R
> Thierry 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to