cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RameshBabu R Muthuvel" <rmrameshb...@hotmail.com>
Subject RE: MySql+Cocoon
Date Sun, 27 May 2001 12:14:00 GMT
Hi

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

ramesh


----Original Message Follows----
From: JEULIN Olivier <olivier.jeulin@xml-ais.com>
Reply-To: cocoon-users@xml.apache.org

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

-----Message d'origine-----
De : mtcolom@inwind.it [mailto:mtcolom@inwind.it]
Envoyé : jeudi 24 mai 2001 16:53
À : cocoon-users@xml.apache.org
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


_________________________________________________________________________
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message