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?

[457 byte] By [javydreamercsw] at [2007-11-26 10:13:22]
# 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

lucardalexander at 2007-7-7 2:02:43 > top of Java-index,Application & Integration Servers,Application Servers...
# 2
none of this cured my problem. There is a related posting at http://forum.java.sun.com/thread.jspa?threadID=5116764&tstart=75that describes how I can go round in my context. May be it helps here too.
art_of_ebiz at 2007-7-7 2:02:43 > top of Java-index,Application & Integration Servers,Application Servers...