TomEE & Java 17

2021-09-20 Thread Zowalla, Richard
Hi ladies, I wanted to start a discussion about TomEE and its Java 17 compatibility. I did some tests in one of our demo projects It looks like that " --illegal-access=permit" was removed in Java 17, which leads to some InaccessibleObjectException [1]. Does anybody know, if there are solutions

Re: [RESULT][VOTE] Apache TomEE 8.0.8

2021-09-20 Thread Jonathan Gallimore
That's merged - thanks Rod! Jon On Sat, Sep 18, 2021 at 5:40 PM Jenkins, Rodney J (Rod) < jenki...@nationwide.com> wrote: > Jon. > > One more (final maybe) PR the needs to be approved. I had to make some > changes that Dockerhub wanted. > > Thanks, > Rod. > > > On 9/16/21, 6:05 AM, "Jonathan G

Re: TomEE & Java 17

2021-09-20 Thread Thomas Andraschko
Related to: https://issues.apache.org/jira/browse/DELTASPIKE-1432 Am Mo., 20. Sept. 2021 um 10:08 Uhr schrieb Zowalla, Richard < richard.zowa...@hs-heilbronn.de>: > Hi ladies, > > I wanted to start a discussion about TomEE and its Java 17 > compatibility. > > I did some tests in one of our demo p

Re: TomEE & Java 17

2021-09-20 Thread Jonathan Gallimore
I had a very quick look - I wonder if we simply need to move to MethodHandles.Lookup.defineClass(): https://docs.oracle.com/javase/9/docs/api/java/lang/invoke/MethodHandles.Lookup.html#defineClass-byte:A- in the LocalBeanProxyFactory. There's likely a couple of other libraries that TomEE uses that

Re: TomEE & Java 17

2021-09-20 Thread Zowalla, Richard
I think that's the approach taken by the guys at deltaspike in Thomas' link [1] (and the related PR in [2]). [1] https://issues.apache.org/jira/browse/DELTASPIKE-1432 [2] https://github.com/apache/deltaspike/pull/119 Am Montag, dem 20.09.2021 um 11:09 +0100 schrieb Jonathan Gallimore: > I had a

Re: TomEE & Java 17

2021-09-20 Thread Thiago Henrique Hupner
The easy fix is to replace the illegal access to - - add-opens and - - add-exports. The exception message includes which one is required. Em seg., 20 de set. de 2021 07:34, Zowalla, Richard < richard.zowa...@hs-heilbronn.de> escreveu: > I think that's the approach taken by the guys at deltaspike

Re: TomEE & Java 17

2021-09-20 Thread Zowalla, Richard
Thanks for the additional hint. It fixes the test, but I still think, that we should make a permanent (code-based) fix ;) I have created a related JIRA: - https://issues.apache.org/jira/browse/TOMEE-3795 In addition, it looks like - https://issues.apache.org/jira/browse/TOMEE-2744 is another

Re: TomEE & Java 17

2021-09-20 Thread Memo Díaz Solis
Hey Guys, can I help with this? I'm not familiar with the TOMEE code base but I'm glad to help in some way. Thanks. El lun, 20 sept 2021 a las 5:21, Zowalla, Richard (< richard.zowa...@hs-heilbronn.de>) escribió: > Thanks for the additional hint. It fixes the test, but I still think, > that we sh

Re: TomEE & Java 17

2021-09-20 Thread Vicente Rossello
Hi, My two cents... I've tried the examples, don't know how to fix it permanently, but I've noticed two things: * Lombok should be upgraded to 1.18.20 to be able to compile with JDK16+ ( https://projectlombok.org/changelog ) * OrbFactory does not compile in JDK11+ as well. I don't really know if

Re: TomEE & Java 17

2021-09-20 Thread Memo Díaz Solis
I just tested by myself (regarding the CORBA stuff) and of course got the issue you mentioned. Is there any alternative besides the glassfish jar you guys might know? or do we want to remove CORBA at all? org.glassfish.packager glassfish-corba-omgapi El lun, 20 sept 2021 a las 9:42

Re: TomEE & Java 17

2021-09-20 Thread Zowalla, Richard
I think that there are two different ideas / thoughts in here: (a) JDK / JRE 17 Runtime: Be able to deploy and operate a TomEE with a Java 17 environment. This might be solvable by adding JVM options (as mentioned by Thiago and Vicente) or doing some rework of the proxy factory (looks like a solut

Re: TomEE & Java 17

2021-09-20 Thread Thomas Andraschko
do we really need corba anymore? Am Mo., 20. Sept. 2021 um 18:53 Uhr schrieb Zowalla, Richard < richard.zowa...@hs-heilbronn.de>: > I think that there are two different ideas / thoughts in here: > > (a) JDK / JRE 17 Runtime: Be able to deploy and operate a TomEE with a > Java 17 environment. This

Re: TomEE & Java 17

2021-09-20 Thread Zowalla, Richard
don't know. David was hard in favour for it (feature removal in the next major version, i.e. 9.x.x) - at least this was the discussion in Nov 2020. Am Montag, dem 20.09.2021 um 19:14 +0200 schrieb Thomas Andraschko: > do we really need corba anymore? > > Am Mo., 20. Sept. 2021 um 18:53 Uhr schrie

AW: TomEE & Java 17

2021-09-20 Thread Zowalla, Richard
Correction: in favour for keeping ist in 8.x.x. and maybe remove it in the next major version. Grüess it requires a separate discussion... Von: Zowalla, Richard Gesendet: Montag, 20. September 2021 19:36:22 An: dev@tomee.apache.org Betreff: Re: TomEE & Java 17 do

JSONB/JSONP TCK failures

2021-09-20 Thread Jean-Louis Monteiro
Hi, I reverted Johnzon update because it seems that 1.2.11 and onward introduced a regression. I'll checkout with Johnzon community but I wanted to see how it looks with 1.2.10 -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro http://www.tomitribe.com

Re: [RESULT][VOTE] Apache TomEE 8.0.8

2021-09-20 Thread Jenkins, Rodney J (Rod)
All, Dockerhub just approved the Docker images for the new TomEE 8.0.8 and, for the 1st time 9.0.0-M7. Thanks, Rod. On 9/20/21, 4:44 AM, "Jonathan Gallimore" wrote: Nationwide Information Security Warning: This is an EXTERNAL email. Use CAUTION before clicking on links, opening attachme