+-From: "Jerome Lacoste" <[EMAIL PROTECTED]> --
   |_Date: Wed, 31 Oct 2007 20:28:20 +0100 ______________
   |

   |Caused by: com.jcraft.jsch.JSchException: Session.connect:
   |javax.crypto.ShortBufferException: 32 needed, 20480 supplied
   |  at com.jcraft.jsch.Session.connect(Session.java:494)
   |  at com.jcraft.jsch.Session.connect(Session.java:145)
   |  at 
org.apache.commons.vfs.provider.sftp.SftpClientFactory.createConnection(SftpClientFactory.java:210)

I have never heard such a problem.  
What kind of environment are you using?  
Have you installed the JCE provider dynamically?
I can not understand that message,
  32 needed, 20480 supplied
If 32 bytes are required and 20480 bytes are given, why it is the problem?

   |Any idea what could trigger this exception ? This sounds like a crypto
   |or algorythm issue. Could it be related to the Java runtime classes ?

com.jcraft.jsch.jce.BlowfishCBC#update(...) or
com.jcraft.jsch.jce.TripleDESCBC#update(...)
may throw such an exception.

   |but when I use my compiled jar (compiled with 1.5.0_11), I don't seem
   |to be able to reproduce the problem.
   |But as I said, I won't consider it fixed until I get a proof it was
   |fixed in some way.
   |Jsch 0.1.31 seems to be compiled with Sun's java compiler version
   |1.4.0. I don't have this compiler with me and probably won't be able
   |to get it (1.4.2 at best).

Do you think that the version of 'javac' has related to this problem?
I hardly believe in it.


--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
    +1-415-578-3454
Fax +81-22-224-8773
Skype callto://jcraft/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to