tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Panos Skondras <p...@hq.acn.gr>
Subject Re: Tomcat SSL & IBM JSSE
Date Tue, 15 Oct 2002 11:45:17 GMT
Hi again
I manage to find ibmjsse.jar  (I had to download the wsdk 100MB nice???)
and put it int the java_home/jre/lib/ext directory i also
left there the suns jsse jcert.jar,jnet,jar ,jsse.jar i change the
java.security file and put the provider
<snip>
security.provider.1=sun.security.provider.Sun
security.provider.2=com.ibm.jsse.JSSEProvider
</snip>

i restart Tomcat and i get
<!--
initProxy:  java.security.NoSuchAlgorithmException: Class
com.ibm.jsse.SSLContextImpl configured for SSLContext not a SSLContext
java.security.NoSuchAlgorithmException: Class com.ibm.jsse.SSLContextImpl
configured for SSLContext not a SSLContext
        at
java.security.NoSuchAlgorithmException.<init>(NoSuchAlgorithmException.java:47)
        at com.sun.net.ssl.SunJSSE_b.a(DashoA6275)
        at com.sun.net.ssl.SSLContext.getInstance(DashoA6275)
        at
org.apache.catalina.net.SSLServerSocketFactory.initProxy(SSLServerSocketFactory.java:398)

        at
org.apache.catalina.net.SSLServerSocketFactory.initialize(SSLServerSocketFactory.java:334)

        at
org.apache.catalina.net.SSLServerSocketFactory.createSocket(SSLServerSocketFactory.java:287)

        at
org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.java:948)
        at
org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1128)

        at
org.apache.catalina.core.StandardService.initialize(StandardService.java:454)
        at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
Catalina.start: LifecycleException:  null.open:  java.io.IOException:
java.security.NoSuchAlgorithmException: Class com.ibm.jsse.SSLContextImpl
configured for SSLContext not a SSLContext
LifecycleException:  null.open:  java.io.IOException:
java.security.NoSuchAlgorithmException: Class com.ibm.jsse.SSLContextImpl
configured for SSLContext not a SSLContext
        at java.lang.Exception.<init>(Exception.java:35)
        at
org.apache.catalina.LifecycleException.<init>(LifecycleException.java:126)
        at
org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1130)

        at
org.apache.catalina.core.StandardService.initialize(StandardService.java:454)
        at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
----- Root Cause -----
java.io.IOException: java.security.NoSuchAlgorithmException: Class
com.ibm.jsse.SSLContextImpl configured for SSLContext not a SSLContext
        at java.lang.Exception.<init>(Exception.java:44)
        at java.io.IOException.<init>(IOException.java:49)
        at
org.apache.catalina.net.SSLServerSocketFactory.initProxy(SSLServerSocketFactory.java:422)

        at
org.apache.catalina.net.SSLServerSocketFactory.initialize(SSLServerSocketFactory.java:334)

        at
org.apache.catalina.net.SSLServerSocketFactory.createSocket(SSLServerSocketFactory.java:287)

        at
org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.java:948)
        at
org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1128)

        at
org.apache.catalina.core.StandardService.initialize(StandardService.java:454)
        at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

-->

When i delete the suns jar i get com.sun.net.... class not found and other errors
has anyone
tried something like this before..

thx in advance



Mime
View raw message