tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Garrett Dangerfield <dan...@lvcm.com>
Subject Tomcat/Ant/JNDI question
Date Tue, 17 Jun 2003 20:14:52 GMT
I have defined a GlobalNamingResource for a database connection and that 
works great if I put a ResourceEnvRef in the Context in the server.xml.

However, I have a problem.  If I deploy my app using ant and it's deply 
task, it removes the ResourceEnvRef portion of my Context.

I see two possible ways to resolve this:
- have ant's deploy task inlcue the ResourceEnvRef
- put the equivalent of ResourceEnvRef into the web.xml inside the web app

Any idea on how to do either/both of these?

Thanks,
Garrett Dangerfield.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message