hi,

Am using jsch0.1.50

jvm :1.6 hotspot
os: Linux

Am using the jsch lib for my J2ee web application deployed in jboss 5 
GA.while calling the method session.connect() a getting the exception as.


java.security.InvalidAlgorithmParameterException: Inappropriate 
parameter type
16:05:55,792 ERROR [STDERR]     at 
com.sun.crypto.provider.DHKeyPairGenerator.initialize(DashoA13*..)
16:05:55,792 ERROR [STDERR]     at 
java.security.KeyPairGenerator$Delegate.initialize(KeyPairGenerator.java:627)
16:05:55,792 ERROR [STDERR]     at 
java.security.KeyPairGenerator.initialize(KeyPairGenerator.java:369)
16:05:55,793 ERROR [STDERR]     at com.jcraft.jsch.jce.DH.getE(DH.java:57)
16:05:55,793 ERROR [STDERR]     at com.jcraft.jsch.DHG1.init(DHG1.java:122)
16:05:55,793 ERROR [STDERR]     at 
com.jcraft.jsch.Session.receive_kexinit(Session.java:577)
16:05:55,793 ERROR [STDERR]     at 
com.jcraft.jsch.Session.connect(Session.java:299)
16:05:55,793 ERROR [STDERR]     at 
com.jcraft.jsch.Session.connect(Session.java:162)

(I have added a printStackTrace() method in the Session class file for 
getting this stackTrace,i hope i doesn't make any issues).
And when i tried with removing the jce.jar from the lib folder of my web 
application am getting the app works fine.but while reading ur 
documentatio its specified that jce is a depedancy for jsch.

Please help me to find the right cause of this issue.

gokul


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to