标签:res serve tom contex loaded 红色 oss java 7 windows
tomcat 卸载失败我这个是因为jaxb-impl.jar 这个包,java 7 里面有,但是cxf其他的工具会用到它,不得不加入进工程,
tomcat undeploy fail,我发现一般在 windows server 下,就是windows 版本的tomcat,才会有,刚发布时可能不会遇到,但是
当运行一段时间,如1天后,在卸载,就会出现卸载失败,解决方案,修改$(tomcat.basedir)/cong/context.xml
<!-- The contents of this file will be loaded for each web application -->
<Context antiJARLocking="true" antiResourceLocking="true">
<!-- Default set of monitored resources -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
<!--
<Manager pathname="" />
-->
Context 增加2个参数,如上面红色标注的,OK,以后便可以无忧卸载了!
web services Apache CXF tomcat 7(windows server) Undeploy fail
标签:res serve tom contex loaded 红色 oss java 7 windows
原文地址:http://www.cnblogs.com/bluebrow/p/7595778.html