<div dir="ltr">Yes, I am. The same jar works outside of WildFly.<div><br></div><div>Can you tell me about the other solution that WildFly 10.1 uses?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 20, 2017 at 4:42 PM, Tomaž Cerar <span dir="ltr">&lt;<a href="mailto:tomaz.cerar@gmail.com" target="_blank">tomaz.cerar@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hey,<br><br></div>are you using proper version of apln-boot jar that applies to your exact version of jdk?<br><br></div>Since 10.1, WildFly itself doesn&#39;t use the apln-boot hack anymore since, but uses different solution in undertow that doesn&#39;t require patching jdk classes.<br><br>--<br></div>tomaz<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Apr 20, 2017 at 3:58 PM, Hanan Othman <span dir="ltr">&lt;<a href="mailto:hothman@webalo.com" target="_blank">hothman@webalo.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><span style="font-size:12.800000190734863px">Hello undertow-dev,</span><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">I&#39;m trying to use WildFly to send a push notification to iOS devices, which requires the use of HTTP/2. Using OkHttp (<a href="http://square.github.io/okhttp/" target="_blank">http://square.github.io/okhtt<wbr>p/</a>), I was able to send a request successfully in an external java project using the JVM option: -Xbootclasspath/p:&lt;path-to-alp<wbr>n-boot-jar&gt;.</div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">After checking the documentation here: <a href="http://undertow.io/blog/2015/03/26/HTTP2-In-Wildfly.html" target="_blank">http://undertow.io/blog/<wbr>2015/03/26/HTTP2-In-Wildfly.ht<wbr>ml</a>, I was unable to do the same in WildFly. When I run the server I get:</div><div style="font-size:12.800000190734863px"><br></div><blockquote style="font-size:12.800000190734863px;margin:0px 0px 0px 40px;border:none;padding:0px"><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">okhttp3.OkHttpClient  -- ALPN callback dropped: SPDY and HTTP/2 are disabled. Is alpn-boot on the boot class path?</span></p></div><br></blockquote><span style="font-size:12.800000190734863px">which leads me to think that it is not actually on the classpath. I have the same configuration as that in the blog post, except having Wildfly 10.0.1.Final instead of Wildfly 9.0.0.Beta1. I have the correct alpn-boot jar version since it already works outside of WildFly, but I do not know what else I could be missing. Thank you very much for your time.</span><br style="font-size:12.800000190734863px"><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">Best,</div><div style="font-size:12.800000190734863px">Hanan</div></div>
<br></div></div>______________________________<wbr>_________________<br>
undertow-dev mailing list<br>
<a href="mailto:undertow-dev@lists.jboss.org" target="_blank">undertow-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/undertow-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/undertow-dev</a><br></blockquote></div><br></div>
</blockquote></div><br></div>