You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Gerardo <gs...@ilce.edu.mx> on 2005/08/31 23:24:58 UTC
multithread access to PoolingDataSource
Hi,
i'm coding a server with rmi access. It has a PoolingDataSource to
manage database connections. It works fine
but at some point it suffers some thread death lock or something,. Is
there any suggestions about proper use of PoolingDataSource
on such circumstances?
i'll appreciate your comments
Gerardo
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
Re: multithread access to PoolingDataSource
Posted by Alexander Sack <as...@c1-fse.de>.
Gerardo wrote:
> Hi,
> i'm coding a server with rmi access. It has a PoolingDataSource to
> manage database connections. It works fine
> but at some point it suffers some thread death lock or something,. Is
> there any suggestions about proper use of PoolingDataSource
> on such circumstances?
>
> i'll appreciate your comments
Maybe this is no concurrency issue, but your pool runs out of
connections? Be sure that you release all connections, statements and
resultsets to ensure that connections are returned to the pool.
--
Alexander Sack +49 (40) 692 13 - 179 e-mail: asac@c1-fse.de
Contelligent ... CMS for j2ee & devels - http://www.contelligent.com
C:1 Financial Services GmbH - Dorotheenstr. 64 - 22301 Hamburg
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org