I have successfully deployed a webapp that has some JAR files in the <app>/WEB-INF/lib directory. When I click remove in tomcat manager for this webapp the application directory is not removed under <tomcat>/webapps because 2 JAR files remain in the <app>/WEB-INF/lib directory and are locked by tomcat. To remove them I have to shutdown tomcat. If they are not removed and tomcat is restarted it thinks it has a blank application. Has anyone else come across this and is there any way to get the 'remove' to delete these JAR files so I don't have to shutdown tomcat and delete them manually?
Joined: Feb 13, 2004
Have found a workaround for this. The JAR files can be moved into the /shared/lib directory. Not ideal, but fixes the problem.