Hi,

How can I configure Jetspeed to work with Torque ?

My torque.properties:
torque.database.default=portal
torque.database.portal.adapter=mysql

torque.dsfactory.portal.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory
torque.dsfactory.portal.pool.defaultMaxConnections=10
torque.dsfactory.portal.pool.maxExpiryTime=3600
torque.dsfactory.portal.connectionWaitTimeout=10

torque.dsfactory.portal.connection.driver=org.gjt.mm.mysql.Driver
torque.dsfactory.portal.connection.url=jdbc:mysql://localhost:3306/portal
torque.dsfactory.portal.connection.user=root

When I use this file in a java application with Torque.init(<this file properties>), 
all configurations work fine, but in Tomcat, Jetspeed fail to save user object during 
login time.
Probably because the reference to hypersonic database is lost.
I don't know how can I configure Torque in a web container to use other databases. 
Any help is appreciated !!!!

Regards,
Robson 

Reply via email to