[kaffe] How to use jsse with kaffe?

Â÷ÁØÇõ jhcha@web.dwe.co.kr
Thu May 15 14:56:01 2003


Hello, How are you?

I'm trying to run jsse(1.0.3) with kaffe(1.1.x-cvs).
But I've got the only following error message whenever I run sample program
using socket connection.

----------------------------------------------------------------------------
--------------------------------------------------------------------
java.net.SocketException: SSL implementation not available
        at java.lang.Throwable.fillInStackTrace(Throwable.java:native)
        at java.lang.Throwable.<init>(Throwable.java:38)
        at java.lang.Exception.<init>(Exception.java:24)
        at java.io.IOException.<init>(IOException.java:24)
        at java.net.SocketException.<init>(SocketException.java:21)
        at
javax.net.ssl.DefaultSSLSocketFactory.createSocket(DashoA6275:line unknown,
pc 0x6)
        at SSLSocketClient.main(SSLSocketClient.java:31)
----------------------------------------------------------------------------
------

I have added the provider into "kaffe/jre/lib/security/java.security" like
this

security.provider.1=kaffe.security.provider.Kaffe
security.provider.2=com.sun.net.ssl.internal.ssl.Provider
security.provider.3=sun.security.provider.Sun

I've copied lib files, jnet.jar, jsse.jar and jcert.jar, to
"kaffe/jre/lib/ext/" and set CLASSPATH.

>From java.sun homepage, jsse can be run with java2sdk 1.2.1 or higher
version and java2 1.2 version
supprots to use extention package like jsse.
So doesn't kaffe support to use extension package like jsse?

If you guys have succeeded running jsse with kaffe, please let me know how
to.
Thank you very much.
Joon Hyuk Cha.