commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Ivankovits (JIRA)" <>
Subject [jira] Resolved: (VFS-76) Timing Issues With Multiple Open Files and WebDav
Date Tue, 03 Oct 2006 19:50:23 GMT
     [ ]

Mario Ivankovits resolved VFS-76.

    Resolution: Fixed

Should be fixed.

httpclient knows a "restart operation" mode which I enabled yet, though, due to the limitation
of the used webdavlib only a handful of operations are restartable yet.

Your testcase works now.
Please give it a try.

> Timing Issues With Multiple Open Files and WebDav
> -------------------------------------------------
>                 Key: VFS-76
>                 URL:
>             Project: Commons VFS
>          Issue Type: Bug
>         Environment: Windows XP, JDK 1.5.x
>            Reporter: Thomas Hoppe
>         Attachments:
> If I open two files on a WebDav resource, there is an HTTPClient error if there is only
a very short pause between 
> opening them. If there is no pause inbetween, it works.
> If you turn debugging of HTTPclient on, it seems like the connection is closed while
commons or VFS tries to read from the HTTP connection (I'm not using any threads!)
> Sample, code is attached, the exception is:
> org.apache.commons.vfs.FileSystemException: Could not determine the type of file "webdav://crtdhks1d0179/carladata/bla1.txt".
> 	at org.apache.commons.vfs.provider.AbstractFileObject.attach(
> 	at org.apache.commons.vfs.provider.AbstractFileObject.getContent(
> 	at VFSBugTest.main(
> Caused by: org.apache.commons.httpclient.HttpRecoverableException: org.apache.commons.httpclient.HttpRecoverableException:
Error in parsing the status  line from the response: unable to find line starting with "HTTP"
> 	at org.apache.commons.httpclient.HttpMethodBase.readResponse(
> 	at org.apache.commons.httpclient.HttpMethodBase.processRequest(
> 	at org.apache.commons.httpclient.HttpMethodBase.execute(
> 	at org.apache.commons.httpclient.HttpClient.executeMethod(
> 	at org.apache.commons.httpclient.HttpClient.executeMethod(
> 	at org.apache.commons.vfs.provider.webdav.WebdavFileObject.setDavResource(
> 	at org.apache.commons.vfs.provider.webdav.WebdavFileObject.doAttach(
> 	at org.apache.commons.vfs.provider.AbstractFileObject.attach(
> 	... 2 more

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message