<div dir="ltr">Thanks for forwarding Scott,& the clear explanation Jonathan.<br><br>That's a super answer -- in fact it re-enforces why we wanted to move to a supported image :-)<br><br>My only question would be just how to know when the update happens? Presumably it will be announced here?<br><br>Thanks<div>Nigel</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 15 Sep 2020 at 09:19, Jonathan Dowland <<a href="mailto:jdowland@redhat.com">jdowland@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Scott, thanks for passing this on.<br>
<br>
The good news is these are two known issues that we are going to resolve<br>
in a release in the very near future.<br>
<br>
 • <a href="https://issues.redhat.com/browse/OPENJDK-45" rel="noreferrer" target="_blank">https://issues.redhat.com/browse/OPENJDK-45</a> (Jolokia illegal<br>
 reflective access) - being resolved by dropping Jolokia<br>
<br>
 • <a href="https://issues.redhat.com/browse/CLOUD-3387" rel="noreferrer" target="_blank">https://issues.redhat.com/browse/CLOUD-3387</a><br>
   (s2i/run attempts to source missing scl-enable-maven)<br>
<br>
The next OpenJDK cumulative patch update is due in late October. We will<br>
release a new container image with fixes for the above two issues (and<br>
more) approx. a week later — this is so that folks who want a bit more<br>
time with the bundled Jolokia get the updated OpenJDK in a micro-version<br>
update before we remove it, and they have a little more breathing room<br>
to plan a migration without worrying about unpatched CVEs at the same<br>
time.<br>
<br>
Nigel if you have any further questions please just ask!<br>
<br>
On Mon, Sep 14, 2020 at 05:43:02PM -0400, Scott McCarty wrote:<br>
> Pulling Johnathan and Ezekial in who might better know...<br>
> <br>
> On Mon, Sep 14, 2020 at 11:37 AM Nigel Jones <<a href="mailto:nigel@cherrybyte.me.uk" target="_blank">nigel@cherrybyte.me.uk</a>> wrote:<br>
> <br>
> > I should add that our app (which has been put by maven into the<br>
> > target/assembly directory) is already built/packaged at this point - we are<br>
> > not using S2I<br>
> ><br>
> > On Mon, 14 Sep 2020 at 16:34, Nigel Jones <<a href="mailto:nigel@cherrybyte.me.uk" target="_blank">nigel@cherrybyte.me.uk</a>> wrote:<br>
> ><br>
> >> I've just started trying to use the open jdk 11 UBI-8 image, and have my<br>
> >> java app launching ok<br>
> >><br>
> >> However when launched I see:<br>
> >><br>
> >> jonesn:egeria/ (issue3580) $ docker run egeria<br>
> >><br>
> >><br>
> >><br>
> >>                                                                [16:07:29]<br>
> >> /usr/local/s2i/run: line 15:<br>
> >> /opt/jboss/container/maven/default//scl-enable-maven: No such file or<br>
> >> directory<br>
> >> Starting the Java application using<br>
> >> /opt/jboss/container/java/run/run-java.sh ...<br>
> >> INFO exec  java<br>
> >> -javaagent:/usr/share/java/jolokia-jvm-agent/jolokia-jvm.jar=config=/opt/jboss/container/jolokia/etc/jolokia.properties<br>
> >> -XX:+UseParallelOldGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20<br>
> >> -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MaxMetaspaceSize=100m<br>
> >> -XX:+ExitOnOutOfMemoryError -cp "." -jar<br>
> >> /deployments/server/server-chassis-spring-2.3-SNAPSHOT.jar<br>
> >> WARNING: An illegal reflective access operation has occurred<br>
> >> WARNING: Illegal reflective access by org.jolokia.util.ClassUtil<br>
> >> (file:/usr/share/java/jolokia-jvm-agent/jolokia-jvm.jar) to constructor<br>
> >> sun.security.x509.X500Name(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)<br>
> >> WARNING: Please consider reporting this to the maintainers of<br>
> >> org.jolokia.util.ClassUtil<br>
> >> WARNING: Use --illegal-access=warn to enable warnings of further illegal<br>
> >> reflective access operations<br>
> >> WARNING: All illegal access operations will be denied in a future release<br>
> >> I> No access restrictor found, access to any MBean is allowed<br>
> >> Jolokia: Agent started with URL <a href="https://172.17.0.2:8778/jolokia/" rel="noreferrer" target="_blank">https://172.17.0.2:8778/jolokia/</a><br>
> >>  ODPi Egeria<br>
> >><br>
> >> ^^ last line is our app.<br>
> >><br>
> >> The key parts of the dockerfile are:<br>
> >><br>
> >> FROM <a href="http://registry.access.redhat.com/ubi8/openjdk-11" rel="noreferrer" target="_blank">registry.access.redhat.com/ubi8/openjdk-11</a><br>
> >><br>
> >> ARG version=2.3-SNAPSHOT<br>
> >><br>
> >> COPY target/assembly /deployments<br>
> >><br>
> >> ENV JAVA_APP_JAR=server/server-chassis-spring-${version}.jar<br>
> >> ENV JAVA_LIBDIR=${JAVA_APP_DIR}/server/lib<br>
> >><br>
> >><br>
> >> I'm going to research more about Jolokia (new to me) and S2I..  these<br>
> >> warnings aren't preventing the app from working, but may concern anyone<br>
> >> running them so I'd like to keep<br>
> >> things clean if at all possible.<br>
> >><br>
> >> Any pointers welcomed!<br>
> >><br>
> >> Thanks<br>
> >> Nigel Jones (planetf1)<br>
> >> ODPi Egeria maintainer<br>
> >> --<br>
> >> ----<br>
> >> Nigel Jones<br>
> >><br>
> ><br>
> ><br>
> > --<br>
> > ----<br>
> > Nigel Jones<br>
> > _______________________________________________<br>
> > Ubi mailing list<br>
> > <a href="mailto:Ubi@redhat.com" target="_blank">Ubi@redhat.com</a><br>
> > <a href="https://www.redhat.com/mailman/listinfo/ubi" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/ubi</a><br>
> ><br>
> <br>
> <br>
> -- <br>
> <br>
> --<br>
> <br>
> A First Look at The Podman 2.0 API:<br>
> <a href="http://crunchtools.com/a-first-look-at-the-podman-2-0-api/" rel="noreferrer" target="_blank">http://crunchtools.com/a-first-look-at-the-podman-2-0-api/</a><br>
> <<a href="http://crunchtools.com/comparison-linux-container-images/" rel="noreferrer" target="_blank">http://crunchtools.com/comparison-linux-container-images/</a>>--<br>
> --<br>
> <br>
> Scott McCarty<br>
> Product Management - Containers, Red Hat Enterprise Linux & OpenShift<br>
> Email: <a href="mailto:smccarty@redhat.com" target="_blank">smccarty@redhat.com</a><br>
> Phone: 312-660-3535<br>
> Cell: 330-807-1043<br>
> Web: <a href="http://crunchtools.com" rel="noreferrer" target="_blank">http://crunchtools.com</a><br>
<br>
-- <br>
👱🏻 Jonathan Dowland <<a href="mailto:jdowland@redhat.com" target="_blank">jdowland@redhat.com</a>><br>
Senior Software Engineer, OpenJDK, Red Hat<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">----<br>Nigel Jones</div>