tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Garrett Dangerfield <>
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?

Garrett Dangerfield.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message