How to preserve xml configuration when redeploying using update?
I'm using tomcat manager to deploy my war files. To update a war I use the following url:
http://localhost:8080/manager/deploy?path=/example&war=file:/path/example.war&update=true
The problem is that using th开发者_StackOverflowis, the xml with the configuration (under Catalina/localhost/example.xml), is erased.
How can I preserve it?
Place your configuration in your webapp's META-INF/context.xml
and tomcat will take care of the rest.
精彩评论