Hello, I just opened https://issues.apache.org/jira/browse/TOMEE-2226 JIRA to track the WARN messages about 'Illegal reflective access' with Java 11 (probably this is also reproducible with Java 9).
I also want to mention that apart from these messages, my applications work fine with TomEE+ 7.0.6 snapshot of the 22th of August with Java 11 EA 25 on CentOS 7, and this includes the embedded ActiveMQ service in TomEE, Jedis, Shiro and of course our JAX-RS web services. I will have in 2 weeks from now a way greater scope of tests, stay tuned and thanks a lot for the great work with TomEE+ ! Buy the way, shouldn't https://issues.apache.org/jira/browse/TOMEE-2200 be closed, since with latest TomEE+ 7.0.6 snapshot the blocking issue that used TomEE from starting with Java 11 is solved? Thanks, Alexandre Le mer. 22 août 2018 à 16:05, Jonathan Gallimore < [email protected]> a écrit : > Thanks for the update, and yes please for the Jira. > > Thanks > > Jon > > On Wed, 22 Aug 2018, 13:39 Alex The Rocker, <[email protected]> wrote: > > > Hello, > > > > Just to report that my first attempt with TomEE 7.0.6 snapshot (using > > apache-tomee-7.0.6-20180822.044606-8-plus.tar.gz) with Java 11 (EA build > > 25) gives me strange warnings in catalina.out: > > > > catalina.2018-08-22.log:22-Aug-2018 12:20:41.687 WARNING > > [localhost-startStop-1] > > org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom > Creation > > of SecureRandom instance for session ID generation using [SHA1PRNG] took > > [29,399] milliseconds. > > catalina.out:WARNING: An illegal reflective access operation has occurred > > catalina.out:WARNING: Illegal reflective access by > > org.apache.tomee.catalina.ServerListener > > (file:/usr/local/tomee/lib/tomee-catalina-7.0.6-SNAPSHOT.jar) to field > > java.lang.reflect.Field.modifiers > > catalina.out:WARNING: Please consider reporting this to the maintainers > of > > org.apache.tomee.catalina.ServerListener > > catalina.out:WARNING: Use --illegal-access=warn to enable warnings of > > further illegal reflective access operations > > catalina.out:WARNING: All illegal access operations will be denied in a > > future release > > catalina.out:22-Aug-2018 12:20:41.687 WARNING [localhost-startStop-1] > > org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom > Creation > > of SecureRandom instance for session ID generation using [SHA1PRNG] took > > [29,399] milliseconds. > > > > For the way too slow secure random I guess I can tweak > > jdk/conf/security/java.security and replace /dev/random by /dev/urandom, > > but how about the "Illegal reflective access by > > org.apache.tomee.catalina.ServerListener" ? > > > > Should I fill a JIRA for this one? > > > > Thanks > > Alexandre > > > > > > Le mar. 21 août 2018 à 15:33, Jonathan Gallimore < > > [email protected]> a écrit : > > > > > Hopefully this one will do the trick: > > > openejb-core-7.0.6-20180821.130440-7.jar > > > < > > > > > > https://repository.apache.org/content/groups/snapshots/org/apache/tomee/openejb-core/7.0.6-SNAPSHOT/openejb-core-7.0.6-20180821.130440-7.jar > > > > > > > - > > > I deployed manually from here. Seems there is an issue with buildbot > > doing > > > it. Sorry about that. > > > > > > Jon > > > > > > On Mon, Aug 20, 2018 at 2:41 PM Jonathan Gallimore < > > > [email protected]> wrote: > > > > > > > Snapshot (openejb-core) should be available when this build finishes: > > > > https://ci.apache.org/builders/tomee-7.0.x-deploy/builds/4 > > > > > > > > Jon > > > > > > > > On Mon, Aug 20, 2018 at 2:01 PM, Jonathan Gallimore < > > > > [email protected]> wrote: > > > > > > > >> I haven't been able to do that yet - I'll drop a note here when I > > have. > > > >> > > > >> Jon > > > >> > > > >> On Mon, Aug 20, 2018 at 1:24 PM, Alex The Rocker < > > [email protected]> > > > >> wrote: > > > >> > > > >>> Hi Jon, > > > >>> > > > >>> Is the TomEE 7.0.x snapshot compatible with Java 11 available > today? > > > >>> If yes then what's the URL to download it? > > > >>> > > > >>> Thanks, > > > >>> Alexandre > > > >>> > > > >>> > > > >>> Le ven. 17 août 2018 à 15:51, Jonathan Gallimore < > > > >>> [email protected]> a écrit : > > > >>> > > > >>> > I'm suspecting that too, but it'll be fun to try it and see how > we > > > get > > > >>> on. > > > >>> > 😀 > > > >>> > > > > >>> > On Fri, 17 Aug 2018, 14:08 cocorossello, <[email protected] > > > > > >>> wrote: > > > >>> > > > > >>> > > I think you will also need to release openwebbeans, jdk 11 > patch > > > >>> there is > > > >>> > > not > > > >>> > > in any release yet. > > > >>> > > > > > >>> > > > > > >>> > > > > > >>> > > -- > > > >>> > > Sent from: > > > >>> > > > http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html > > > >>> > > > > > >>> > > > > >>> > > > >> > > > >> > > > > > > > > > >
