[
https://issues.apache.org/jira/browse/VFS-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bernd Eckenfels resolved VFS-209.
---------------------------------
Resolution: Cannot Reproduce
I tested it on VFS2 with os.close() -or- content.close() beeing enough that I
can open it a second time. So I suspect the reported error is eighter not
relevant anymore or it was a multi-threading problem in the first place.
Feel free to re-open the bug if you have more details on how to reproduce it.
For example, what kind of web app you are using where the stress tool is
connecting to?
> RAM file system writes to a RAM file fail under heavy load
> ----------------------------------------------------------
>
> Key: VFS-209
> URL: https://issues.apache.org/jira/browse/VFS-209
> Project: Commons VFS
> Issue Type: Bug
> Affects Versions: 1.0
> Environment: Fails on all platforms
> Reporter: Rakshith N
> Priority: Critical
>
> Simple writes to a RAM file using the Microsoft Web Stress tool fails by
> throwing a FileSystemException which says that the file is already in use.
> I have double checked the streams. In happens, in spite of close being called
> each time on the outputstream.
> org.apache.commons.vfs.FileSystemException: Could
> not write to ""ram:///dynamic.cfm"" because it is currently in use.
> It fails while trying to get the OutputStream from the FileContent.
--
This message was sent by Atlassian JIRA
(v6.2#6252)