multithread access to PoolingDataSource

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

multithread access to PoolingDataSource

Gerardo-3
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: multithread access to PoolingDataSource

Alexander Sack-2
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: [hidden email]
Contelligent ... CMS for j2ee & devels - http://www.contelligent.com
C:1 Financial Services GmbH  -  Dorotheenstr. 64   -   22301 Hamburg

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]