<div dir="ltr">Hi,<div><br></div><div>I searched this mailing list and one post mentioned that I don&#39;t need to use -Xbootclasspath/p:&lt;path_to_alpn_boot_jar&gt; after 1.4.0Final. I am trying HTTP/2 on my server with 1.4.10 and Oracle JDK 1.8 but when I start the server I got the following error. Do I have to use OpenJDK 8? If I switch to JBoss OpenSSL implementation?</div><div><br></div><div>Thanks,</div><div><br></div><div>Steve</div><div><br></div><div>







<p class="gmail-p1"><span class="gmail-s1">21:00:36.468 [main]  DEBUG io.undertow - Configuring listener with protocol HTTPS for interface 0.0.0.0 and port 8843</span></p>
<p class="gmail-p1"><span class="gmail-s1">21:00:36.486 [main]  DEBUG io.undertow - JDK9 ALPN not supported</span></p>
<p class="gmail-p1"><span class="gmail-s1">java.lang.NoSuchMethodException: javax.net.ssl.SSLParameters.setApplicationProtocols([Ljava.lang.String;)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-tab-span">        </span>at java.lang.Class.getMethod(Class.java:1786)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-tab-span">        </span>at io.undertow.protocols.alpn.JDK9AlpnProvider$1.run(JDK9AlpnProvider.java:47)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-tab-span">        </span>at io.undertow.protocols.alpn.JDK9AlpnProvider$1.run(JDK9AlpnProvider.java:43)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-tab-span">        </span>at java.security.AccessController.doPrivileged(Native Method)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-tab-span">        </span>at io.undertow.protocols.alpn.JDK9AlpnProvider.&lt;clinit&gt;(JDK9AlpnProvider.java:43)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-tab-span">        </span>at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-tab-span">        </span>at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-tab-span">        </span>at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-tab-span">        </span>at java.lang.reflect.Constructor.newInstance(Constructor.java:423)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-tab-span">        </span>at java.lang.Class.newInstance(Class.java:442)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-tab-span">        </span>at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-tab-span">        </span>at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-tab-span">        </span>at java.util.ServiceLoader$1.next(ServiceLoader.java:480)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-tab-span">        </span>at io.undertow.protocols.alpn.ALPNManager.&lt;init&gt;(ALPNManager.java:40)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-tab-span">        </span>at io.undertow.protocols.alpn.ALPNManager.&lt;clinit&gt;(ALPNManager.java:35)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-tab-span">        </span>at io.undertow.server.protocol.http.AlpnOpenListener.&lt;init&gt;(AlpnOpenListener.java:67)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-tab-span">        </span>at io.undertow.server.protocol.http.AlpnOpenListener.&lt;init&gt;(AlpnOpenListener.java:90)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-tab-span">        </span>at io.undertow.Undertow.start(Undertow.java:179)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-tab-span">        </span>at com.networknt.server.Server.start(Server.java:170)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-tab-span">        </span>at com.networknt.server.Server.main(Server.java:90)</span></p>
<p class="gmail-p1"><span class="gmail-s1">21:00:36.503 [main]  INFO  com.networknt.server.Server - Https Server started on ip:0.0.0.0 Port:8843</span></p></div></div>