Hi,

I have the environment specific properties defined in an application context file located $CATALINA_BASE/conf/Catalina/localhost/appName.xml. It works fine, but when I redeploy an application (e.g. by replacing a WAR file) the context file is removed (in my applications there is no /META-INF/context.xml file defined in WAR).

I dig a little bit and found related issues and discussions, like:
https://issues.apache.org/bugzilla/show_bug.cgi?id=34840

I've found an workaround to use symlinks (which are not removed), but it looks quite fragile.

What is the recommended solution to make an application redeploy and to keep a context file defined in Tomcat configuration directory?

Apache 7.0.29, Linux.

Regards
Marcin


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to