File locking in Windows may prevent the directory from being deleted.
File locking on Windows is different than file locking on Unix in that on Windows a file can be locked on read. If you are redeploying a second version of an already deployed web application, you may see something like the following web application:
webapps
- myapp.war
- myapp
Popular Links