New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jetty ALPN Server - No Server ALPNProcessors! #1894
Comments
ALPN now uses the ServiceLoader to find one or more ALPNProcessors. These are found in the new modules:
and you have to have the appropriate ones of those on the classpath. If you are using our boot path ALPN implementation, then the openjdk8 modules are the ones you want. Note that if you use conscrypt as the TLS provider (see our new conscrypt module) then you can user the conscrypt providers above with nothing on the boot path for simpler startup and much faster SSL/TLS! |
Got it working. Thanks for your help |
i try to use jetty-alpn-conscrypt-server on Osgi environment and also got
it's run well with jetty 9.4.7 to update 9.4.8, i do bellow step:
my environment:
|
@janbartel perhaps we don't have the right OSGi metadata for consuming services with |
by change from 9.4.8, alpn need a ALPNProcessors, this patch use a default Processor so need alpn-boot.jar on classpath -Xbootclasspath/p:alpn-boot.jar jetty/jetty.project#1894
by change from 9.4.8, alpn need a ALPNProcessors, this patch use a default Processor so need alpn-boot.jar on classpath -Xbootclasspath/p:alpn-boot.jar jetty/jetty.project#1894
by change from 9.4.8, alpn need a ALPNProcessors, this patch use a default Processor so need alpn-boot.jar on classpath -Xbootclasspath/p:alpn-boot.jar jetty/jetty.project#1894
There seems to be a problem with jetty alpn server, I can't manage to have it find a Server ALPNProcessor with jetty-alpn-server:10.0.0-SNAPSHOT
I tried to set up the bootstrap jar alpn-boot-8.1.11.v20170118.jar for my jdk1.8.0_131 which should be correct according to this: https://www.eclipse.org/jetty/documentation/9.3.x/alpn-chapter.html#alpn-versions
In fact, it used to work with this snapshot: 20170905.073526-180
I also tried the jetty-alpn-agent with the debug option, which gives me this output:
[jetty-alpn-agent] Using: alpn-boot-8.1.11.v20170118.jar
But I always get the
java.lang.IllegalStateException: No Server ALPNProcessors!
fromorg.eclipse.jetty.alpn.server.ALPNServerConnectionFactory
Am I doing something wrong ?
Is there another way to get the ALPNProcessors working on java8 now ?
Thank you
The text was updated successfully, but these errors were encountered: