db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahmat Adnan" <rad...@gmail.com>
Subject JDBC Driver is not supported by DataSource
Date Sat, 26 May 2007 14:17:56 GMT
Hi,

I have a problem on running the bookstore application as described in
the tutorial. Everything seems fine (builds successful) until I reach
the execution of the bookstore.
It seems like the MySQL JDBC driver is not recognized. I've used 5.1.0
and 5.0.6 and both result in the same error.
I hope someone can help.

grtz,
Rahmat

*****************************************************
Error:

ra@ra-macbook:~/Torque/Tutorial/target$ java -cp
classes:lib/avalon-framework-4.1.4.jar:lib/commons-beanutils-core-1.7.0.jar:lib/commons-collections-3.1.jar:lib/commons-configuration-1.2.jar:lib/commons-dbcp-1.2.1.jar:lib/commons-lang-2.1.jar:lib/commons-logging-1.0.4.jar:lib/commons-pool-1.2.jar:lib/jcs-20030822.182132.jar:lib/mysql-connector-java-5.0.6.jar:lib/torque-3.3-RC2.jar:lib/village-2.0.jar
com.kazmier.Bookstore

May 26, 2007 3:09:44 PM
org.apache.torque.dsfactory.AbstractDataSourceFactory setProperty
SEVERE: Property: driver value: org.gjt.mm.mysql.Driver is not
supported by DataSource:
org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS

*****************************************************
Torque propertie file:

torque.database.default = bookstore
torque.database.bookstore.adapter = mysql

#Using commons-dbcp
torque.dsfactory.bookstore.factory =
org.apache.torque.dsfactory.SharedPoolDataSourceFactory
torque.dsfactory.bookstore.connection.driver = org.gjt.mm.mysql.Driver
torque.dsfactory.bookstore.connection.url =
jdbc:mysql://localhost:3306/bookstore
torque.dsfactory.bookstore.connection.user = user
torque.dsfactory.bookstore.connection.password = pwd

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message