commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vijayan <vijaya...@gmail.com>
Subject VFS - FileObject.exists - Could not determine the type of the filev
Date Mon, 15 Oct 2012 12:57:27 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message