commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Shifman <mark.shif...@yale.edu>
Subject Re: [VFS] SFTP exception
Date Thu, 11 Jan 2007 14:56:15 GMT
Hi :
Thanks for your quick reply.
I downloaded the most recent jsch yesterday jsch-0.1.30.jar and that was 
the one that generated the error.

I was closing my FileObject after I got what I wanted so I could trick 
the cache. I think this may have been
part of the problem.

I have refactored things and use my own DefaultFileSystemManager with 
the default CacheStrategy also I
close this FileSystemManager on contextDestroy (when I "undeploy").  I 
think/hope this permits Tomcat
to release the references associated with the FileSystemManager.

I haven't seen the exception again (my fingers are crossed).

mas





Mario Ivankovits wrote:
> Hi Mark!
>   
>> Exception in thread
>> "org.apache.commons.vfs.cache.SoftRefFilesCache$SoftRefReleaseThread"
>> java.lang.NullPointerException
>>        at com.jcraft.jsch.Channel.del(Channel.java:79)
>>        at com.jcraft.jsch.Channel.disconnect(Channel.java:501)
>>        at com.jcraft.jsch.ChannelSftp.disconnect(ChannelSftp.java:2104)
>>        at
>> org.apache.commons.vfs.provider.sftp.SftpFileSystem.doCloseCommunicationLink(SftpFileSystem.java:63)
>>
>>     
> I've never seen this exception.
> Hmmm ... just to be sure, did you already tried the version 0.1.23 we
> use with VFS [1].
>
> Just to sort out the problem, could you please do so, if this works it
> might be a bug in jsch and we have to dig into their code, or report it
> on their mailinglist.
>
>
> Thanks!
> Ciao,
> Mario
>
> [1] http://jakarta.apache.org/commons/vfs/download.html
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>   


-- 
 Mark Shifman MD. Ph.D.
 Yale Center for Medical Informatics
 Phone (203)737-5219
 mark.shifman@yale.edu


---------------------------------------------------------------------
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