Hi
Sorry for the very late reply.....
I will update the documentation especially it's a bit wrong now with last 
jetty upgrade.

With java8:
java8
java -Xbootclasspath/p:alpn-boot-8.1.11.v20170118.jar -jar jenkins.war 
--http2Port=9090 --extraLibFolder=`pwd`/lib --httpPort=-1
with lib directory containing 
jetty-alpn-openjdk8-server-9.4.12.v20180830.jar
Regarding alpn-boot-8.1.11.v20170118.jar version please consider looking at 
corresponding versions 
here 
https://www.eclipse.org/jetty/documentation/9.4.x/alpn-chapter.html#alpn-versions

java9+
java -jar jenkins.war --http2Port=9090 --extraLibFolder=`pwd`/lib 
--httpPort=-1 --enable-future-java
with lib directory containing jetty-alpn-java-server-9.4.12.v20180830.jar

HTH
Olivier



On Tuesday, 16 October 2018 00:45:01 UTC+10, Jenkins user wrote:
>
> Hello,
>
> I am trying to enable HTTP2 in a Windows machine with Jenkins 2.138.2
> (Comes with JRE 1.8.144). I followed the instructions from
> https://wiki.jenkins.io/display/JENKINS/Starting+and+Accessing+Jenkins
> and 
> https://github.com/jenkinsci/winstone/blob/master/README.md#http2-support
> and added
> --extraLibFolder=D:/Jenkins/ex
> tra
> -Xbootclasspath/p:D:/Jenkins/extra/alpn-boot-8.1.11.v20170118.jar
> --http2Port=9090
>
> to the arguments element in Jenkins.xml and restarted the service.
>
> When I try to access Jenkins on that port, I get this in jenkins.err.log
>
> Oct 15, 2018 10:21:53 AM org.eclipse.jetty.io.ManagedSelector$Accept 
> failed
> WARNING: java.lang.IllegalStateException: Connection rejected: No ALPN
> Processor for sun.security.ssl.SSLEngineImpl from
>
> [org.eclipse.jetty.alpn.conscrypt.server.ConscryptServerALPNProcessor@13978a3]
>
> I searched the web and tried different things, but still no luck.
>
> Am I doing something wrong?
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f305fd9e-83b8-4d97-8554-f454907dac4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to