Here is context.xml...
Context path=/xx docBase=xx crossContext=true
Resource name=jdbc/xxDb auth=Container
type=javax.sql.DataSource/
ResourceParams name=jdbc/xxDb
parameternamefactory/namevalueorg.apache.commons.dbcp.BasicDataSourceFactory/value/parameter
Matt Galvin [EMAIL PROTECTED] wrote:
Yes, there is, I usually put them in:
$CATALINA_HOME/conf/Catalina/localhost/myapp.xml
Could you post the contents of your context file? Maybe something
needs to be tweak possibly.
Here is context.xml...
Context path=/xx docBase=xx crossContext=true
I am attempting to get some JDBC parameters passed from Ant to a Tomcat
context.xml file. The idea is for an Ant target to create a file called
context.xml and place it in catalina_home/webapps/my webapp/META-INF/ - and
THERE IS NO .war FILE INVOLVED. Upon startup, Tomcat will discover the file
So, IS there a way to do what I'm trying to do?
Yes, there is, I usually put them in:
$CATALINA_HOME/conf/Catalina/localhost/myapp.xml
Could you post the contents of your context file? Maybe something
needs to be tweak possibly.
Matt