Re: JNDI Datasource works in unpacked war, not in packed war

2008-10-19 Thread Yassine
Hi John, just an other suggestion which you could try too: the context.xml file inside yourApp/META-INF/context.xml gets by default copied to $CATALINA_HOME/conf/Catalina/localhost/yourApp.xml at the first deployment normally when undeploying yourApp.war the container does remove the yourApp.xml

Re: JNDI Datasource works in unpacked war, not in packed war

2008-10-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, John Cartwright wrote: > I have a problem where a Datasource is configured in > META-INF/context.xml and referenced in web.xml. If I install this > webapp unpacked, everything works fine. However, if I try to run this > webapp as a packed war,

JNDI Datasource works in unpacked war, not in packed war

2008-10-16 Thread John Cartwright
Hello All, I have a problem where a Datasource is configured in META-INF/context.xml and referenced in web.xml. If I install this webapp unpacked, everything works fine. However, if I try to run this webapp as a packed war, the datasource fails giving the exception: org.apache.tomcat.dbcp.