tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Dubuc <martind1...@gmail.com>
Subject Re: crlFile and SunX509 algorithm in Tomcat 7.0.16
Date Thu, 16 Jun 2011 14:20:55 GMT
Here is the full stack trace:

SEVERE: Failed to initialize end point associated with ProtocolHandler
["http-bio-8443"]
java.io.IOException: CRLs not supported for type: SunX509
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:476)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:158)
        at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:378)
        at
org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:490)
        at
org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:364)
        at
org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
        at
org.apache.catalina.connector.Connector.initInternal(Connector.java:910)
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
        at
org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
        at
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:781)
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:572)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:262)
        at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:290)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:188)
Caused by: java.security.cert.CRLException: CRLs not supported for type:
SunX509
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.getParameters(JSSESocketFactory.java:665)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.getTrustManagers(JSSESocketFactory.java:620)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.getTrustManagers(JSSESocketFactory.java:522)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:450)
        ... 23 more
Jun 16, 2011 2:03:10 PM org.apache.catalina.core.StandardService
initInternal
SEVERE: Failed to initialize connector [Connector[HTTP/1.1-8443]]
org.apache.catalina.LifecycleException: Protocol handler initialization
failed
        at
org.apache.catalina.connector.Connector.initInternal(Connector.java:912)
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
        at
org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
        at
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:781)
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:572)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:262)
        at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:290)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:188)
Caused by: java.io.IOException: CRLs not supported for type: SunX509
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:476)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:158)
        at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:378)
        at
org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:490)
        at
org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:364)
        at
org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
        at
org.apache.catalina.connector.Connector.initInternal(Connector.java:910)
        ... 17 more
Caused by: java.security.cert.CRLException: CRLs not supported for type:
SunX509
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.getParameters(JSSESocketFactory.java:665)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.getTrustManagers(JSSESocketFactory.java:620)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.getTrustManagers(JSSESocketFactory.java:522)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:450)
        ... 23 more

Martin

On Thu, Jun 16, 2011 at 9:35 AM, Konstantin Kolinko
<knst.kolinko@gmail.com>wrote:

> 2011/6/16 Martin Dubuc <martind1111@gmail.com>:
> > Up to Tomcat 7.0.10, I used the crlFile configuration along with the
> SunX509
> > algorithm in SSL HTTP connector configuration in server.xml. However,
> when I
> > start Tomcat 7.0.16, I get the following error:
> >
> > Jun 16, 2011 12:22:22 PM org.apache.coyote.AbstractProtocol init
> > SEVERE: Failed to initialize end point associated with ProtocolHandler
> > ["http-bio-8443"]
> > java.io.IOException: CRLs not supported for type: SunX509
> >        at
> >
> org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:476)
> >
> > I am using JDK 6 update 26.
> >
> > Has CRL support been recently removed?
>
> No, but there were changes in implementation of JSSESocketFactory to
> support additional configuration options. It was reviewed when
> backporting the change to 6.0, but it is possible that something was
> missed.
>
>
> JSSESocketFactory.java:476  wraps an underlying exception with an
> IOException. Can you see what the underlying exception is?
>
> Maybe you can run with a debugger?
>
> http://wiki.apache.org/tomcat/FAQ/Developing#Debugging
>
> http://wiki.apache.org/tomcat/HowTo#How_do_I_debug_a_Tomcat_application.3F
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message