tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bogdan Vatulya <Bogdan.Vatu...@betfair.com>
Subject UnsatisfiedLinkError while running tomcat 8
Date Mon, 01 Sep 2014 03:25:12 GMT
My setup is:
X64 JDK 1.7.0_07
X64 tomcat 8.0.11
X64 native client (openssl v 1.0.1h, tcnative-1 v. 1.1.31.0)

I've put openssl and tcnative into tomcat lib folder.

My connector looks like this:

<Connector port="8443"
               maxThreads="150"
               scheme="https"
               secure="true"
               SSLEnabled="true"
               protocol="org.apache.coyote.http11.Http11AprProtocol"
               sslProtocol="TLS"
               npnHandler="org.apache.coyote.spdy.SpdyAprNpnHandler"
               SSLCertificateFile="somecertificate.cer"
               SSLCertificateKeyFile="somekey.key"/>

And when I run my app with tomcat 8 I have this exception:

org.apache.catalina.core.AprLifecycleListener.init Loaded APR based Apache Tomcat Native library
1.1.31 using APR version 1.4.8.
org.apache.catalina.core.AprLifecycleListener.init APR capabilities: IPv6 [true], sendfile
[true], accept filters [false], random [true].
org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized
(OpenSSL 1.0.1h 5 Jun 2014)
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-8080"]
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-apr-8009"]
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-8443"]
org.apache.catalina.startup.Catalina.load Initialization processed in 1587 ms
org.apache.catalina.core.StandardService.startInternal Starting service Catalina
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.11
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-8080"]
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-apr-8009"]
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-8443"]
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)

I also tried to put tomcat lib folder into system path, but that didn't work, I still get
this exception. What could that be?

Bogdan Vatulya

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message