db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andras Balogh <and...@reea.net>
Subject Re: Torque on Tomcat: Exception: DataSourceFactory not configured
Date Mon, 15 Mar 2004 15:27:03 GMT
Hello Drake,

I think than this line is missing:
torque.database.cms-cms.adapter=mysql
Add this after
torque.database.default = cms-cms

Regards,
Andras.

Drake Philbrook wrote:

>Hi Andras,
>
>Torque.properties lives in /WEB-INF/classes.
>
>Here is the content...
>
>log4j.rootCategory=DEBUG, default
>log4j.appender.default=org.apache.log4j.RollingFileAppender
>log4j.appender.default.MaxFileSize=1024KB
>log4j.appender.default.file=/var/tomcat4/logs/torque.log
>log4j.appender.default.MaxBackupIndex=1
>log4j.appender.default.layout = org.apache.log4j.SimpleLayout
>
>torque.database.default = cms-cms
>torque.database.cms-cms.driver = org.gjt.mm.mysql.Driver
>torque.database.cms-cms.url = jdbc:mysql://127.0.0.1/cms-cms
>torque.database.cms-cms.username = admin
>torque.database.cms-cms.password = cms 
>
>Thanks for your help,
>
>Drake
>
>  
>



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


Mime
View raw message