Hi Michael,

You put them in %WEBAPPROOT%\WEB-INF\conf\torque.properties

I'm using JNDI (see
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-resources-howto.html),
and have the following in torque.properties:

torque.database.pas.adapter =   mysql
torque.dsfactory.pas.factory =
org.apache.torque.dsfactory.JndiDataSourceFactory
torque.dsfactory.pas.jndi.path =    java:comp/env/jdbc/blahblah

And have mysql-connector-java-3.0.11-stable-bin.jar in tomcat's common\lib
directory.

Good luck,

David

-----Original Message-----
From: Michael Kunze [mailto:[EMAIL PROTECTED] 
Sent: Friday January 21, 2005 7:07 AM
To: turbine-user@jakarta.apache.org
Subject: How to enable DB Support


Hi,
i finally got the demo site into tomcat so the meta thing worked fine. 
now i'm trying to get the database running.
i wonna use mysql. the meta setup created a lot of property files with 
alot of properties for the database (defaults and application specific).

so where exactly am i suppose to put my connection details? which file 
overwrites which (in property loading squence speaking). and what maven 
goals do i have to call afterwards?

i hope to get help this time ;(

michael

-- 
Michael Kunze
http://www.smrealms.de

How much Sex can you have? - I don't know. I havn't maxed out yet.
(John Crichton in Farscape)

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

Reply via email to