tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: Tomcat 6.0.29: Failed to initialize the SSLEngine
Date Sat, 30 Oct 2010 09:49:35 GMT
On 06/10/2010 17:20, Samuel Hofer wrote:
> Hi,
> 
> I'm trying to install Apache Tomcat 6.0.29 on a Debian GNU/Linux 5.0.4
> 32bit with kernel release 2.6.26-2-686 with APR and SSL.
> 
> JDK 1.6.0_21
> APR 1.2.9
> OpenSSL 0.9.8
> 
> There seems to be a problem with the Tomcat Native library 1.1.20:
> 
> 06.10.2010 15:02:51 org.apache.catalina.core.AprLifecycleListener init
> 
> FEIN: Loaded APR based Apache Tomcat Native library 1.1.20.
> 06.10.2010 15:02:51 org.apache.catalina.core.AprLifecycleListener init
> INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
> [false], random [true].
> 
> 06.10.2010 15:02:51 org.apache.catalina.core.AprLifecycleListener
> lifecycleEvent
> 
> FEIN: Failed to initialize the SSLEngine.
> java.lang.reflect.InvocationTargetException
>         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.core.AprLifecycleListener.initializeSSL(AprLifecycleList
> ener.java:238)
>         at
> org.apache.catalina.core.AprLifecycleListener.lifecycleEvent(AprLifecycleLis
> tener.java:97)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
> t.java:119)
>         at
> org.apache.catalina.core.StandardServer.initialize(StandardServer.java:770)
>         at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
>         at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
>         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:261)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Caused by: org.apache.tomcat.jni.Error: This function has not been
> implemented on this platform
>         at org.apache.tomcat.jni.SSL.initialize(Native Method)
>         ... 16 more
> 06.10.2010 15:02:51 org.apache.coyote.http11.Http11AprProtocol init
>
> How can I solve this problem?

If your APR really is 1.2.9, then I suspect that you need to upgrade
your APR to a newer version.  Version 1.4.2 was released 2010-04-04.

I would also recommend that you check that you are using the best
available version of OpenSSL, and then recompile Tomcat Native.


p

Mime
View raw message