cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@dvs1.informatik.tu-darmstadt.de>
Subject Re: Datasource from pool
Date Wed, 05 Mar 2003 10:12:43 GMT
On 05.Mar.2003 -- 10:33 AM, arturl wrote:
> 
> 
> > On 04.Mar.2003 -- 06:10 PM, arturl wrote:
> > > Hello,
> > >
> > > My cocoon app is hanging on mysql database access.
> > > I've got following messages in core.log:
> > > DEBUG   (2003-03-04) 18:01.38:704   [core.datasources.foo] (/foo.html)
> > > Thread-268/ResourceLimitingPool: Blocking until a Poolable is available.
> > > Thread: Thread-268
> 
> >
> > You sure return all datasources back to the pool, don't you.
> 
> > IOW which components that you have use the datasource? Stock
> > components should be safe, your own may have a leak?
> >
> I use the datasource on my custom xsp pages by esql logicsheet:
> <esql:connection>
>   <esql:pool>connectionName</esql:pool>
> </esql:connection>
> Can you give me a clue how to ensure returning the datasource to the pool
> (and where to check for it)?

ESQL *should* be safe. Look at the logs (set log level to "debug"!)
and try to find lines indicating that the connection is returned to
the pool.

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message