It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Java Forum

VFS concurreny problem while using webdav [couldn't determin

VFS concurreny problem while using webdav [couldn't determin

Postby abhi_devppl_in on Wed Mar 28, 2007 5:48 am

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/sl ... 5968700004"

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 "
abhi_devppl_in
 
Posts: 0
Joined: Wed Mar 28, 2007 5:45 am

Who is online

Users browsing this forum: No registered users and 2 guests