tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yassine <>
Subject Re: JNDI Datasource works in unpacked war, not in packed war
Date Sun, 19 Oct 2008 19:46:47 GMT
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 file from its location:
$CATALINA_HOME/conf/Catalina/localhost/yourApp.xml but sometime this
does not happen
you may want to check its existence and if it still there you can
remove it before redeploying
your war file again.

Hi Chris,

"Hmm. If you deploy a WAR file and then restart Tomcat, sometimes your
context.xml will be copied into either conf/Catalina/localhost or
work/somethingorother and it gets cached and not updated for various

i never seen a context.xml file in there or do you mean it gets cached
in the .ser files?

On Sun, Oct 19, 2008 at 5:03 AM, Christopher Schultz
<> wrote:


( P ) Positive ( E ) Energy ( A ) Always ( C ) Correct ( E ) Errors.

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message