Cannot deploy. Module directory is locked and cant be deleted: {1}
This is the full error:
Deploying application in domain failed; Cannot deploy. Module directory is locked and cant be deleted:{1}
Cannot deploy. Module directory is locked and cant be deleted:{1}
I looked in the net and found this:
http://forums.java.net/jive/thread.jspa?messageID=137570
Is this related somehow?
# 1
I have come across this situtation as well. I use NetBeans 5.0 with Sun Java App Server 8.0
Sometimes, when the directory where the runtime ".java" and ".class" files of the JSPs is open in any editor like EditPlus etc (or sometime, but very rarely, Windows Explorer itself), then I get that error.
At this point, I either close the editor windows, or close any explorer windows that are open and voila! the project runs (when re-reun from NetBeans)..
Hope this helps...
Thanks,
Alex