tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Seguin <seg...@motive.com>
Subject RE: Standalone SSL Problem (was: Re: [DOC] TC4 Status)
Date Mon, 30 Jul 2001 22:46:02 GMT
i have seen this.

little background first...

i had some webapps that needed to use jsse, plus catalina needed it for
https.  so, i figured i'd put the jsse jars somewhere in the tc4 dist tree
so that both the webapps and catalina could find them.  i believe that was
$TC4_HOME/common/lib.  well, long story short, that barfed and i saw errors
like the stack trace you saw.

i got rid of the problem by taking the jsse jars out of the tc4 dist tree,
and putting them into the ext dir under the jre installation, plus adding
the proper line to $JAVA_HOME/jre/lib/security/java.security.

> 
> Starting service Tomcat-Standalone
> Apache Tomcat/4.0-b6
> initProxy:  java.security.NoSuchAlgorithmException: Class
> com.sun.net.ssl.internal.ssl.SSLContextImpl configured for SSLContext
> not a SSLContext
> java.security.NoSuchAlgorithmException: Class
> com.sun.net.ssl.internal.ssl.SSLContextImpl configured for SSLContext
> not a SSLContext
> 	at com.sun.net.ssl.b.a([DashoPro-V1.2-120198])
> 	at 
> com.sun.net.ssl.SSLContext.getInstance([DashoPro-V1.2-120198])
> 	at
> org.apache.catalina.net.SSLServerSocketFactory.initProxy(SSLSe
> rverSocketFactory.java:385)
> 	at
> org.apache.catalina.net.SSLServerSocketFactory.initialize(SSLS
> erverSocketFactory.java:328)
> 	at
> org.apache.catalina.net.SSLServerSocketFactory.createSocket(SS
> LServerSocketFactory.java:281)
> 	at
> org.apache.catalina.connector.http.HttpConnector.open(HttpConn
> ector.java:905)
> 	at
> org.apache.catalina.connector.http.HttpConnector.start(HttpCon
> nector.java:1078)
> 	at
> org.apache.catalina.core.StandardService.start(StandardService
> .java:360)
> 	at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:458)
> 	at org.apache.catalina.startup.Catalina.start(Catalina.java:737)
> 	at 
> org.apache.catalina.startup.Catalina.execute(Catalina.java:657)
> 	at 
> org.apache.catalina.startup.Catalina.process(Catalina.java:178)
> 	at java.lang.reflect.Method.invoke(Native Method)
> 	at 
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:202)
> Catalina.start: LifecycleException:  HttpConnector[8443].open: 
> java.io.IOException: java.security.NoSuchAlgorithmException: Class
> com.sun.net.ssl.internal.ssl.SSLContextImpl configured for SSLContext
> not a SSLContext
> LifecycleException:  HttpConnector[8443].open:  java.io.IOException:
> java.security.NoSuchAlgorithmException: Class
> com.sun.net.ssl.internal.ssl.SSLContextImpl configured for SSLContext
> not a SSLContext
> 	at
> org.apache.catalina.connector.http.HttpConnector.start(HttpCon
> nector.java:1080)
> 	at
> org.apache.catalina.core.StandardService.start(StandardService
> .java:360)
> 	at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:458)
> 	at org.apache.catalina.startup.Catalina.start(Catalina.java:737)
> 	at 
> org.apache.catalina.startup.Catalina.execute(Catalina.java:657)
> 	at 
> org.apache.catalina.startup.Catalina.process(Catalina.java:178)
> 	at java.lang.reflect.Method.invoke(Native Method)
> 	at 
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:202)
> ----- Root Cause -----
> java.io.IOException: java.security.NoSuchAlgorithmException: Class
> com.sun.net.ssl.internal.ssl.SSLContextImpl configured for SSLContext
> not a SSLContext
> 	at
> org.apache.catalina.net.SSLServerSocketFactory.initProxy(SSLSe
> rverSocketFactory.java:409)
> 	at
> org.apache.catalina.net.SSLServerSocketFactory.initialize(SSLS
> erverSocketFactory.java:328)
> 	at
> org.apache.catalina.net.SSLServerSocketFactory.createSocket(SS
> LServerSocketFactory.java:281)
> 	at
> org.apache.catalina.connector.http.HttpConnector.open(HttpConn
> ector.java:905)
> 	at
> org.apache.catalina.connector.http.HttpConnector.start(HttpCon
> nector.java:1078)
> 	at
> org.apache.catalina.core.StandardService.start(StandardService
> .java:360)
> 	at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:458)
> 	at org.apache.catalina.startup.Catalina.start(Catalina.java:737)
> 	at 
> org.apache.catalina.startup.Catalina.execute(Catalina.java:657)
> 	at 
> org.apache.catalina.startup.Catalina.process(Catalina.java:178)
> 	at java.lang.reflect.Method.invoke(Native Method)
> 	at 
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:202)
> Stopping service Tomcat-Standalone
> 

Mime
View raw message