You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-user@db.apache.org by Jeremy Ross <je...@gmail.com> on 2008/06/11 20:42:02 UTC

Can't delete Dery folder

I'm running Derby in embedded mode.  After Derby is shutdown, I can delete
all the files derby created, but I can't delete the main folder Derby
created.  I'm on windows and have admin rights on the box and can't even
take ownership of the folder.  However, If I reboot the machine the folder
is magically gone.  Any ideas on what is going on here?

thanks

Jeremy
-- 
View this message in context: http://www.nabble.com/Can%27t-delete-Dery-folder-tp17784404p17784404.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.


Re: Can't delete Dery folder

Posted by Bryan Pendleton <bp...@amberpoint.com>.
> I'm running Derby in embedded mode.  After Derby is shutdown, I can delete
> all the files derby created, but I can't delete the main folder Derby
> created.  I'm on windows and have admin rights on the box and can't even
> take ownership of the folder.  However, If I reboot the machine the folder
> is magically gone.  Any ideas on what is going on here?

One possibility is that the folder or a file inside the folder is still open,
by some process on the machine.

Go search the web and find Microsoft's "System Internals Process Explorer"
tool, and download and learn how to use it, and then use it to examine
the state of your system after you think Derby is shut down, and see if
you can find a process which has an open handle to a file in that folder.

thanks,

bryan