Hi,

Is there a way to prevent Tomcat to delete the webappname.xml from
conf/Catalina/localhost at every redeployment?

I have application specific environment settings there, but at redeploy 
it gets deleted and I lose the settings. I have tried with and 
without context.xml in META-INF in my war. It gets copied to 
the conf/Catalina/localhost but contains the default settings.

I could use jndi with putting a resource link into the webapp's
META-INF/context.xml and defined the setting in GlobalResource. But now I
have to deploy the same webapp.war more times (with different name and 
settings) to the same Tomcat.

I use autodeploy (copy the .war to the webapps).

Please help!

Thanks,
Balázs

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to