VFS concurreny problem while using webdav [couldn't determine type of file.
I am using VFS for reading and writing to webdav server.
and using jakarta slide project for webdav.
If two threads try to write simultaneouly to webdav , it gives error
"Could not determine type of file webdav://admin:indigo@localhost:8080/slide/files/group1Folder/ContextTarget/192168001162117562815968700004"
Here is code sample
-
FileSystemManager fsManager = VFS.getManager();
FileObject _fileObject = _fsManager.resolveFile(url);
/***
Function that create fodler
*/
public void createNewFolder() throws IndigoException , FileSystemException{
if (!_fileObject.exists()){
_fileObject.createFolder();
close();
}
}
"Lock" Property for slide is set true.
"org.apache.slide.lock=true "
Do any body have suggetion ?

