Hi, Stuart. Thanks for your answer. I understood the procedures for change the default Jetspeed's database to another, like MySql, for example. But my question is: how can I access another database with my business data setting Torque Framework and still using hypersonic default database for Jetspeed's data ?
Thanks in advance ! Robson Borges ----- Original Message ----- From: "Stuart Belden" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, December 06, 2003 11:40 AM Subject: Re: Jetspeed with Torque > Be sure to configure and populate MySQL with the data if you haven't: > http://jakarta.apache.org/jetspeed/site/install.html#Database%20Configuratio n > > If you have everything configured and the user is not being saved, please post the error msg you're getting (set everything to debug in log4j.properties) > > >>> [EMAIL PROTECTED] 12/05/03 12:14PM >>> > 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.TorqueDataSource Factory > 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 > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
