i might be missing smth obvious, double-checked manuals but still have error "ALPN unsupported"? could you please tell what am I missing?
In my web app I use pushy and has following dependencies:
compile "com.relayrides:pushy:0.7.2"
compile "io.netty:netty-tcnative-boringssl-static:1.1.33.Fork15:linux-x86_64"
runtime "org.eclipse.jetty.alpn:alpn-api:1.1.2.v20150522"
my machine is:
Ubuntu 14.04
java version "1.8.0_74"
Java(TM) SE Runtime Environment (build 1.8.0_74-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.74-b02, mixed mode)
When I deploy my .war to standalone Tomcat 8.0.35 I get
INFO com.relayrides.pushy.apns.ApnsClient - OpenSSL (via netty-tcnative) not available; will us
e JDK SSL provider.
.....
Caused by: java.lang.ExceptionInInitializerError: null
at io.netty.handler.ssl.JdkSslContext.toNegotiator(JdkSslContext.java:285)
at io.netty.handler.ssl.JdkSslClientContext.<init>(JdkSslClientContext.java:261)
at io.netty.handler.ssl.SslContext.newClientContextInternal(SslContext.java:742)
at io.netty.handler.ssl.SslContextBuilder.build(SslContextBuilder.java:395)
...
Caused by: java.lang.RuntimeException: ALPN unsupported. Is your classpatch configured correctly?
I have OpenSSL 1.0.1f, but it should not be the reason, if I use netty-tcnative-boringssl-static, right?