My POC downloads a mapping file, that maps the JVM version to a specific artefact.<br><br>Stuart<br><div class="gmail_quote">On Wed Jan 07 2015 at 2:39:27 PM Jason T. Greene <<a href="mailto:jason.greene@redhat.com">jason.greene@redhat.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div><span></span></div><div><div>We should probably download these jars using a directory or file name convention that is associated with the particular jvm version. That way it becomes easy to support multiple jvm version environments which is very common (both in domain and standalone).</div><div><br></div><div>In domain mode we could have the host controller bootstrap follow the same approach as standalone. For domain server configured jvms we could reuse the logic as part of the JVM argument building process. </div></div></div><div dir="auto"><div><div><br>On Jan 6, 2015, at 7:20 PM, Stuart Douglas <<a href="mailto:stuart.w.douglas@gmail.com" target="_blank">stuart.w.douglas@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div>Hi all,<div>Both SPDY and the upcoming HTTP2 protocol require the use of an SSL extension called ALPN (Application Layer Protocol Negotiation). Unfortunately this is not supported in current JDK's (it should appear in JDK9), so the only way to support these protocols in Java at the moment is to modify the boot class path and override the JDK SSL classes to add support for this. </div><div><br></div><div>In practice this means add jetty-alpn-boot.jar to the boot class path, however the exact version of the jar that is required depends on the JVM version, which means we can't just ship a jar and add the boot class path stuff to our startup scripts.</div><div><br></div><div>I have come up with a proof on concept[1] for how to deal with this, that will download the appropriate ALPN jar for the current server if -alpn is passed to the startup script, however we still need some way to handle this in domain mode, where we need to make sure the servers are all started with the appropriate parameter (worst case we could just require users to install the appropriate JAR themselves, and then set the appropriate JAVA_OPTS).</div><div><br></div><div>Hopefully the need for this will go away with Java 9, so I am not sure how much effort we should spend dealing with this. </div><div><br></div><div>Does anyone have any thoughts on this?</div><div><br></div><div>Stuart</div><div><br></div><div>[1] <a href="https://github.com/stuartwdouglas/wildfly-core/compare/wildfly:master...stuartwdouglas:alpn" target="_blank">https://github.com/stuartwdouglas/wildfly-core/compare/wildfly:master...stuartwdouglas:alpn</a></div><div> </div>
</div></blockquote></div></div><div dir="auto"><div><blockquote type="cite"><div><span>_______________________________________________</span><br><span>wildfly-dev mailing list</span><br><span><a href="mailto:wildfly-dev@lists.jboss.org" target="_blank">wildfly-dev@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a></span></div></blockquote></div></div></blockquote></div>