开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