Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

redeploy unable to delete application under tomcat

 
Zair Sadigov
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.

What can I do to run out of this issue?

Thanks...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic