Re: Building with Java 11

2019-05-08 Thread Zowalla, Richard
Hi César, thanks for your response. We successfully migrated our staging environment w/ EAR's to TomEE 8 M2 Plus running with JDK-11 on Ubuntu.We also adjusted our build- process w/ to work with JDK-11. We only had to exchange the javaee 8 api 8.0 with the 8.0-1 artifact to be able to use hiberna

Re: Building with Java 11

2019-05-06 Thread César Hernández Mendoza
Hi Richard, This is the latest active email thread about it: https://lists.apache.org/thread.html/90b0a10aecec566e1b8d0c43118027d7321cbbaade089f043734bf3c@%3Cdev.tomee.apache.org%3E So far it seems Daniel and James have had progress on it, but the short answer I see is that it's a work in progres

Re: Building with Java 11

2019-04-24 Thread Zowalla, Richard
Hi, any updates on the Java 11 compatibility? Is someone currently working on this? Ubuntu recently rolled out the Java 11 binaries, so I think, we have to move on with it. Best, Richard smime.p7s Description: S/MIME cryptographic signature

Re: Building with Java 11

2019-04-04 Thread Daniel Cunha
ok.. I'm still blocked with that: WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.apache.openejb.loader.BasicURLClassPath$4 (file:/tmp/temp7398740719212351046dir/root/lib/openejb-loader-8.0.0-SNAPSHOT.jar) to field java.net.URLClassLoader.ucp

Re: Building with Java 11

2019-03-27 Thread Daniel Cunha
My feedback: back to working on it, and yes I still have my VM crashing in some modules. I've all changes from master merged and which include your changes James. So, my conclusion is: My changes on TomEE classlaoders break all. Reworking on it. Em qua, 6 de mar de 2019 às 13:31, j4fm escreveu:

Re: Building with Java 11

2019-03-06 Thread j4fm
You can just grab this file and give it a shot... https://github.com/j4fm/tomee/blob/CXF-3.3.0-Take-2/container/openejb-core/src/main/resources/default.exclusions I haven't quite finalized the tweaks I'm working on but it's pretty much there. Thanks -- Sent from: http://tomee-openejb.979440.n

Re: Building with Java 11

2019-03-06 Thread Daniel Cunha
Hi James, Thanks! I'll try it. Em qua, 6 de mar de 2019 às 13:14, j4fm escreveu: > FYI, onyl loosely related but as part of fixing the CDI TCK memory gobbling > with CXF 3.3.0, I've added quite a few to the default.exclusions for > scanning. > > I also noticed the lib we have is woodstox-core-5

Re: Building with Java 11

2019-03-06 Thread j4fm
FYI, onyl loosely related but as part of fixing the CDI TCK memory gobbling with CXF 3.3.0, I've added quite a few to the default.exclusions for scanning. I also noticed the lib we have is woodstox-core-5.x.x.jar but in default.exclusions we have woodstox-core-asl-x.x.x.jar. This may avoid your w

Re: Building with Java 11

2019-03-06 Thread Daniel Cunha
Well, my changes is just to try test a different way/behavior about the which Otávio saw during his itest build. Since it is caused on Basic URLClassLoader, it would affect a lot of place in TomEE. https://github.com/apache/tomee/blob/master/container/openejb-loader/src/main/java/org/apache/openej

Re: Building with Java 11

2019-03-06 Thread Daniel Cunha
Hi folks, I spent my night trying make the build happy with Java 11. It is what I have for now: [INFO] [INFO] Reactor Summary for Apache OpenEJB 8.0.0-SNAPSHOT: [INFO] [INFO] Apache OpenEJB ..

Re: Building with Java 11

2019-03-05 Thread Daniel Cunha
Hi Otávio and folks, That is the issue: https://github.com/apache/tomee/blob/master/container/openejb-loader/src/main/java/org/apache/openejb/loader/BasicURLClassPath.java#L110 Seems that we need to change the strategy to work like it: https://github.com/apache/tomee/blob/master/container/openejb

Re: Building with Java 11

2019-03-04 Thread Daniel Cunha
Yeah.. I was seeing that exactly now. this option was dropped. Em seg, 4 de mar de 2019 12:23 PM, Otávio Gonçalves de Santana < osant...@tomitribe.com> escreveu: > That does not work, there are changes at ClassLoader since Java 9. That > became forbidden at Java 11, because of these changes. > >

Re: Building with Java 11

2019-03-04 Thread Otávio Gonçalves de Santana
That does not work, there are changes at ClassLoader since Java 9. That became forbidden at Java 11, because of these changes. On Mon, Mar 4, 2019 at 12:03 PM Daniel Cunha wrote: > Hi Otávio, > > To fix it using jdk flags, you can use --illegal-access > Try it. > > Em seg, 4 de mar de 2019 às 1

Re: Building with Java 11

2019-03-04 Thread Otávio Gonçalves de Santana
That looks illegal access is forbidden at Java 11. I'm working on it. On Mon, Mar 4, 2019 at 11:54 AM Otávio Gonçalves de Santana < osant...@tomitribe.com> wrote: > > Now, I got a new error: > > Illegal reflective access by org.apache.openejb.loader.BasicURLClassPath$4 > (file:/tmp/temp1466246093

Re: Building with Java 11

2019-03-04 Thread Daniel Cunha
Hi Otávio, To fix it using jdk flags, you can use --illegal-access Try it. Em seg, 4 de mar de 2019 às 11:54, Otávio Gonçalves de Santana < osant...@tomitribe.com> escreveu: > Now, I got a new error: > > Illegal reflective access by org.apache.openejb.loader.BasicURLClassPath$4 > > (file:/tmp/te

Re: Building with Java 11

2019-03-04 Thread Otávio Gonçalves de Santana
Now, I got a new error: Illegal reflective access by org.apache.openejb.loader.BasicURLClassPath$4 (file:/tmp/temp14662460932513193953dir/root/lib/openejb-loader-8.0.0-SNAPSHOT.jar) to field java.net.URLClassLoader.ucp On Mon, Mar 4, 2019 at 10:49 AM Otávio Gonçalves de Santana < osant...@tomitr

Re: Building with Java 11

2019-03-04 Thread Otávio Gonçalves de Santana
I got the idea, I'll work on it. Thank you. On Mon, Mar 4, 2019 at 10:47 AM Jonathan Gallimore < jonathan.gallim...@gmail.com> wrote: > It sounded like you could make it work with a compiler config change (not a > code change) in Java 11 - is that correct? > > If so, can't you just provide that c

Re: Building with Java 11

2019-03-04 Thread Jonathan Gallimore
It sounded like you could make it work with a compiler config change (not a code change) in Java 11 - is that correct? If so, can't you just provide that config only when running the build on Java 11? Something like: java-11 11 maven-compile

Re: Building with Java 11

2019-03-04 Thread Otávio Gonçalves de Santana
Hey JonG. Could you explain more about it? Do you mean, create a profile to skip this project such as failover. I’ve checked some options such as redesign the classpath and create wrapper the BasicURLClass. Both with a huge change of code. skip-java-11 failover

Re: Building with Java 11

2019-03-04 Thread Jonathan Gallimore
Merged, thanks :) On Mon, Mar 4, 2019 at 11:46 AM Daniel Cunha wrote: > Hey Jon, > > just to keep the branch sync with master. > https://github.com/jgallimore/tomee/pull/4 > > Thank you. > > Em seg, 4 de mar de 2019 às 00:09, j4fm > escreveu: > > > So I have a fix for the cdi-tomee tck which me

Re: Building with Java 11

2019-03-04 Thread Daniel Cunha
Hey Jon, just to keep the branch sync with master. https://github.com/jgallimore/tomee/pull/4 Thank you. Em seg, 4 de mar de 2019 às 00:09, j4fm escreveu: > So I have a fix for the cdi-tomee tck which means we can add cxf 3.3.0 back > in. I just want to wait for full tests to complete before

Re: Building with Java 11

2019-03-03 Thread j4fm
So I have a fix for the cdi-tomee tck which means we can add cxf 3.3.0 back in. I just want to wait for full tests to complete before explaining in detail but to sum it up the bug was in testng which was keeping hold of threads. -- Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-

Re: Building with Java 11

2019-03-02 Thread Jonathan Gallimore
Yep, done. Thanks! On Sat, 2 Mar 2019, 11:51 Daniel Cunha, wrote: > @Jon, > > Can you review it: https://github.com/jgallimore/tomee/pull/3 > > Em sáb, 2 de mar de 2019 às 08:50, Daniel Cunha > escreveu: > > > I'm able to build tomee + tests locally with Java 11: > > mvn clean install -Pquick >

Re: Building with Java 11

2019-03-02 Thread Daniel Cunha
@Jon, Can you review it: https://github.com/jgallimore/tomee/pull/3 Em sáb, 2 de mar de 2019 às 08:50, Daniel Cunha escreveu: > I'm able to build tomee + tests locally with Java 11: > mvn clean install -Pquick > > Running now full: > mvn clean install > > Em sáb, 2 de mar de 2019 às 04:25, Dani

Re: Building with Java 11

2019-03-02 Thread Daniel Cunha
I'm able to build tomee + tests locally with Java 11: mvn clean install -Pquick Running now full: mvn clean install Em sáb, 2 de mar de 2019 às 04:25, Daniel Cunha escreveu: > Seems that we need dependencies update on mockito module. > I was getting java.lang.NoClassDefFoundError for JAXB class

Re: Building with Java 11

2019-03-01 Thread Daniel Cunha
Seems that we need dependencies update on mockito module. I was getting java.lang.NoClassDefFoundError for JAXB class and some error on Mockito API. Em sex, 1 de mar de 2019 às 18:30, Jonathan Gallimore < jonathan.gallim...@gmail.com> escreveu: > Definitely slow - same issue as master on the CI b

Re: Building with Java 11

2019-03-01 Thread Jonathan Gallimore
Definitely slow - same issue as master on the CI by the look of it. Jon On Fri, Mar 1, 2019 at 9:23 PM j4fm wrote: > Do you have any idea if you J11 branch build is slow vs normal just yet? > > > > -- > Sent from: > http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html >

Re: Building with Java 11

2019-03-01 Thread j4fm
Do you have any idea if you J11 branch build is slow vs normal just yet? -- Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html

Re: Building with Java 11

2019-03-01 Thread j4fm
Started a new thread for slowness... the warnings are out of memory. -- Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html

Re: Building with Java 11

2019-03-01 Thread j4fm
That makes sense, just didn't want to confuse the j11 branch test failures vs what could be causing the slowness. I'm seeing those same warnings now locally so I can try and dig deeper here. :) -- Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html

Re: Building with Java 11

2019-03-01 Thread Jonathan Gallimore
The build of the java11-experimentation branch (on Java 8) is running on a box here in my office. "Normally" a build of master on that box takes ~ 2 to 2.5 hours. The failures I listed are for that build. The build on the Apache CI is master. Recent builds on that node seem to be the same length o

Re: Building with Java 11

2019-03-01 Thread j4fm
The tests you copied out do not look like they failed on buildbot or locally. There are no failures so far and it's quite far along. It's appears to just be slow. -- Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html

Re: Building with Java 11

2019-03-01 Thread j4fm
PR409 was the merge that was first seen being slow. -- Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html

Re: Building with Java 11

2019-03-01 Thread Jonathan Gallimore
My Java 8 build is still running here. Its currently on the CDI TCK, and so far 4 reported test failures: [ERROR] run(org.apache.openejb.resource.activemq.ProperConnectionShutdownTest) Time elapsed: 3.295 s <<< FAILURE! org.superbiz.executor.ManagedScheduledServiceTest Time elapsed: 3.872 sec <<

