[
https://issues.apache.org/jira/browse/VFS-441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14000916#comment-14000916
]
Bernd Eckenfels edited comment on VFS-441 at 5/17/14 11:16 PM:
---------------------------------------------------------------
I am reviewing some older bugs. Hope you still read this. If you say
"restarting server helps", do you mean the Web server is restarted or the
application which checks for existence? From the short information provided it
looks to me like the web server returns an error which is different from 404 or
410.
With VFS-385 it was changed to include the actual error code, so you can check
what the server returned. I will close this bug as not reproducible, but dont
hesitate to reopen it if you have additional info.
was (Author: b.eckenfels):
I am reviewing some older bugs. Hope you still read this. If you say
"restarting server helps", do you mean the Web server is restarted or the
application which checks for existence? From the short information provided it
looks to me like the web server returns an error which is different from 404 or
410.
I will change the code so it includes the actual status code received, but
otherwise it looks more like a problem on your serer side (or actually an
unfortunate interaction).
> FileObject.exists - Could not determine the type of the file
> ------------------------------------------------------------
>
> Key: VFS-441
> URL: https://issues.apache.org/jira/browse/VFS-441
> Project: Commons VFS
> Issue Type: Bug
> Reporter: vijayan
> Priority: Critical
>
> Hi,
> We are using common-vfs-1.0.jar. And it used to work fined. But on and off in
> a random manner, we get the following exception
> org.apache.commons.vfs.FileSystemException: Could not determine the type of
> file "https://.....".
> at
> org.apache.commons.vfs.provider.AbstractFileObject.attach(AbstractFileObject.java:1305)
> at
> org.apache.commons.vfs.provider.AbstractFileObject.getType(AbstractFileObject.java:412)
> at
> org.apache.commons.vfs.provider.AbstractFileObject.exists(AbstractFileObject.java:402)
> Caused by: org.apache.commons.vfs.FileSystemException: HEAD method failed for
> "https://....".
> at
> org.apache.commons.vfs.provider.http.HttpFileObject.doGetType(HttpFileObject.java:96)
> at
> org.apache.commons.vfs.provider.AbstractFileObject.attach(AbstractFileObject.java:1296)
> Restarting the server will work smoothly. But why this error occuring , any
> help would be appreciated. Thanks in advance.
--
This message was sent by Atlassian JIRA
(v6.2#6252)