db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Drake Philbrook" <...@graphtek.com>
Subject RE: Torque on Tomcat: Exception: DataSourceFactory not configured
Date Mon, 15 Mar 2004 15:24:14 GMT
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

-----Original Message-----
From: Andras Balogh [mailto:andras@reea.net] 
Sent: Monday, March 15, 2004 7:21 AM
To: Apache Torque Users List
Subject: Re: Torque on Tomcat: Exception: DataSourceFactory not
configured

    Hello,

    How does your torque config file (torque.properties) look like and
where is placed?

Regards,
Andras.



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



---------------------------------------------------------------------
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