commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vesselin Novov <ve...@doc.ic.ac.uk>
Subject Re: [VFS] Ftp problems - "Could not determine if file ... is writeable" and "StackOverflowError".
Date Mon, 05 Mar 2007 11:59:18 GMT
Mario,

Yes, the NullFilesCache was the problem. After I took it out everything 
seems to work now.

thanks

Mario Ivankovits wrote:

>Hi !
>  
>
>>           DefaultFileSystemManager xInstance = new
>>DefaultFileSystemManager();
>>           xInstance.setFilesCache(new NullFilesCache());
>>           xInstance.addProvider("ftp", new FtpFileProvider());
>>           xInstance.init();
>>    
>>
>Not sure if its related, but you don't you just use VFS.getManager(),
>instead of creating it manually.
>
>At least the NullFilesCache might be the problem. In fact the only
>REALLY working cache implementation is the SoftRefFilesCache.
>
>Sh***, I've forgot to remove the other ones before the release .....
>
>Ciao,
>Mario
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message