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&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 [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]