You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kat Suwannachin <ch...@yahoo.com> on 2003/07/05 22:34:02 UTC
java.lang.RuntimeException: Could not get the datasource
Hello,
I've got an error as follows:
org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not get the datasource org.apache.avalon.excalibur.datasource.NoValidConnectionException: No valid JdbcConnection class available
Here is my code in $CATALINA_HOME/webapps/cocoon/WEB-INF/cocoon.xconf
<datasources>
<jdbc name="abc" logger="core.datasources.abc">
<pool-controller min="5" max="10"/>
<auto-commit>false</auto-commit>
<dburl>jdbc:mysql://localhost/abc</dburl>
<user>root</user>
<password/>
</jdbc>
</datasources>
Does any of you have any ideas?
Many thanks,
Kat
---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!