Steps to reproduce:
1. Create a remote, SSH node on a windows system, specifying a custom install dir, e.g. C:\as\v31 (probably not necessary).
2. Create an instance under this node and start it.
3. Launch Log Viewer for this instance and close it.
4. Stop intance and attempt to delete it. The following error is displayed:
Command succeeded with Warning
Successfully removed instance om2 from the DAS configuration, but failed to remove the instance files from node 42 (jed-asqe-42.us.oracle.com). Command failed on node 42 (jed-asqe-42.us.oracle.com): UTIL6046: Attempt to rename C:\as\v31\glassfish3\glassfish\nodes\42\om2 to C:\as\v31\glassfish3\glassfish\nodes\42\oldinst6160770375853316950.tmp failed after 6 retries Unable to delete the instance directory: C:\as\v31\glassfish3\glassfish\nodes\42\om2 The directory still exists after trying to delete it., whackee=C:\as\v31\glassfish3\glassfish\nodes\42\om2, files in parent:C:\as\v31\glassfish3\glassfish\nodes\42\agent, C:\as\v31\glassfish3\glassfish\nodes\42\om2, , new wackee.exists=true Command _delete-instance-filesystem failed. To complete this operation run the following command locally on host jed-asqe-42.us.oracle.com from the GlassFish install location C:\as\v31\glassfish3: asadmin delete-local-instance --node 42 om2