Hi

Try using
mm.mysql-2.0.4-bin.jar   instead

ramesh


----Original Message Follows----
From: JEULIN Olivier <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]

Hi,
did you restart your web server and tomcat for the modifications to take
effect ?

-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Envoy� : jeudi 24 mai 2001 16:53
� : [EMAIL PROTECTED]
Objet : MySql+Cocoon


Hi,
I use TomCat3.2.1->Cocoon 1.8.2. on Win Nt.

I run esql example and this is the output

java.lang.RuntimeException: Error loading driver: org.gjt.mm.mysql.Driver
        at
_C_._tomcat._webapps._cocoon._samples._sql._esql.populateDocument(_esql.java
:141)
        ...snip...

- I modified the Turbine Pool section of my cocoon.properties file .

processor.xsp.pool.database.default.driver=org.gjt.mm.mysql.Driver
processor.xsp.pool.database.default.url=jdbc:mysql:localhost/test

- I put the jdbc .jar in to /<path-to-tomcat>/lib

mm.mysql-2.0.4-src.jar

- And change tha .xml in this way:

<esql:connection>
                        <esql:driver>org.gjt.mm.mysql.Driver</esql:driver>
                        <esql:dburl>jdbc:mysql:localhost/test</esql:dburl>

- MySql is running but not as service

What's wrong?

Ciao Matteo



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


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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