I have a context XML descriptor in $CATALINA_BASE/conf/Catalina/localhost/mywebapp.xml and a corresponding webapp in $CATALINA_BASE/webapps/mywebapp.war When I redeploy the mywebapp.war by replacing it, touching it, or from the manager, the context XML descriptor is removed in that moment. The webapp cannot start properly then, because context init parameters and JNDI resources defined in the removed context XML descriptor are not defined then.
*** This bug has been marked as a duplicate of 34840 ***
It is not a duplicate of 34840. The problem is present, it is imposible now to keep initial context parameters and database JNDI resources separately from WAR archive and update WAR. It is really annoying not to be able update WAR file without loosing initial context parameters and database connection.
This is very similar, and related. Please do not reopen the report again. *** This bug has been marked as a duplicate of 34840 ***