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

2005-05-07 Thread Matt Galvin
> Here is context.xml... > > > > type="javax.sql.DataSource"/> > > > > factoryorg.apache.commons.dbcp.BasicDataSourceFactory > > > > > maxActive100 > maxIdle30 > maxWait1 > > > > driverClassNamecom.mysql.jdbc.Driver > > urljdbc:mysql://loc

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... factoryorg.apache.commons.dbcp.BasicDataSourceFac

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

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 .xml file. The idea is for an Ant target to create a file called context.xml and place it in /webapps//META-INF/ - and THERE IS NO .war FILE INVOLVED. Upon startup, Tomcat will discover the file in that /META-INF directory