If you are using Tomcat 5.5.*, have you tried the
following ?
http://wiki.apache.org/tomcat/UsingDataSources

It works for me.

Shing


--- Fabian Dittrich <[EMAIL PROTECTED]> wrote:

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


Home page :
  http://uk.geocities.com/matmsh/index.html


        
        
                
___________________________________________________________ 
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease 
of use." - PC Magazine 
http://uk.docs.yahoo.com/nowyoucan.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to