<div dir="ltr">Is this the sort of thing that geard will address going forward?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 23, 2014 at 8:46 AM, Farah Juma <span dir="ltr">&lt;<a href="mailto:fjuma@redhat.com" target="_blank">fjuma@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
&gt; From: &quot;Jim McGuinness&quot; &lt;<a href="mailto:dador92@gmail.com">dador92@gmail.com</a>&gt;<br>
&gt; To: &quot;Farah Juma&quot; &lt;<a href="mailto:fjuma@redhat.com">fjuma@redhat.com</a>&gt;, <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
&gt; Sent: Wednesday, April 23, 2014 9:10:02 AM<br>
<div class="">&gt; Subject: Re: [wildfly-dev] WildFly 8.1.0.CR1 on OpenShift<br>
&gt;<br>
</div><div><div class="h5">&gt; Farah,<br>
&gt;<br>
&gt; I&#39;ve been looking at this some more, and the marker for Java just toggles<br>
&gt; back and forth between Java 6 and Java 7. If the Java 7 marker is not<br>
&gt; present, then a cartridge just defaults back to Java 6.<br>
&gt;<br>
&gt; But you still have to have the version of Java installed on the gear in<br>
&gt; order to toggle back and forth.<br>
&gt;<br>
&gt; Here are the contents of the /usr/lib/jvm directory on the gear where<br>
&gt; OpenShift online installed my Wildfly 8.1<br>
&gt; cartridge ...<br>
&gt;<br>
&gt; lrwxrwxrwx.  1 root root   26 Apr 22 13:19 java -&gt;<br>
&gt; /etc/alternatives/java_sdk<br>
&gt; drwxr-xr-x.  3 root root 4.0K Feb 18  2013 java-1.5.0-gcj-1.5.0.0<br>
&gt; lrwxrwxrwx.  1 root root   32 Apr 22 13:19 java-1.6.0 -&gt;<br>
&gt; /etc/alternatives/java_sdk_1.6.0<br>
&gt; lrwxrwxrwx.  1 root root   26 Apr 22 13:19 java-1.6.0-openjdk -&gt;<br>
&gt; java-1.6.0-openjdk-1.6.0.0<br>
&gt; drwxr-xr-x.  7 root root 4.0K Apr 11 06:57 java-1.6.0-openjdk-1.6.0.0<br>
&gt; lrwxrwxrwx.  1 root root   32 Apr 22 13:18 java-1.7.0 -&gt;<br>
&gt; /etc/alternatives/java_sdk_1.7.0<br>
&gt; lrwxrwxrwx.  1 root root   27 Apr 22 13:18 java-1.7.0-openjdk -&gt;<br>
&gt; java-1.7.0-openjdk-1.7.0.55<br>
&gt; drwxr-xr-x.  3 root root 4.0K Feb  3 17:06 java-1.7.0-openjdk-1.7.0.45<br>
&gt; drwxr-xr-x.  3 root root 4.0K Apr 22 13:19 java-1.7.0-openjdk-1.7.0.51<br>
&gt; drwxr-xr-x.  7 root root 4.0K Apr 22 13:18 java-1.7.0-openjdk-1.7.0.55<br>
&gt; drwxr-xr-x.  3 root root 4.0K May  1  2013 java-1.7.0-openjdk-1.7.0.9<br>
&gt; lrwxrwxrwx.  1 root root   34 Apr 22 13:19 java-openjdk -&gt;<br>
&gt; /etc/alternatives/java_sdk_openjdk<br>
&gt; lrwxrwxrwx.  1 root root   21 Apr 22 13:19 jre -&gt; /etc/alternatives/jre<br>
&gt; lrwxrwxrwx.  1 root root   27 Feb 18  2013 jre-1.5.0 -&gt;<br>
&gt; /etc/alternatives/jre_1.5.0<br>
&gt; lrwxrwxrwx.  1 root root   26 Feb 18  2013 jre-1.5.0-gcj -&gt;<br>
&gt; java-1.5.0-gcj-1.5.0.0/jre<br>
&gt; lrwxrwxrwx.  1 root root   27 Apr 22 13:19 jre-1.6.0 -&gt;<br>
&gt; /etc/alternatives/jre_1.6.0<br>
&gt; lrwxrwxrwx.  1 root root   30 Apr 22 13:19 jre-1.6.0-openjdk -&gt;<br>
&gt; java-1.6.0-openjdk-1.6.0.0/jre<br>
&gt; lrwxrwxrwx.  1 root root   27 Apr 22 13:18 jre-1.7.0 -&gt;<br>
&gt; /etc/alternatives/jre_1.7.0<br>
&gt; lrwxrwxrwx.  1 root root   31 Apr 22 13:18 jre-1.7.0-openjdk -&gt;<br>
&gt; java-1.7.0-openjdk-1.7.0.55/jre<br>
&gt; lrwxrwxrwx.  1 root root   25 Feb 18  2013 jre-gcj -&gt;<br>
&gt; /etc/alternatives/jre_gcj<br>
&gt; lrwxrwxrwx.  1 root root   29 Apr 22 13:19 jre-openjdk -&gt;<br>
&gt; /etc/alternatives/jre_openjdk<br>
&gt;<br>
&gt; I truly think the answer is that the gear needs to add Java 8 SE in order<br>
&gt; for the Wildfly cartridge to be able to use it. And the Wildfly cartridge<br>
&gt; will then need to be updated to respond to a Java 8 marker..<br>
<br>
</div></div>That&#39;s correct. Since OpenShift hasn&#39;t yet made JDK 8 available though, the idea is to update the WildFly cartridge so that it installs JDK 8 on the gear.<br>
<span class="HOEnZb"><font color="#888888"><br>
Farah<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt;<br>
&gt; On Tue, Apr 22, 2014 at 6:57 PM, Jim McGuinness &lt;<a href="mailto:dador92@gmail.com">dador92@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Doesn&#39;t the marker just indicate the JDK version(s) used/usable by the app<br>
&gt; &gt; (in this case wildfly)? The gear still has to have a JDK 8 installed<br>
&gt; &gt; doesn&#39;t it?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Tue, Apr 22, 2014 at 6:00 PM, Farah Juma &lt;<a href="mailto:fjuma@redhat.com">fjuma@redhat.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; From: &quot;Jim McGuinness&quot; &lt;<a href="mailto:dador92@gmail.com">dador92@gmail.com</a>&gt;<br>
&gt; &gt;&gt; &gt; To: &quot;Farah Juma&quot; &lt;<a href="mailto:fjuma@redhat.com">fjuma@redhat.com</a>&gt;<br>
&gt; &gt;&gt; &gt; Sent: Tuesday, April 22, 2014 5:57:07 PM<br>
&gt; &gt;&gt; &gt; Subject: Re: [wildfly-dev] WildFly 8.1.0.CR1 on OpenShift<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; Would it be better to create a JDK 8 cartridge which could be deployed<br>
&gt; &gt;&gt; in<br>
&gt; &gt;&gt; &gt; the same gear as the Wildfly 8.1 cartridge? Ideally you&#39;ll want to use<br>
&gt; &gt;&gt; the<br>
&gt; &gt;&gt; &gt; JDK 8 for more than just Wildfly.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Support for different JDK versions is added using marker files (e.g.,<br>
&gt; &gt;&gt; this post describes how JDK7 support was added:<br>
&gt; &gt;&gt; <a href="https://www.openshift.com/blogs/new-openshift-release-aug-8-2012-java-7-cakephp-origin-updates-and-more" target="_blank">https://www.openshift.com/blogs/new-openshift-release-aug-8-2012-java-7-cakephp-origin-updates-and-more</a><br>

&gt; &gt;&gt; ).<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; Is the gear&#39;s lack of a JDK 8 caused by the requirements of SELinux?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; It just hasn&#39;t been added by OpenShift yet.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; On Tue, Apr 22, 2014 at 2:35 PM, Farah Juma &lt;<a href="mailto:fjuma@redhat.com">fjuma@redhat.com</a>&gt; wrote:<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; OpenShift hasn&#39;t added support for JDK8 yet but it should be possible<br>
&gt; &gt;&gt; for<br>
&gt; &gt;&gt; &gt; &gt; us to add it into the WildFly cartridge. I&#39;ll look into this.<br>
&gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; Farah<br>
&gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; ----- Original Message -----<br>
&gt; &gt;&gt; &gt; &gt; &gt; From: &quot;Tomaž Cerar&quot; &lt;<a href="mailto:tomaz.cerar@gmail.com">tomaz.cerar@gmail.com</a>&gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; To: &quot;Farah Juma&quot; &lt;<a href="mailto:fjuma@redhat.com">fjuma@redhat.com</a>&gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; Cc: &quot;WildFly Dev&quot; &lt;<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a>&gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; Sent: Tuesday, April 22, 2014 3:22:45 PM<br>
&gt; &gt;&gt; &gt; &gt; &gt; Subject: Re: [wildfly-dev] WildFly 8.1.0.CR1 on OpenShift<br>
&gt; &gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; Great news!<br>
&gt; &gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; Btw, did you manage to add support for JDK8 yet?<br>
&gt; &gt;&gt; &gt; &gt; &gt; Not sure how far is openshift in this area but it would be great if<br>
&gt; &gt;&gt; we<br>
&gt; &gt;&gt; &gt; &gt; &gt; would have JDK8 with WildFly on OpenShift.<br>
&gt; &gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; --<br>
&gt; &gt;&gt; &gt; &gt; &gt; tomaz<br>
&gt; &gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; On Tue, Apr 22, 2014 at 9:17 PM, Farah Juma &lt;<a href="mailto:fjuma@redhat.com">fjuma@redhat.com</a>&gt;<br>
&gt; &gt;&gt; wrote:<br>
&gt; &gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; Since WildFly 8.1.0.CR1 was released last week, the OpenShift<br>
&gt; &gt;&gt; WildFly<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; cartridge has been updated as well.<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; See<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt; <a href="https://community.jboss.org/people/fjuma/blog/2014/04/22/wildfly-810cr1-on-openshiftfor" target="_blank">https://community.jboss.org/people/fjuma/blog/2014/04/22/wildfly-810cr1-on-openshiftfor</a><br>

&gt; &gt;&gt; &gt; &gt; &gt; &gt; more details on how to get started. Please try it out and provide<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; feedback.<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; wildfly-dev mailing list<br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
&gt; &gt;&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt;&gt; &gt; &gt; wildfly-dev mailing list<br>
&gt; &gt;&gt; &gt; &gt; <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
&gt; &gt;&gt; &gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
&gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>