On 06/10/2010 17:20, Samuel Hofer wrote:
> Hi,
>=20
> 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.
>=20
> JDK 1.6.0_21
> APR 1.2.9
> OpenSSL 0.9.8
>=20
> There seems to be a problem with the Tomcat Native library 1.1.20:
>=20
> 06.10.2010 15:02:51 org.apache.catalina.core.AprLifecycleListener init
>=20
> 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].
>=20
> 06.10.2010 15:02:51 org.apache.catalina.core.AprLifecycleListener
> lifecycleEvent
>=20
> FEIN: Failed to initialize the SSLEngine.
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja=
va:39
> )
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso=
rImpl
> .java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.catalina.core.AprLifecycleListener.initializeSSL(AprLifecycl=
eList
> ener.java:238)
> at
> org.apache.catalina.core.AprLifecycleListener.lifecycleEvent(AprLifecyc=
leLis
> tener.java:97)
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS=
uppor
> 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.ja=
va:39
> )
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso=
rImpl
> .java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:26=
1)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41=
3)
> 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
|