redeploy unable to delete application under tomcat
posted 4 years ago
I use netbeans and tomcat7. Created a web project from existing code. And having re-deploy problems.
My win7 makes new folders with readonly option. So, netbeans also does when deploying. But undeploying throws "unable to delete [applicatioPathFolder]" windows message.
Tried to make default option not readonly, nothing found for it.
I looked to folder permissions and owners nothing irregular.
I tried running netbeans with administrator option. Makes no effect.
I can only drop the folder manually and call undeploy from manager application. It works fine. But this kind of undeploy makes me sad. Stop tom, delete project folder under tom, start tom, undeploy, clean and build, deploy from war file (normal deploy from netbeans does not work), run.