portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wilson, Allen" <Allen.Wil...@marcresearch.com>
Subject RE: Problems with Configuring MySQL for Jetspeed
Date Wed, 02 Apr 2003 21:27:06 GMT
Okay....

Any idea what it means by the DataSourceFactory....

Allen

-----Original Message-----
From: Todd Kuebler [mailto:tkuebler@cisco.com] 
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: jetspeed-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org

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


Mime
View raw message