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 Tue, 04 Mar 2003 17:25:16 GMT
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
> 
> I use this driver class:
> com.mysql.jdbc.Driver
> Datasource defined in cocoon.xconf:
>  <datasources>
>     <jdbc logger="core.datasources.foo" name="foo">
>       <pool-controller max="10" min="5"/>
> 
> <dburl>jdbc:mysql://localhost/base?useUnicode=true&amp;characterEncoding=iso
> -8859-2</dburl>
>     </jdbc>
>   </datasources>
> 
> When more pages using this coonection are requested, threads are waiting and
> maxThreads parameter is exceeded.
> 
> What should I do and when to look for more debug information?

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?

	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