Re: Building with Java 11

2019-03-01 Thread César Hernández Mendoza
Hi, the last build Jonathan started is still running after 3hrs. 30 min: https://ci.apache.org/builders/tomee-trunk-ubuntu-jvm8/builds/1048 Can some committer please trigger a build for master branch to compare and check James observation? El vie., 1 mar. 2019 a las 14:39, j4fm () escribió: > Th

Re: Building with Java 11

2019-03-01 Thread j4fm
Thanks Jon, so it wasn't frozen (impatient me) - just mid-test but running like someone stole it's ponies. Once it finishes I will check the stats, but did you see slowness happen before... could it be busy infra? -- Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html

Re: Building with Java 11

2019-03-01 Thread Jonathan Gallimore
If that's just for itests, I'd be inclined to try creating a profile to add that where the Java version is >8. What do you think? Jon On Fri, Mar 1, 2019 at 6:16 PM Otávio Gonçalves de Santana < osant...@tomitribe.com> wrote: > Hey guys > > I'm working to make the tests compatible with both Jav

Re: Building with Java 11

2019-03-01 Thread Jonathan Gallimore
Nice, thanks for looking at that! On Fri, 1 Mar 2019, 18:16 Otávio Gonçalves de Santana, < osant...@tomitribe.com> wrote: > Hey guys > > I'm working to make the tests compatible with both Java 8 and Java 11 > version. > > > Right now, I'm at the failover >

Re: Building with Java 11

2019-03-01 Thread Otávio Gonçalves de Santana
Hey guys I'm working to make the tests compatible with both Java 8 and Java 11 version. Right now, I'm at the failover project that has this issue: java.lang.IllegalAccessException: class org.apache.openejb.loader.BasicURLClassPath c

Re: Building with Java 11

2019-03-01 Thread Jonathan Gallimore
Killed of the builds and forced a new one. https://ci.apache.org/builders/tomee-trunk-ubuntu-jvm8/builds/1048 Jon On Fri, Mar 1, 2019 at 4:28 PM j4fm wrote: > Ah yeah that makes sense. > > It won't let me stop the current stuck build. Would you be able to? > > From the logs it looks like it su

Re: Building with Java 11

2019-03-01 Thread César Hernández Mendoza
> > I'll propose merging this to master and setting up a Java 11 > build to run alongside the Java 8. That should enable folks to look at test > issues on master. +1 , I'm also willing to help with test fixes related to Java 11. El vie., 1 mar. 2019 a las 10:28, j4fm () escribió: > Ah yeah that

Re: Building with Java 11

2019-03-01 Thread j4fm
Ah yeah that makes sense. It won't let me stop the current stuck build. Would you be able to? >From the logs it looks like it succeeds up until the point it's frozen... I'm not sure what's up with it. Have you seen it freeze like this before? Maybe it's an issue with the CI agent instead? -

Re: Building with Java 11

2019-03-01 Thread Jonathan Gallimore
On Fri, Mar 1, 2019 at 4:14 PM j4fm wrote: > I would be happy to pull your PR and build against JDK 11 before merging. > I > can start that build now. > Bigger concern is that builds against Java 8, and is green with Java 8. I think your recent changes make that more likely to succeed (thanks!).

Re: Building with Java 11

2019-03-01 Thread j4fm
I would be happy to pull your PR and build against JDK 11 before merging. I can start that build now. I see buildbot seems to have frozen. I think really my PR 419 should run before the current 409 because the former is mostly prep for the latter. If you are okay with it, I will click stop (if

Re: Building with Java 11

2019-03-01 Thread Jonathan Gallimore
I've cleaned up this branch so the dependencies should now be correct (and minimal). I'm currently running a Java 8 full build with tests. Assuming that works, I'll propose merging this to master and setting up a Java 11 build to run alongside the Java 8. That should enable folks to look at test is

Re: Building with Java 11

2019-03-01 Thread Jonathan Gallimore
Yeah... it'll take a few hours for those to run through. Thanks for the PRs and for keeping an eye out on the build, its much appreciated. Jon On Fri, Mar 1, 2019 at 3:00 PM j4fm wrote: > Thanks Jon. I'm keeping an eye on each run on buildbot. Maybe I should go > out for a while ;) > > > > --

