Hi,

When i deploy an application on Tomcat, i have to place the jdbc driver in
the $CATALINA_HOME/common/lib folder to be able to use the JNDI facilities.
This is fine but when i build the war file using ANT, it refuses to build
the war file unless i have the jdbc driver in the application's WEB-INF/lib
folder. I dont want to do this because i will then end up with two jar files
of the same. i.e. one in Tomcat's common lib and the other in WEB-INF/lib.

How can i build the war file without putting the library in WEB-INF/lib?

Thanks

Reply via email to