Hi all,
I'm using Cocoon 1.8.2 on a RedHat Linux with tomcat 3.2.3 and apache
1.3.20
I've got this problem using connection pooling: It seems that the
parameter maxConnections is ignored, and that the maxConnections is
fixed to 10 someone know if it is a bug of the turbine-pool.jar or a
misconfigurations?

This is my configuration file (section of pooling only):
processor.xsp.pool.database.annuari.driver=org.gjt.mm.mysql.Driver
processor.xsp.pool.database.annuari.url=jdbc:mysql://localhost/annuari
processor.xsp.pool.database.annuari.username=web
processor.xsp.pool.database.annuari.password=web
processor.xsp.pool.database.annuari.maxConnections=3
processor.xsp.pool.database.annuari.expiryTime=3600000
processor.xsp.pool.database.adaptor.DBMM=org.gjt.mm.mysql.Driver
processor.xsp.pool.database.adaptor=DBMM

With 11 or more concurrent connections tomcat throws this error:

org.apache.turbine.util.db.pool.ConnectionWaitTimeoutException: Timed
out waiting for pooled connection from 'jdbc:mysql://gedeone/annuari'
        at
org.apache.turbine.util.db.pool.ConnectionPool.getPooledConnection(ConnectionPool.java:348)

        at
org.apache.turbine.util.db.pool.ConnectionPool.getConnection(ConnectionPool.java:206)

        at
org.apache.turbine.services.db.PoolBrokerService.getConnection(PoolBrokerService.java:226)

        at
org.apache.turbine.services.db.PoolBrokerService.getConnection(PoolBrokerService.java:161)

With 10 Connections it is all OK!

Bye & Thank's
    Alessandro



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to