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.
NB4.1 build: 200505031930 Steps to reproduce: 1. Download and setup Adventure Builder application (see bandled instructions): http://bsqe-falcon.sfbay.sun.com/odintegration/buzz/BluePrintAdventureBuilder.zip 2. Open the application in the IDE 3. Try to deploy ActivitySupplier project. 4. Try to undeploy ActivitySupplier using Runtime tab. 5. Open <nb.home>\SunAppServer8.1\domains\domain1\applications\j2ee-apps Folder "activitysupplier" exists and contains ServiceLocator.jar AppServer log contains the following message: [#|2005-06-22T21:23:46.449+0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.util|_ThreadID=13;|UTIL6043: Attempt to delete C:\Sun\nb\SunAppServer8.1\domains\domain1\applications\j2ee-apps\activitysupplier failed after 4 retries|#] Workaround: Stop AppServer and delete files manually
moving to sunappserv
Workaround: Undeploy using admin console
this looks like a variation of http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6270387 or http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6258619
There is nothing the plugin can do there since this is a backend or OS bug, very similar to the 2 already mentioned. The step 5/ tells me that the Windows Explorer has a lock on the deployed area of the application, so that the server cannot delete this directory. This is a pretty standard behaviour of the Windows Operationg system: you cannot delete a file or a dir if this dir is open in another explorer. If/when the fixes are in the server itself, the behaviour will not be seen in NetBeans. Marking as will not fix, from the NetBeans side.