I have following configuration on my system.
JDK 1.6
Apache Tomcat 6.0.16
Windows 7
and i am using mysql-connector-java-5.1.21
jar file.
I have also set following parameter in Tomcat context.xml file
<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>
Still when i undeploy my application it doesn't remove mysql-connector-java-5.1.21
jar everything else is removed.
when i tried to remove manually i got following error message:
File is open in Apache Tomcat
Please help