I also had a problem with MySQL. This is how I solved it:
(Tomcat 4.0.1   JDK 1.3.1_02  Cocoon 2.0.2-dev)
Download a mm.mysql-bin-xxx.jar.Put mm.mysql-bin-xxx.jar in the lib/optional
directory of a CVS HEAD, change the database.properties file to reflect your
settings and rebuild.

Now it's configured for your database, you only need to remove all
references to the hsqldb-server from the cocoon.xconf file.

I hope this will help you....

Richard Korthuis

----- Original Message -----
From: "OG" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 08, 2002 4:02 AM
Subject: C2.1: No valid JdbcConnection for MySQL


> I managed to compile the 07-Mar-2002 HEAD cocoon source under
> WinXP/Java 1.4 and run it with Tomcat 4.0.3 LE - many thanks to Vadim
> Gritsenko. But got stuck with the following exception in core.log
> org.apache.avalon.excalibur.datasource.NoValidConnectionException: No
valid JdbcConnection class available
>
> The funniest thing is that the connection is described in cocoon.xconf
> and worked fine for C2.0.0. The JDBC driver is OK and is used by
> Tomcat without problems. Connection itself is correct. This looks like a
problem with Avalon
> Component Manager, but I am not sure.
>
> Has somebody managed to make MySQL jdbc work with Cocoon 2.1? I am
> using mm.mysql-2.0.11.
>
>
> ---------------------------------------------------------------------
> 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]>
>
>


---------------------------------------------------------------------
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