https://issues.apache.org/bugzilla/show_bug.cgi?id=56997
Bug ID: 56997 Summary: java.lang.UnsatisfiedLinkError: org.apache.tomcat.jni.SSLExt.setNPN(J[BI)I when using SPDY connector Product: Tomcat Native Version: 1.1.31 Hardware: PC OS: Linux Status: NEW Severity: regression Priority: P2 Component: Library Assignee: dev@tomcat.apache.org Reporter: rolandl...@web.de Setting the attribute npnHandler="org.apache.coyote.spdy.SpdyAprNpnHandler" in an APR SSL connector fails to start. It appears that the 1.1 branch of tcnative doesn't have any of the SSLExt.java/sslext.c methods at all: src/sslext.c does not even exist. Sep 04, 2014 9:30:02 AM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.31 using APR version 1.3.9. Sep 04, 2014 9:30:02 AM org.apache.catalina.core.AprLifecycleListener init INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. .. Sep 04, 2014 9:30:55 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-apr-xx.xx.xx.xx-443"] java.lang.UnsatisfiedLinkError: org.apache.tomcat.jni.SSLExt.setNPN(J[BI)I at org.apache.tomcat.jni.SSLExt.setNPN(Native Method) at org.apache.tomcat.jni.SSLExt.setNPN(SSLExt.java:126) at org.apache.coyote.spdy.SpdyAprNpnHandler.init(SpdyAprNpnHandler.java:76) at org.apache.coyote.http11.Http11AprProtocol.start(Http11AprProtocol.java:211) at org.apache.catalina.connector.Connector.startInternal(Connector.java:986) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:458) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:760) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.startup.Catalina.start(Catalina.java:625) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485) Sep 04, 2014 9:30:55 AM org.apache.coyote.spdy.SpdyAprNpnHandler init WARNING: SPDY/NPN not supported Machine info: Red Hat Enterprise Linux Server release 6.4 (Santiago) Linux xx.com 2.6.32-358.14.1.el6.x86_64 #1 SMP Mon Jun 17 15:54:20 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux Java version: java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode) server.xml configuration <Connector port="443" address="xx.xx.xx.xx" npnHandler="org.apache.coyote.spdy.SpdyAprNpnHandler" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" sslProtocol="TLS" SSLCertificateFile="/xx" SSLCertificateKeyFile="/xx" SSLCACertificateFile="/xx"/> -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org