Hi Phil,

On Sun, 6 Apr 2003, Phil Coultard wrote:

> Nope. That didn't work either... still getting the same message:
>
> "ERROR   (2003-04-06) 00:50.36:940   [sitemap.generator.serverpages]
> (/ltd_coultard/tickets.xsp) Thread-11/tickets_xsp: Could not get the
> datasource
> org.apache.avalon.excalibur.datasource.NoValidConnectionException: No valid
> JdbcConnection class available"

Presumably all the other steps (eg connecting with command-line mysql
client) worked?

Can you just confirm for us which version of Cocoon and which mysql jar
you're using?

Cocoon: http://xml.apache.org/cocoon/dist/cocoon-2.0.4-bin.zip for
JDK1.3.1

Mysql: from http://www.mysql.com/downloads/api-jdbc-stable.html

Copy mysql-connector-java-3.0.6-stable-bin.jar from the zip/tar file into
cocoon/WEB-INF/lib/

- Restart tomcat

> This is one mild mannered Englishman who is off out to buy a baseball bat
> soon ;-)

I have a few lying around if you want to buy one second hand (in generally
good condition, a few bits of keyboard still attached).

If none of the above works, it may be worth trying to compile your own
copy of Cocoon. If you do this, drop the mysql jar into lib/local/ and
then follow the rest of the instructions for building.


Andrew.

-- 
Andrew Savory                                Email: [EMAIL PROTECTED]
Managing Director                              Tel:  +44 (0)870 741 6658
Luminas Internet Applications                  Fax:  +44 (0)700 598 1135
This is not an official statement or order.    Web:    www.luminas.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to