This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
1. start application server (Glassfish) from NB 2. make clean/build of your project 3. make deploy/undeploy on your project 4. make clean/build of your project - and it fails - unable to delete directory with war/jar/ear file You must stop the application server, make clean/build, start app server and deploy. It is very annoying if you have to always stop app server to be able to do clean/build.
It is related (or duplicate maybe) to issue 112529.
Described scenario works perfectly. Problem occurs "just" when run is used. Am I missing something? Is this really reproducible with the steps you are describing?
You are right, you have to (for WEB applications) access application URL in the browser (or run application from NB project menu).
In fact this is duplicate of the issue 112529 - any action that invoke do-clean target can fail this way. *** This issue has been marked as a duplicate of 112529 ***