You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Fabian Dittrich <fa...@gmail.com> on 2006/12/12 09:02:43 UTC

Db-Configuration

Hi tapestry-users,

before i used a file in conf/catalina/localhost/ to configure my
db-connection there in an xml file, like this:

<Context
docBase="c:/workspace/MCG/context"
path="/MCG"
reloadable="true">


    <Resource name="jdbc/bankDataSource" auth="Container"
        type="javax.sql.DataSource" driverClassName="com.mysql.jdbc.Driver"
        url="jdbc:mysql://localhost/MCG" username="root"
        password="" maxActive="20" defaultAutoCommit="false"
        timeBetweenEvictionRunsMillis="60000" />
</Context>


Now i want to deploy my app directly into Tomcat/webapps

Anyone knows where to put the settings for the db-connection now?

Thanks for any advice

Fabian