Issue with TomEE 8 on Open JDK 11

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue with TomEE 8 on Open JDK 11

COURTAULT Francois

Hello everyone,

 

We deployed an application which uses JAXB on TomEE Plus 8.0.0 using openjdk 11 and have no issue.

 

Then I deployed the same application on TomEE Microprofile 8.0.0 using openjdk 11. In this case, the TomEE start failed.

I got:

java.lang.IllegalStateException: Error starting child

Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]

Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl

 

I think I have identified the issue: using TomEE Plus, I have in the lib folder: jakarta.activation-1.2.1.jar and jaxb-runtime-2.3.2.jar  so probably loaded by the same class loader and had no issue.

When I deployed the same application in TomEE mircroprofile, I have only in the lib folder:  jaxb-runtime-2.3.2.jar, the jakarta.activation-1.2.1.jar is missing.

The workaround I have found is to include in the WEB-INF/lib folder of my application:  jaxb-impl-2.3.2.jar (roughly same content  than jaxb-runtime-2.3.2.jar), activation-1.1.1.jar (same class loader ?)

 

Do you think that in the TomEE microprofile flavor, jakarta.activation-1.2.1.jar should be added in lib folder ?

Is it a bug ? if yes, do I have to submit a ticket for that ?

 

Best Regards.

 

 

François Courtault
SOFTWARE ARCHITECT
Tel.:
+33 4 42 36 66 06

Gemalto is now part of the Thales Group.
Please note that my new email address is
[hidden email]

 

THALES

Avenue du Jujubier La Vigie

Z.I. Athélia IV

13705 La Ciotat

www.thalesgroup.com

 

 

 

 


This message and any attachments are intended solely for the addressees and may contain confidential information. Any unauthorized use or disclosure, either whole or partial, is prohibited.
E-mails are susceptible to alteration. Our company shall not be liable for the message if altered, changed or falsified. If you are not the intended recipient of this message, please delete it and notify the sender.
Although all reasonable efforts have been made to keep this transmission free from viruses, the sender will not be liable for damages caused by a transmitted virus.
Reply | Threaded
Open this post in threaded view
|

Re: Issue with TomEE 8 on Open JDK 11

jgallimore
I believe its already been fixed. Could you try a recent snapshot?

Thanks

Jon

On Wed, Dec 4, 2019 at 3:14 PM COURTAULT Francois <
[hidden email]> wrote:

