我的系统上有以下配置。
JDK 1.6
Apache Tomcat 6.0.16
Windows 7
我正在使用mysql-connector-java-5.1.21
jar 文件。
我还在 Tomcat context.xml 文件中设置了以下参数
<Context antiResourceLocking="true" antiJARLocking="true">
<!-- Default set of monitored resources -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
<!--
<Manager pathname="" />
-->
<!-- Uncomment this to enable Comet connection tacking (provides events
on session expiration as well as webapp lifecycle) -->
<!--
<Valve className="org.apache.catalina.valves.CometConnectionManagerValve" />
-->
</Context>
仍然当我取消部署我的应用程序时,它不会删除mysql-connector-java-5.1.21
jar 其他所有内容都被删除。
当我尝试手动删除时,我收到以下错误消息:
File is open in Apache Tomcat
请帮忙