You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by CCTech <cc...@cityarchitect.co.uk> on 2003/04/26 20:55:10 UTC

Using Jetspeed with Mysql

I'm sorry if this is a bit of a newbie question, but I am aving troubles
using Jetspeed with Mysql, and I just
know its something silly I'm doing!

Jetspeed work fine out of the box with Tomcat 4 and using the Hypersonic
SQL.

I tried to use Mysql using the Torque.properties file below but keep
getting the exception about DataSourcefactory.

Mysql is running fine; I have run turbine-mysql.sql and
populate-mysql.sql and verified the tables and data are there.

I can also verify the jdbc driver is in the Classpath for Tomcat.

Can anyone help?

java.lang.Error: Error in BasePeer.initTableSchema(TURBINE_USER): There
was no DataSourceFactory configured for the connection default


Torque.properties:
torque.database.default=default
#torque.database.default.adapter=hypersonic
torque.database.default.adapter=mysql
### torque.database.default.adapter=oracle
### torque.database.default.adapter=mssql
### MySQL
torque.dsfactory.default.connection.driver = com.mysql.jdbc.Driver
torque.dsfactory.default.connection.url =
jdbc:mysql://localhost:3306/jetspeed
torque.dsfactory.default.connection.user = admin
torque.dsfactory.default.connection.password = password
#torque.dsfactory.default.factory=org.apache.torque.dsfactory.Jdbc2PoolD
ataSourceFactory
#torque.dsfactory.default.pool.defaultMaxConnections=10
#torque.dsfactory.default.pool.maxExpiryTime=3600
#torque.dsfactory.default.pool.connectionWaitTimeout=10

Thanks,

Steve


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