You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/09/19 13:58:12 UTC
[Bug 56997] New: java.lang.UnsatisfiedLinkError:
org.apache.tomcat.jni.SSLExt.setNPN(J[BI)I when using SPDY connector
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: rolandlevy@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 56997] java.lang.UnsatisfiedLinkError:
org.apache.tomcat.jni.SSLExt.setNPN(J[BI)I when using SPDY connector
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56997
--- Comment #3 from Christopher Schultz <ch...@christopherschultz.net> ---
The revisions that include native/src/sslext.c are:
r1240585
r1292127
r1292337
r1299312
r1409080
I'll see what would be involved in back-porting those to the 1.1.x branch.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 56997] java.lang.UnsatisfiedLinkError:
org.apache.tomcat.jni.SSLExt.setNPN(J[BI)I when using SPDY connector
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56997
--- Comment #2 from Christopher Schultz <ch...@christopherschultz.net> ---
I'm not sure I'd called this a regression, since this code never made it into a
release. The lack of synchronization between tcnative and Tomcat's Java code is
certainly the issue, here.
Obviously not your fault ;)
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 56997] java.lang.UnsatisfiedLinkError:
org.apache.tomcat.jni.SSLExt.setNPN(J[BI)I when using SPDY connector
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56997
--- Comment #1 from Christopher Schultz <ch...@christopherschultz.net> ---
For reference:
http://markmail.org/message/lwf6vlmo3w463d57
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 56997] java.lang.UnsatisfiedLinkError:
org.apache.tomcat.jni.SSLExt.setNPN(J[BI)I when using SPDY connector
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56997
--- Comment #4 from Christopher Schultz <ch...@christopherschultz.net> ---
Unfortunately, the first revision does not back-port cleanly and I'm not
capable of determining what to do; the differences should probably be resolved
by someone who knows whats going on in there.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 56997] java.lang.UnsatisfiedLinkError:
org.apache.tomcat.jni.SSLExt.setNPN(J[BI)I when using SPDY connector
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56997
--- Comment #5 from Christopher Schultz <ch...@christopherschultz.net> ---
http://markmail.org/thread/ljdfkerukxrufizc
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org