Hi,
Until now I used Tomcat with a direct checkout of my Tapestry app (in /home/myapp) with the file TOMCAT/conf/Catalina/localhost/myapp.xml pointing to /home/app I'd like to create a war now for easy deployement. So I'll no more have the TOMCAT/conf/Catalina/localhost/myapp.xml file since all the files will be in my WAR in TOMCAT/webapps/myapp/.../web.xml

How do I tell Tomcat which database resource to use? In which file?
I have:
<Resource name="jdbc/symptoDataSource"
                  auth="Container"
                  type="javax.sql.DataSource"
                  driverClassName="org.postgresql.Driver"
                  url="jdbc:postgresql://localhost/myapp"
                  username="myapp"
                  password="***"
                  maxActive="20"
                  defaultAutoCommit="false"
                  timeBetweenEvictionRunsMillis="60000"/>

Thanks for any help
-jec

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

Reply via email to