Re: context.xml created by Ant not discovered by Tomcat

2005-05-07 Thread Matt Galvin
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

Re: context.xml created by Ant not discovered by Tomcat

2005-05-06 Thread Hollerman Geralyn M
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

context.xml created by Ant not discovered by Tomcat

2005-05-05 Thread Hollerman Geralyn M
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

Re: context.xml created by Ant not discovered by Tomcat

2005-05-05 Thread Matt Galvin
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