Re: help on tn5250j starting with SSL

Christian Geisert <[email protected]> Wed, 04 Jul 2007 18:25:17 +0200
Newsgroups gmane.comp.java.tn5250j.general
Organization ISU GmbH
Message-ID <[email protected]>
Ivan Ricotti schrieb:
> Hello,
> 
> I'm studying a free software migration in a bank and I'm trying to use tn5250j
> (I downloaded the 0.6.0 release from sourceforge) connecting my linux laptop
> (sun JRE1.5) to a remote AS400. I think that everything is ok but I have an
> error with the SSL connection. I receive this error:

[..]

> 3749 [Thread-2] WARN  org.tn5250j.framework.tn5250.tnvt  - connect()
> java.lang.RuntimeException: Unexpected error:
> java.security.InvalidAlgorithmParameterException: the trustAnchors parameter
> must be non-empty

SSL works for me and quick googeling hints[1] that this could be a jdk
problem. Which Java version are you using?


-- 
Christian


[1] http://forum.java.sun.com/thread.jspa?threadID=580496

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/