No concrete idea, haven't looked into it that deep. Probably an extra abstraction between torque and jdbc/odbc drivers. Check your error logs for more of a clue, I think torque complains to stderr with a stack trace, that is how I figured it out when I got that error message. I know, what a weird and disconnected error to throw. Means torque is masking the errors below it, always bad practice if you then don't handle them and throw some other generic error message instead.
-tk
At 03:27 PM 4/2/2003 -0600, Wilson, Allen wrote:
Okay....
Any idea what it means by the DataSourceFactory....
Allen
-----Original Message----- From: Todd Kuebler [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 1:42 PM To: Jetspeed Developers List Subject: Re: Problems with Configuring MySQL for Jetspeed
I've seen that error when the driver isn't in the classpath. Double check your lib and also your driver entry for correctness.
-tk
At 01:33 PM 4/2/2003 -0600, Wilson, Allen wrote: >Hello... > >I am trying to configure Jetspeed to work with MySQL and I have made the >changes to the Torque.properties file. I get the following error when >trying to connect: > >Horrible Exception: java.lang.Error: Error in >BasePeer.initTableSchema(TURBINE_USER): There was no DataSourceFactory >configured for the connection default > > >Here are my settings...... > >torque.database.default=Portal >### torque.database.default.adapter=hypersonic >torque.database.default.adapter=mysql >### torque.database.default.adapter=oracle >### torque.database.default.adapter=mssql > >## >## Using torque's old pool >## >#torque.dsfactory.default.connection.driver = org.hsqldb.jdbcDriver >#torque.dsfactory.default.connection.url = >jdbc:hsqldb:${webappRoot}/WEB-INF/db/jetspeed >#torque.dsfactory.default.connection.user = sa >#torque.dsfactory.default.connection.password = > >torque.dsfactory.default.factory=org.apache.torque.dsfactory.TorqueData S >ourceFactory ># The number of database connections to cache per ConnectionPool >instance (specified per database) >torque.dsfactory.default.pool.defaultMaxConnections=10 >torque.dsfactory.default.pool.maxExpiryTime=3600 >torque.dsfactory.default.pool.connectionWaitTimeout=10 >### MySQL >torque.dsfactory.default.connection.driver = org.gjt.mm.mysql.Driver >torque.dsfactory.default.connection.url = jdbc:mysql://localhost/Portal >torque.dsfactory.default.connection.user = mysqlsa >torque.dsfactory.default.connection.password = ****** > >Does anyone have the idea of the problem >This message may contain proprietary or confidential company information. >Any unauthorized use or disclosure is prohibited. > > >--------------------------------------------------------------------- >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]
This message may contain proprietary or confidential company information. Any unauthorized use or disclosure is prohibited.
--------------------------------------------------------------------- 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]