> Hello everyone,
>
>
>
> We deployed an application which uses JAXB on TomEE Plus 8.0.0 using
> openjdk 11 and have no issue.
>
>
>
> Then I deployed the same application on TomEE Microprofile 8.0.0 using
> openjdk 11. In this case, the TomEE start failed.
>
> I got:
>
> java.lang.IllegalStateException: Error starting child
> …
> Caused by: org.apache.catalina.LifecycleException: Failed to start
> component
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
> …
> Caused by: *java.lang.NoClassDefFoundError*: Could not initialize class
> *com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl*
>
>
>
> I think I have identified the issue: using TomEE Plus, I have in the lib
> folder: jakarta.activation-1.2.1.jar and jaxb-runtime-2.3.2.jar  so
> probably loaded by the same class loader and had no issue.
>
> When I deployed the same application in TomEE mircroprofile, I have only
> in the lib folder:  jaxb-runtime-2.3.2.jar, the
> jakarta.activation-1.2.1.jar is missing.
>
> The workaround I have found is to include in the WEB-INF/lib folder of my
> application:  jaxb-impl-2.3.2.jar (roughly same content  than
> jaxb-runtime-2.3.2.jar), activation-1.1.1.jar (same class loader ?)
>
>
>
> Do you think that in the TomEE microprofile flavor,
> jakarta.activation-1.2.1.jar should be added in lib folder ?
>
> Is it a bug ? if yes, do I have to submit a ticket for that ?
>
>
>
> Best Regards.
>
>
>
>
>
> [image: Thales]
>
> *François Courtault*
> *SOFTWARE ARCHITECT*
> Tel.: +33 4 42 36 66 06
>
> Gemalto is now part of the Thales Group.
> Please note that my new email address is
> [hidden email]
>
>
>
> *THALES*
>
> Avenue du Jujubier La Vigie
>
> Z.I. Athélia IV
>
> 13705 La Ciotat
>
> www.thalesgroup.com
>
> [image:
> http://intranet.peopleonline.corp.thales/portal/outlook/signature/ico_linkedin.png]
> <http://www.linkedin.com/company/thales>
>
> [image:
> http://intranet.peopleonline.corp.thales/portal/outlook/signature/ico_twitter.png]
> <https://twitter.com/thalesgroup>
>
> [image:
> http://intranet.peopleonline.corp.thales/portal/outlook/signature/ico_fb.png]
> <https://www.facebook.com/thalesgroup>
>
> [image:
> http://intranet.peopleonline.corp.thales/portal/outlook/signature/ico_youtube.png]
> <https://www.youtube.com/user/thethalesgroup>
>
>
>
>
>
>
>
>
> ------------------------------
> This message and any attachments are intended solely for the addressees
> and may contain confidential information. Any unauthorized use or
> disclosure, either whole or partial, is prohibited.
> E-mails are susceptible to alteration. Our company shall not be liable for
> the message if altered, changed or falsified. If you are not the intended
> recipient of this message, please delete it and notify the sender.
> Although all reasonable efforts have been made to keep this transmission
> free from viruses, the sender will not be liable for damages caused by a
> transmitted virus.
>
Reply | Threaded
Open this post in threaded view
|

RE: Issue with TomEE 8 on Open JDK 11

COURTAULT Francois
Hello Jonathan,

No. I didn't try with a recent snapshot. Could you provide me some details about how do you have fixed that, please ?
TomEE 8.0.1, close to be released  ?

Best Regards.

-----Original Message-----
From: Jonathan Gallimore [mailto:[hidden email]]
Sent: mercredi 4 décembre 2019 16:17
To: [hidden email]
Cc: [hidden email]
Subject: Re: Issue with TomEE 8 on Open JDK 11

I believe its already been fixed. Could you try a recent snapshot?

Thanks

Jon

On Wed, Dec 4, 2019 at 3:14 PM COURTAULT Francois < [hidden email]> wrote:

> Hello everyone,
>
>
>
> We deployed an application which uses JAXB on TomEE Plus 8.0.0 using
> openjdk 11 and have no issue.
>
>
>
> Then I deployed the same application on TomEE Microprofile 8.0.0 using
> openjdk 11. In this case, the TomEE start failed.
>
> I got:
>
> java.lang.IllegalStateException: Error starting child … Caused by:
> org.apache.catalina.LifecycleException: Failed to start component
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
> …
> Caused by: *java.lang.NoClassDefFoundError*: Could not initialize
> class
> *com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl*
>
>
>
> I think I have identified the issue: using TomEE Plus, I have in the
> lib
> folder: jakarta.activation-1.2.1.jar and jaxb-runtime-2.3.2.jar  so
> probably loaded by the same class loader and had no issue.
>
> When I deployed the same application in TomEE mircroprofile, I have
> only in the lib folder:  jaxb-runtime-2.3.2.jar, the
> jakarta.activation-1.2.1.jar is missing.
>
> The workaround I have found is to include in the WEB-INF/lib folder of
> my
> application:  jaxb-impl-2.3.2.jar (roughly same content  than
> jaxb-runtime-2.3.2.jar), activation-1.1.1.jar (same class loader ?)
>
>
>
> Do you think that in the TomEE microprofile flavor,
> jakarta.activation-1.2.1.jar should be added in lib folder ?
>
> Is it a bug ? if yes, do I have to submit a ticket for that ?
>
>
>
> Best Regards.
>
>
>
>
>
> [image: Thales]
>
> *François Courtault*
> *SOFTWARE ARCHITECT*
> Tel.: +33 4 42 36 66 06
>
> Gemalto is now part of the Thales Group.
> Please note that my new email address is
> [hidden email]
>
>
>
> *THALES*
>
> Avenue du Jujubier La Vigie
>
> Z.I. Athélia IV
>
> 13705 La Ciotat
>
> https://eur01.safelinks.protection.outlook.com/?url=www.thalesgroup.co
> m&amp;data=02%7C01%7CFrancois.COURTAULT%40gemalto.com%7C1af618068fda4f
> 15e3f908d778cd18dd%7C37d0a9db7c464096bfe31add5b495d6d%7C0%7C0%7C637110
> 694591649694&amp;sdata=cspsK3CGE6uqnULPToNhzPYteuFJ3KOTJX%2B8WofbCxQ%3
> D&amp;reserved=0
>
> [image:
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fintra
> net.peopleonline.corp.thales%2Fportal%2Foutlook%2Fsignature%2Fico_link
> edin.png&amp;data=02%7C01%7CFrancois.COURTAULT%40gemalto.com%7C1af6180
> 68fda4f15e3f908d778cd18dd%7C37d0a9db7c464096bfe31add5b495d6d%7C0%7C0%7
> C637110694591649694&amp;sdata=9ErmyVmF4xDackm8CKi5M4TpLTTV6KQym3mJc8x2
> cUI%3D&amp;reserved=0]
> <https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.
> linkedin.com%2Fcompany%2Fthales&amp;data=02%7C01%7CFrancois.COURTAULT%
> 40gemalto.com%7C1af618068fda4f15e3f908d778cd18dd%7C37d0a9db7c464096bfe
> 31add5b495d6d%7C0%7C0%7C637110694591659692&amp;sdata=KG4gw4PW6FeJhOqXi
> jQyM7IfS%2F2wHp79Jj%2Fk8UX6sXo%3D&amp;reserved=0>
>
> [image:
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fintra
> net.peopleonline.corp.thales%2Fportal%2Foutlook%2Fsignature%2Fico_twit
> ter.png&amp;data=02%7C01%7CFrancois.COURTAULT%40gemalto.com%7C1af61806
> 8fda4f15e3f908d778cd18dd%7C37d0a9db7c464096bfe31add5b495d6d%7C0%7C0%7C
> 637110694591659692&amp;sdata=NUoPrX61jkLiNPQiyPmTrFIxD%2FtzMaAoDIP5bA5
> PruI%3D&amp;reserved=0]
> <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwi
> tter.com%2Fthalesgroup&amp;data=02%7C01%7CFrancois.COURTAULT%40gemalto
> .com%7C1af618068fda4f15e3f908d778cd18dd%7C37d0a9db7c464096bfe31add5b49
> 5d6d%7C0%7C0%7C637110694591659692&amp;sdata=QEgwfBDpPFDtXjPKd0enzDkAq1
> V9dESwFQJyZUGxHdE%3D&amp;reserved=0>
>
> [image:
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fintra
> net.peopleonline.corp.thales%2Fportal%2Foutlook%2Fsignature%2Fico_fb.p
> ng&amp;data=02%7C01%7CFrancois.COURTAULT%40gemalto.com%7C1af618068fda4
> f15e3f908d778cd18dd%7C37d0a9db7c464096bfe31add5b495d6d%7C0%7C0%7C63711
> 0694591659692&amp;sdata=QV0irphZ5lp07eLchq9QZMwL8l9fheclSXsEbvfehCw%3D
> &amp;reserved=0]
> <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww
> .facebook.com%2Fthalesgroup&amp;data=02%7C01%7CFrancois.COURTAULT%40ge
> malto.com%7C1af618068fda4f15e3f908d778cd18dd%7C37d0a9db7c464096bfe31ad
> d5b495d6d%7C0%7C0%7C637110694591659692&amp;sdata=OW0DgqecKUcm7kUbtJsfV
> vtUflvwK3sf6I7rdT018JQ%3D&amp;reserved=0>
>
> [image:
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fintra
> net.peopleonline.corp.thales%2Fportal%2Foutlook%2Fsignature%2Fico_yout
> ube.png&amp;data=02%7C01%7CFrancois.COURTAULT%40gemalto.com%7C1af61806
> 8fda4f15e3f908d778cd18dd%7C37d0a9db7c464096bfe31add5b495d6d%7C0%7C0%7C
> 637110694591659692&amp;sdata=9tI2qWyUpjlWT4n4DemdIMEB2lVDqLvP2ReLcecsd
> 3A%3D&amp;reserved=0]
> <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww
> .youtube.com%2Fuser%2Fthethalesgroup&amp;data=02%7C01%7CFrancois.COURT
> AULT%40gemalto.com%7C1af618068fda4f15e3f908d778cd18dd%7C37d0a9db7c4640
> 96bfe31add5b495d6d%7C0%7C0%7C637110694591659692&amp;sdata=E4br%2FpLEQX
> 5CmqBVrGLpzuZqj1vF8I%2F87RjUfjVD%2Bpg%3D&amp;reserved=0>
>
>
>
>
>
>
>
>
> ------------------------------
> This message and any attachments are intended solely for the
> addressees and may contain confidential information. Any unauthorized
> use or disclosure, either whole or partial, is prohibited.
> E-mails are susceptible to alteration. Our company shall not be liable
> for the message if altered, changed or falsified. If you are not the
> intended recipient of this message, please delete it and notify the sender.
> Although all reasonable efforts have been made to keep this
> transmission free from viruses, the sender will not be liable for
> damages caused by a transmitted virus.
>
________________________________
 This message and any attachments are intended solely for the addressees and may contain confidential information. Any unauthorized use or disclosure, either whole or partial, is prohibited.
E-mails are susceptible to alteration. Our company shall not be liable for the message if altered, changed or falsified. If you are not the intended recipient of this message, please delete it and notify the sender.
Although all reasonable efforts have been made to keep this transmission free from viruses, the sender will not be liable for damages caused by a transmitted virus.
Reply | Threaded
Open this post in threaded view
|

RE: Issue with TomEE 8 on Open JDK 11

COURTAULT Francois
Hello Jonathan,

Tried with the TomEE microprofile 8.0.1 December, the 3rd snapshot and it works !!!!
Good job :-)

Best Regards.

-----Original Message-----
From: Jonathan Gallimore [mailto:[hidden email]]
Sent: mercredi 4 décembre 2019 16:31
To: [hidden email]
Cc: [hidden email]
Subject: Re: Issue with TomEE 8 on Open JDK 11

This was the fix: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Ftomee%2Fpull%2F610&amp;data=02%7C01%7CFrancois.COURTAULT%40gemalto.com%7Cb26d4f16b48849400b2f08d778cf0759%7C37d0a9db7c464096bfe31add5b495d6d%7C0%7C0%7C637110702882103846&amp;sdata=iRnRAOElU0tnDgvifPy7t8xjjebcyG6uXZvr2uTfU7A%3D&amp;reserved=0

I published snapshots here:
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Fgroups%2Fsnapshots%2Forg%2Fapache%2Ftomee%2Fapache-tomee%2F8.0.1-SNAPSHOT%2F&amp;data=02%7C01%7CFrancois.COURTAULT%40gemalto.com%7Cb26d4f16b48849400b2f08d778cf0759%7C37d0a9db7c464096bfe31add5b495d6d%7C0%7C0%7C637110702882113841&amp;sdata=9l6y%2BWj6b56nvH02ZpzZJX2JGpD2q6bFUKFP3TjMe%2Bk%3D&amp;reserved=0
yesterday
(check the file dates for 3rd December 2019). If you could pick one of those up and verify, that would be amazing.

Release-wise - I think we're overdue. I'll try and carve out some time to get those up for a vote.

Jon

On Wed, Dec 4, 2019 at 3:24 PM COURTAULT Francois < [hidden email]> wrote:

> Hello Jonathan,
>
> No. I didn't try with a recent snapshot. Could you provide me some
> details about how do you have fixed that, please ?
> TomEE 8.0.1, close to be released  ?
>
> Best Regards.
>
> -----Original Message-----
> From: Jonathan Gallimore [mailto:[hidden email]]
> Sent: mercredi 4 décembre 2019 16:17
> To: [hidden email]
> Cc: [hidden email]
> Subject: Re: Issue with TomEE 8 on Open JDK 11
>
> I believe its already been fixed. Could you try a recent snapshot?
>
> Thanks
>
> Jon
>
> On Wed, Dec 4, 2019 at 3:14 PM COURTAULT Francois <
> [hidden email]> wrote:
>
> > Hello everyone,
> >
> >
> >
> > We deployed an application which uses JAXB on TomEE Plus 8.0.0 using
> > openjdk 11 and have no issue.
> >
> >
> >
> > Then I deployed the same application on TomEE Microprofile 8.0.0
> > using openjdk 11. In this case, the TomEE start failed.
> >
> > I got:
> >
> > java.lang.IllegalStateException: Error starting child … Caused by:
> > org.apache.catalina.LifecycleException: Failed to start component
> > [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
> > …
> > Caused by: *java.lang.NoClassDefFoundError*: Could not initialize
> > class
> > *com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl*
> >
> >
> >
> > I think I have identified the issue: using TomEE Plus, I have in the
> > lib
> > folder: jakarta.activation-1.2.1.jar and jaxb-runtime-2.3.2.jar  so
> > probably loaded by the same class loader and had no issue.
> >
> > When I deployed the same application in TomEE mircroprofile, I have
> > only in the lib folder:  jaxb-runtime-2.3.2.jar, the
> > jakarta.activation-1.2.1.jar is missing.
> >
> > The workaround I have found is to include in the WEB-INF/lib folder
> > of my
> > application:  jaxb-impl-2.3.2.jar (roughly same content  than
> > jaxb-runtime-2.3.2.jar), activation-1.1.1.jar (same class loader ?)
> >
> >
> >
> > Do you think that in the TomEE microprofile flavor,
> > jakarta.activation-1.2.1.jar should be added in lib folder ?
> >
> > Is it a bug ? if yes, do I have to submit a ticket for that ?
> >
> >
> >
> > Best Regards.
> >
> >
> >
> >
> >
> > [image: Thales]
> >
> > *François Courtault*
> > *SOFTWARE ARCHITECT*
> > Tel.: +33 4 42 36 66 06
> >
> > Gemalto is now part of the Thales Group.
> > Please note that my new email address is
> > [hidden email]
> >
> >
> >
> > *THALES*
> >
> > Avenue du Jujubier La Vigie
> >
> > Z.I. Athélia IV
> >
> > 13705 La Ciotat
> >
> > https://eur01.safelinks.protection.outlook.com/?url=www.thalesgroup.
> > co
> > m&amp;data=02%7C01%7CFrancois.COURTAULT%40gemalto.com%7C1af618068fda
> > 4f
> > 15e3f908d778cd18dd%7C37d0a9db7c464096bfe31add5b495d6d%7C0%7C0%7C6371
> > 10
> > 694591649694&amp;sdata=cspsK3CGE6uqnULPToNhzPYteuFJ3KOTJX%2B8WofbCxQ
> > %3
> > D&amp;reserved=0
> >
> > [image:
> > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fint
> > ra
> > net.peopleonline.corp.thales%2Fportal%2Foutlook%2Fsignature%2Fico_li
> > nk
> > edin.png&amp;data=02%7C01%7CFrancois.COURTAULT%40gemalto.com%7C1af61
> > 80
> > 68fda4f15e3f908d778cd18dd%7C37d0a9db7c464096bfe31add5b495d6d%7C0%7C0
> > %7
> > C637110694591649694&amp;sdata=9ErmyVmF4xDackm8CKi5M4TpLTTV6KQym3mJc8
> > x2
> > cUI%3D&amp;reserved=0]
> > <https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.
> > linkedin.com%2Fcompany%2Fthales&amp;data=02%7C01%7CFrancois.COURTAUL
> > T%
> > 40gemalto.com%7C1af618068fda4f15e3f908d778cd18dd%7C37d0a9db7c464096b
> > fe
> > 31add5b495d6d%7C0%7C0%7C637110694591659692&amp;sdata=KG4gw4PW6FeJhOq
> > Xi jQyM7IfS%2F2wHp79Jj%2Fk8UX6sXo%3D&amp;reserved=0>
> >
> > [image:
> > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fint
> > ra
> > net.peopleonline.corp.thales%2Fportal%2Foutlook%2Fsignature%2Fico_tw
> > it
> > ter.png&amp;data=02%7C01%7CFrancois.COURTAULT%40gemalto.com%7C1af618
> > 06
> > 8fda4f15e3f908d778cd18dd%7C37d0a9db7c464096bfe31add5b495d6d%7C0%7C0%
> > 7C
> > 637110694591659692&amp;sdata=NUoPrX61jkLiNPQiyPmTrFIxD%2FtzMaAoDIP5b
> > A5
> > PruI%3D&amp;reserved=0]
> > <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ft
> > wi
> > tter.com%2Fthalesgroup&amp;data=02%7C01%7CFrancois.COURTAULT%40gemal
> > to
> > .com%7C1af618068fda4f15e3f908d778cd18dd%7C37d0a9db7c464096bfe31add5b
> > 49
> > 5d6d%7C0%7C0%7C637110694591659692&amp;sdata=QEgwfBDpPFDtXjPKd0enzDkA
> > q1 V9dESwFQJyZUGxHdE%3D&amp;reserved=0>
> >
> > [image:
> > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fint
> > ra
> > net.peopleonline.corp.thales%2Fportal%2Foutlook%2Fsignature%2Fico_fb
> > .p
> > ng&amp;data=02%7C01%7CFrancois.COURTAULT%40gemalto.com%7C1af618068fd
> > a4
> > f15e3f908d778cd18dd%7C37d0a9db7c464096bfe31add5b495d6d%7C0%7C0%7C637
> > 11
> > 0694591659692&amp;sdata=QV0irphZ5lp07eLchq9QZMwL8l9fheclSXsEbvfehCw%
> > 3D
> > &amp;reserved=0]
> > <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fw
> > ww
> > .facebook.com%2Fthalesgroup&amp;data=02%7C01%7CFrancois.COURTAULT%40
> > ge
> > malto.com%7C1af618068fda4f15e3f908d778cd18dd%7C37d0a9db7c464096bfe31
> > ad
> > d5b495d6d%7C0%7C0%7C637110694591659692&amp;sdata=OW0DgqecKUcm7kUbtJs
> > fV vtUflvwK3sf6I7rdT018JQ%3D&amp;reserved=0>
> >
> > [image:
> > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fint
> > ra
> > net.peopleonline.corp.thales%2Fportal%2Foutlook%2Fsignature%2Fico_yo
> > ut
> > ube.png&amp;data=02%7C01%7CFrancois.COURTAULT%40gemalto.com%7C1af618
> > 06
> > 8fda4f15e3f908d778cd18dd%7C37d0a9db7c464096bfe31add5b495d6d%7C0%7C0%
> > 7C
> > 637110694591659692&amp;sdata=9tI2qWyUpjlWT4n4DemdIMEB2lVDqLvP2ReLcec
> > sd
> > 3A%3D&amp;reserved=0]
> > <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fw
> > ww
> > .youtube.com%2Fuser%2Fthethalesgroup&amp;data=02%7C01%7CFrancois.COU
> > RT
> > AULT%40gemalto.com%7C1af618068fda4f15e3f908d778cd18dd%7C37d0a9db7c46
> > 40
> > 96bfe31add5b495d6d%7C0%7C0%7C637110694591659692&amp;sdata=E4br%2FpLE
> > QX 5CmqBVrGLpzuZqj1vF8I%2F87RjUfjVD%2Bpg%3D&amp;reserved=0>
> >
> >
> >
> >
> >
> >
> >
> >
> > ------------------------------
> > This message and any attachments are intended solely for the
> > addressees and may contain confidential information. Any
> > unauthorized use or disclosure, either whole or partial, is prohibited.
> > E-mails are susceptible to alteration. Our company shall not be
> > liable for the message if altered, changed or falsified. If you are
> > not the intended recipient of this message, please delete it and
> > notify the
> sender.
> > Although all reasonable efforts have been made to keep this
> > transmission free from viruses, the sender will not be liable for
> > damages caused by a transmitted virus.
> >
> ________________________________
>  This message and any attachments are intended solely for the
> addressees and may contain confidential information. Any unauthorized
> use or disclosure, either whole or partial, is prohibited.
> E-mails are susceptible to alteration. Our company shall not be liable
> for the message if altered, changed or falsified. If you are not the
> intended recipient of this message, please delete it and notify the sender.
> Although all reasonable efforts have been made to keep this
> transmission free from viruses, the sender will not be liable for
> damages caused by a transmitted virus.
>
________________________________
 This message and any attachments are intended solely for the addressees and may contain confidential information. Any unauthorized use or disclosure, either whole or partial, is prohibited.
E-mails are susceptible to alteration. Our company shall not be liable for the message if altered, changed or falsified. If you are not the intended recipient of this message, please delete it and notify the sender.
Although all reasonable efforts have been made to keep this transmission free from viruses, the sender will not be liable for damages caused by a transmitted virus.
Reply | Threaded
Open this post in threaded view
|

Re: Issue with TomEE 8 on Open JDK 11

jgallimore
Woohoo!

Thanks for the follow up. I'll post about kicking off some releases as soon
as I can.

Jon

On Wed, Dec 4, 2019 at 4:25 PM COURTAULT Francois <
[hidden email]> wrote:

> Hello Jonathan,
>
> Tried with the TomEE microprofile 8.0.1 December, the 3rd snapshot and it
> works !!!!
> Good job :-)
>
> Best Regards.
>
> -----Original Message-----
> From: Jonathan Gallimore [mailto:[hidden email]]
> Sent: mercredi 4 décembre 2019 16:31
> To: [hidden email]
> Cc: [hidden email]
> Subject: Re: Issue with TomEE 8 on Open JDK 11
>
> This was the fix:
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Ftomee%2Fpull%2F610&amp;data=02%7C01%7CFrancois.COURTAULT%40gemalto.com%7Cb26d4f16b48849400b2f08d778cf0759%7C37d0a9db7c464096bfe31add5b495d6d%7C0%7C0%7C637110702882103846&amp;sdata=iRnRAOElU0tnDgvifPy7t8xjjebcyG6uXZvr2uTfU7A%3D&amp;reserved=0
>
> I published snapshots here:
>
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepository.apache.org%2Fcontent%2Fgroups%2Fsnapshots%2Forg%2Fapache%2Ftomee%2Fapache-tomee%2F8.0.1-SNAPSHOT%2F&amp;data=02%7C01%7CFrancois.COURTAULT%40gemalto.com%7Cb26d4f16b48849400b2f08d778cf0759%7C37d0a9db7c464096bfe31add5b495d6d%7C0%7C0%7C637110702882113841&amp;sdata=9l6y%2BWj6b56nvH02ZpzZJX2JGpD2q6bFUKFP3TjMe%2Bk%3D&amp;reserved=0
> yesterday
> (check the file dates for 3rd December 2019). If you could pick one of
> those up and verify, that would be amazing.
>
> Release-wise - I think we're overdue. I'll try and carve out some time to
> get those up for a vote.
>
> Jon
>
> On Wed, Dec 4, 2019 at 3:24 PM COURTAULT Francois <
> [hidden email]> wrote:
>
> > Hello Jonathan,
> >
> > No. I didn't try with a recent snapshot. Could you provide me some
> > details about how do you have fixed that, please ?
> > TomEE 8.0.1, close to be released  ?
> >
> > Best Regards.
> >
> > -----Original Message-----
> > From: Jonathan Gallimore [mailto:[hidden email]]
> > Sent: mercredi 4 décembre 2019 16:17
> > To: [hidden email]
> > Cc: [hidden email]
> > Subject: Re: Issue with TomEE 8 on Open JDK 11
> >
> > I believe its already been fixed. Could you try a recent snapshot?
> >
> > Thanks
> >
> > Jon
> >
> > On Wed, Dec 4, 2019 at 3:14 PM COURTAULT Francois <
> > [hidden email]> wrote:
> >
> > > Hello everyone,
> > >
> > >
> > >
> > > We deployed an application which uses JAXB on TomEE Plus 8.0.0 using
> > > openjdk 11 and have no issue.
> > >
> > >
> > >
> > > Then I deployed the same application on TomEE Microprofile 8.0.0
> > > using openjdk 11. In this case, the TomEE start failed.
> > >
> > > I got:
> > >
> > > java.lang.IllegalStateException: Error starting child … Caused by:
> > > org.apache.catalina.LifecycleException: Failed to start component
> > > [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
> > > …
> > > Caused by: *java.lang.NoClassDefFoundError*: Could not initialize
> > > class
> > > *com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl*
> > >
> > >
> > >
> > > I think I have identified the issue: using TomEE Plus, I have in the
> > > lib
> > > folder: jakarta.activation-1.2.1.jar and jaxb-runtime-2.3.2.jar  so
> > > probably loaded by the same class loader and had no issue.
> > >
> > > When I deployed the same application in TomEE mircroprofile, I have
> > > only in the lib folder:  jaxb-runtime-2.3.2.jar, the
> > > jakarta.activation-1.2.1.jar is missing.
> > >
> > > The workaround I have found is to include in the WEB-INF/lib folder
> > > of my
> > > application:  jaxb-impl-2.3.2.jar (roughly same content  than
> > > jaxb-runtime-2.3.2.jar), activation-1.1.1.jar (same class loader ?)
> > >
> > >
> > >
> > > Do you think that in the TomEE microprofile flavor,
> > > jakarta.activation-1.2.1.jar should be added in lib folder ?
> > >
> > > Is it a bug ? if yes, do I have to submit a ticket for that ?
> > >
> > >
> > >
> > > Best Regards.
> > >
> > >
> > >
> > >
> > >
> > > [image: Thales]
> > >
> > > *François Courtault*
> > > *SOFTWARE ARCHITECT*
> > > Tel.: +33 4 42 36 66 06
> > >
> > > Gemalto is now part of the Thales Group.
> > > Please note that my new email address is
> > > [hidden email]
> > >
> > >
> > >
> > > *THALES*
> > >
> > > Avenue du Jujubier La Vigie
> > >
> > > Z.I. Athélia IV
> > >
> > > 13705 La Ciotat
> > >
> > > https://eur01.safelinks.protection.outlook.com/?url=www.thalesgroup.
> > > co
> > > m&amp;data=02%7C01%7CFrancois.COURTAULT%40gemalto.com%7C1af618068fda
> > > 4f
> > > 15e3f908d778cd18dd%7C37d0a9db7c464096bfe31add5b495d6d%7C0%7C0%7C6371
> > > 10
> > > 694591649694&amp;sdata=cspsK3CGE6uqnULPToNhzPYteuFJ3KOTJX%2B8WofbCxQ
> > > %3
> > > D&amp;reserved=0
> > >
> > > [image:
> > > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fint
> > > ra
> > > net.peopleonline.corp.thales%2Fportal%2Foutlook%2Fsignature%2Fico_li
> > > nk
> > > edin.png&amp;data=02%7C01%7CFrancois.COURTAULT%40gemalto.com%7C1af61
> > > 80
> > > 68fda4f15e3f908d778cd18dd%7C37d0a9db7c464096bfe31add5b495d6d%7C0%7C0
> > > %7
> > > C637110694591649694&amp;sdata=9ErmyVmF4xDackm8CKi5M4TpLTTV6KQym3mJc8
> > > x2
> > > cUI%3D&amp;reserved=0]
> > > <https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.
> > > linkedin.com%2Fcompany%2Fthales&amp;data=02%7C01%7CFrancois.COURTAUL
> > > T%
> > > 40gemalto.com%7C1af618068fda4f15e3f908d778cd18dd%7C37d0a9db7c464096b
> > > fe
> > > 31add5b495d6d%7C0%7C0%7C637110694591659692&amp;sdata=KG4gw4PW6FeJhOq
> > > Xi jQyM7IfS%2F2wHp79Jj%2Fk8UX6sXo%3D&amp;reserved=0>
> > >
> > > [image:
> > > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fint
> > > ra
> > > net.peopleonline.corp.thales%2Fportal%2Foutlook%2Fsignature%2Fico_tw
> > > it
> > > ter.png&amp;data=02%7C01%7CFrancois.COURTAULT%40gemalto.com%7C1af618
> > > 06
> > > 8fda4f15e3f908d778cd18dd%7C37d0a9db7c464096bfe31add5b495d6d%7C0%7C0%
> > > 7C
> > > 637110694591659692&amp;sdata=NUoPrX61jkLiNPQiyPmTrFIxD%2FtzMaAoDIP5b
> > > A5
> > > PruI%3D&amp;reserved=0]
> > > <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ft
> > > wi
> > > tter.com%2Fthalesgroup&amp;data=02%7C01%7CFrancois.COURTAULT%40gemal
> > > to
> > > .com%7C1af618068fda4f15e3f908d778cd18dd%7C37d0a9db7c464096bfe31add5b
> > > 49
> > > 5d6d%7C0%7C0%7C637110694591659692&amp;sdata=QEgwfBDpPFDtXjPKd0enzDkA
> > > q1 V9dESwFQJyZUGxHdE%3D&amp;reserved=0>
> > >
> > > [image:
> > > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fint
> > > ra
> > > net.peopleonline.corp.thales%2Fportal%2Foutlook%2Fsignature%2Fico_fb
> > > .p
> > > ng&amp;data=02%7C01%7CFrancois.COURTAULT%40gemalto.com%7C1af618068fd
> > > a4
> > > f15e3f908d778cd18dd%7C37d0a9db7c464096bfe31add5b495d6d%7C0%7C0%7C637
> > > 11
> > > 0694591659692&amp;sdata=QV0irphZ5lp07eLchq9QZMwL8l9fheclSXsEbvfehCw%
> > > 3D
> > > &amp;reserved=0]
> > > <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fw
> > > ww
> > > .facebook.com%2Fthalesgroup&amp;data=02%7C01%7CFrancois.COURTAULT%40
> > > ge
> > > malto.com%7C1af618068fda4f15e3f908d778cd18dd%7C37d0a9db7c464096bfe31
> > > ad
> > > d5b495d6d%7C0%7C0%7C637110694591659692&amp;sdata=OW0DgqecKUcm7kUbtJs
> > > fV vtUflvwK3sf6I7rdT018JQ%3D&amp;reserved=0>
> > >
> > > [image:
> > > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fint
> > > ra
> > > net.peopleonline.corp.thales%2Fportal%2Foutlook%2Fsignature%2Fico_yo
> > > ut
> > > ube.png&amp;data=02%7C01%7CFrancois.COURTAULT%40gemalto.com%7C1af618
> > > 06
> > > 8fda4f15e3f908d778cd18dd%7C37d0a9db7c464096bfe31add5b495d6d%7C0%7C0%
> > > 7C
> > > 637110694591659692&amp;sdata=9tI2qWyUpjlWT4n4DemdIMEB2lVDqLvP2ReLcec
> > > sd
> > > 3A%3D&amp;reserved=0]
> > > <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fw
> > > ww
> > > .youtube.com%2Fuser%2Fthethalesgroup&amp;data=02%7C01%7CFrancois.COU
> > > RT
> > > AULT%40gemalto.com%7C1af618068fda4f15e3f908d778cd18dd%7C37d0a9db7c46
> > > 40
> > > 96bfe31add5b495d6d%7C0%7C0%7C637110694591659692&amp;sdata=E4br%2FpLE
> > > QX 5CmqBVrGLpzuZqj1vF8I%2F87RjUfjVD%2Bpg%3D&amp;reserved=0>
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > ------------------------------
> > > This message and any attachments are intended solely for the
> > > addressees and may contain confidential information. Any
> > > unauthorized use or disclosure, either whole or partial, is prohibited.
> > > E-mails are susceptible to alteration. Our company shall not be
> > > liable for the message if altered, changed or falsified. If you are
> > > not the intended recipient of this message, please delete it and
> > > notify the
> > sender.
> > > Although all reasonable efforts have been made to keep this
> > > transmission free from viruses, the sender will not be liable for
> > > damages caused by a transmitted virus.
> > >
> > ________________________________
> >  This message and any attachments are intended solely for the
> > addressees and may contain confidential information. Any unauthorized
> > use or disclosure, either whole or partial, is prohibited.
> > E-mails are susceptible to alteration. Our company shall not be liable
> > for the message if altered, changed or falsified. If you are not the
> > intended recipient of this message, please delete it and notify the
> sender.
> > Although all reasonable efforts have been made to keep this
> > transmission free from viruses, the sender will not be liable for
> > damages caused by a transmitted virus.
> >
> ________________________________
>  This message and any attachments are intended solely for the addressees
> and may contain confidential information. Any unauthorized use or
> disclosure, either whole or partial, is prohibited.
> E-mails are susceptible to alteration. Our company shall not be liable for
> the message if altered, changed or falsified. If you are not the intended
> recipient of this message, please delete it and notify the sender.
> Although all reasonable efforts have been made to keep this transmission
> free from viruses, the sender will not be liable for damages caused by a
> transmitted virus.
>