cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Williams" <>
Subject Re: tutorial
Date Fri, 12 Sep 2003 13:47:59 GMT
> i try to run the tutorial and every time i get an exception :
> Original exception :
> org.apache.avalon.excalibur.datasource.NoValidConnectionException:
> No valid JdbcConnection class available at
> ( at
> org.apache.avalon.excalibur.pool.ResourceLimitingPool......

Have you got the jars containing the jdbc drivers for MySql in the
<cocoon-dir>/WEB-INF/libs directory?

> to work around the problem i have modified the .xsp file putting
> there inside the jdbc tags (driver, url ...) just before the
> connection in the esql tags ; in this it runs ... so i think

The url, password etc go in <cocoon-dir>/WEB-INF/cocoon.xconf, eg for
    <!-- other jdbc datasources  -->
    <jdbc logger="core.datasources.personnel" name="personnel">
        <pool-controller min="5" max="10" oradb="true"/>
        <pool-controller max="10" min="5"/>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message