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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Mark Shifman MD. Ph.D.
Yale Center for Medical Informatics
Phone (203)737-5219
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]