Friday, March 8, 2002, 3:33:06 AM, Richard wrote:
> 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.
As far as I can see this file, database.properties, is only used to
create an entry in new build's cocoon.xconf, which I already have
done manually. Also the jdbc .jar file - I have it already in ...jre/lib/ext so
it is available.
> 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
Thanks Richard, but looks like my problem is still there.
I tried to check the inner workings on Avalon/Cocoon, but
unfortunately the latest version of avalon-excalibur does not work
(logkit issues) with Cocoon. And the 4.1 version does not compile correctly on my
machine :( I guess I will have to endeavor into making it
compile.
--
Best regards,
OG
> ----- 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. < TARGET="_blank">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. < TARGET="_blank">http://xml.apache.org/cocoon/faqs.html>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
--
Best regards,
OG
---------------------------------------------------------------------
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]>