commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vijayan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (VFS-441) FileObject.exists - Could not determine the type of the file
Date Wed, 21 May 2014 10:56:38 GMT

     [ https://issues.apache.org/jira/browse/VFS-441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

vijayan updated VFS-441:
------------------------

          Description: 
Hi,

Thanks for your comment. I just noticed that the file system manager used in
the application has not been closed. Could this be an issue? As I said,
restaring the app server may release all the resources and a new file
system manager gets initiated.

Thanks.

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.

  was:
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.

    Affects Version/s: 1.0

> 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
>    Affects Versions: 1.0
>            Reporter: vijayan
>            Priority: Critical
>
> Hi,
> Thanks for your comment. I just noticed that the file system manager used in
> the application has not been closed. Could this be an issue? As I said,
> restaring the app server may release all the resources and a new file
> system manager gets initiated.
> Thanks.
> 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)

Mime
View raw message