Re: Building with Java 11

2019-03-01 Thread j4fm
Thanks Jon. I'm keeping an eye on each run on buildbot. Maybe I should go out for a while ;) -- Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html

Re: Building with Java 11

2019-03-01 Thread Jonathan Gallimore
418 is merged... looking at 424 now. Jon On Fri, Mar 1, 2019 at 1:53 PM j4fm wrote: > Thanks for the merges, hopefully will save time. Could I make a shameless > request for 418 too? (and 424 if poss) :D > > I'm going to keep a close eye on buildbot too, just in case. > > James > > > > -- > S

Re: Building with Java 11

2019-03-01 Thread j4fm
Thanks for the merges, hopefully will save time. Could I make a shameless request for 418 too? (and 424 if poss) :D I'm going to keep a close eye on buildbot too, just in case. James -- Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html

Re: Building with Java 11

2019-03-01 Thread Jonathan Gallimore
I've merged those 2 PRs in. Let's see what the actual diff is for my branch now. Jon On Fri, Mar 1, 2019 at 1:28 PM Otávio Gonçalves de Santana < osant...@tomitribe.com> wrote: > Hey JonG, > What do you think if you move this branch to the TomEE project? > > On Wed, Jan 9, 2019 at 10:40 AM Jean-

Re: Building with Java 11

2019-03-01 Thread Otávio Gonçalves de Santana
Hey JonG, What do you think if you move this branch to the TomEE project? On Wed, Jan 9, 2019 at 10:40 AM Jean-Louis Monteiro < jlmonte...@tomitribe.com> wrote: > Great job Jon. > I did some tests so, so we should be able to get something green hopefully > soon > -- > Jean-Louis Monteiro > http:/

Re: Building with Java 11

2019-03-01 Thread j4fm
For PR 419 and 409 all the full tests pass too. -- Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html

Re: Building with Java 11

2019-03-01 Thread j4fm
I already updated all the JAXB related artifacts to 2.3.1 which comes with CXF 3.3.0 too. I already added all the transitive dependency exclusions. Your extra ones could just be added on top of that. The work is in PR 419 which was already reviewed and approved. It would be great to have that m

Re: Building with Java 11

2019-03-01 Thread Daniel Cunha
Hi Jon, could not we move your branch to apache/tomee repository? What you guys think about it? Em qua, 9 de jan de 2019 às 09:40, Jean-Louis Monteiro < jlmonte...@tomitribe.com> escreveu: > Great job Jon. > I did some tests so, so we should be able to get something green hopefully > soon > -- >

Re: Building with Java 11

2019-01-09 Thread Jean-Louis Monteiro
Great job Jon. I did some tests so, so we should be able to get something green hopefully soon -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro http://www.tomitribe.com On Wed, Jan 9, 2019 at 1:17 PM Daniel Cunha wrote: > Hi Jon, > > fantastic! I'll take a look on it. > > Nice work! > >

Re: Building with Java 11

2019-01-09 Thread Daniel Cunha
Hi Jon, fantastic! I'll take a look on it. Nice work! Em ter, 8 de jan de 2019 às 13:26, Jonathan Gallimore < jonathan.gallim...@gmail.com> escreveu: > Its very much a work in progress, but I have been trying to get our build > to run on Java 11, with the full set of tests. I'm doing this in a

Building with Java 11

2019-01-08 Thread Jonathan Gallimore
Its very much a work in progress, but I have been trying to get our build to run on Java 11, with the full set of tests. I'm doing this in a branch which I have been keeping up to date with master as best as I can. My code is here: https://github.com/apache/tomee/pull/293, and broadly speaking, ad