web services Apache CXF tomcat 7(windows server) Undeploy fail
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了web services Apache CXF tomcat 7(windows server) Undeploy fail相关的知识,希望对你有一定的参考价值。
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的主要内容,如果未能解决你的问题,请参考以下文章
web services Apache CXF tomcat 7(windows server) Undeploy fail
调用 init 方法失败;嵌套异常是 org.apache.cxf.service.factory.ServiceConstructionException
Developing crm service based on apache cxf
org.apache.cxf.interceptor.Fault: Could not instantiate service class com.mangoubiubiu.cxf.test.Hell