Folder locking by other process/application...
I'm getting the "Access is Denied" exceptions while trying to create file with help of FileOutputStream in java.
Please note that,
- My application has write access to the folder,
- Target folder isn't read-only,
- There isn't a folder existing already at the target location with same name as the filename i create
Still i get this application. One thing i noted is machine restart helps me come out of this problem.
A standalone program written is able to write file at same application as well..
Please help me with your thoughts o how can i determine the process/application that is locking my target folder...Is there a way in java to determine this?