+-From: "Jerome Lacoste" <[EMAIL PROTECTED]> --
|_Date: Mon, 5 Nov 2007 18:39:50 +0100 _______________
|
|I've finally managed to get a full stack trace:
|[#|2007-11-05T18:23:
|00.980+0100|WARNING|sun-appserver-ee8.1_02|javax.enterprise.system.stream.err|_ThreadID=230
|;|
|javax.crypto.ShortBufferException: 32 needed, 20480 supplied
| at org.mozilla.jss.provider.javax.crypto.JSSCipherSpi.engineUpdate(
|JSSCipherSpi.java:338)
| at javax.crypto.Cipher.update(DashoA12275)
Sign, I knew.
Before writing my last message, I had found the following buggy code[1],
public int engineUpdate(byte[] input, int inputOffset, int inputLen,
byte[] output, int outputOffset) throws ShortBufferException
{
byte[] bytes = engineUpdate(input, inputOffset, inputLen);
if( bytes.length < output.length-outputOffset ) {
throw new ShortBufferException(bytes.length + " needed, " +
(output.length-outputOffset) + " supplied");
}
System.arraycopy(bytes, 0, output, outputOffset, bytes.length);
return bytes.length;
}
and I had strongly believed that the problem had come from it,
but it is contradict to your success with your own compiled jar.
[1] http://www.koders.com/java/fidF0D62D7385480B906B3CC88210B02AF4A84FF467.aspx
-------------------------------------------------------------------------
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