You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Jean-Louis Monteiro <jl...@tomitribe.com> on 2020/11/16 23:40:44 UTC

TCK work on Jakarta EE 8 and Jakarta EE 9

Hi community,

Alongside with the Jakarta EE 9 work I've been doing, I tried to look at
TomEE coverage for EE 8 and EE 9. They are quite close in terms of scope.
The only difference is pretty much only the namespace change from javax to
jakarta.

I looked into our EE 9 coverage with our TomEE 9 milestone and we are quite
far in terms of coverage.

I pushed some setup changes in the dedicated
https://github.com/apache/tomee-tck/tree/jakartaee9-tck branch to bring the
coverage near EE 8 coverage with TomEE (aka around 90+ %)

The big gaps were as far as I can see around jaspic, securityapi and jta.

1/ JASPIC
It's about authentication for containers. We don't have much but setup
because we rely on Tomcat's implementation.
We are having some issues with the setup because of the way TCK is built
for jaspic. I've been able to workaround some, but I also got hit by TCK
issues.
See TomEE tickets

https://issues.apache.org/jira/browse/TOMEE-2923
https://issues.apache.org/jira/browse/TOMEE-2924
https://issues.apache.org/jira/browse/TOMEE-2925

2/ Security API
This is about authorization and stores.
This time implementation is all in TomEE (see tomee-security module). I'll
try to send another email with a walk through. It's been mostly implemented
in a quick and dirty mode but it needs tests and hardening before we can
call it done. With that we can cover nearly 100% coverage of TCK.
But, because there is a bug, we have random failures due to the way TCK is
built. I'll create a new ticket shortly to describe the issue.

3/ JTA
We used to be covering 100% but we are down to 70% because of the addition
of @Transactional CDI tests. I again looked into our implementation and the
tests and found again issues with the TCK

See ticket https://issues.apache.org/jira/browse/TOMEE-2921

I'll continue to dig into the other areas.
Especially everything related to Tomcat should be closer to 100% than it is
today (JSTL, JSP, Servlet and WebSockets).

If you want to help and look at them, that'd be great.
Basically follow the steps to run the TCK locally as described here
https://github.com/apache/tomee-tck

and run

com.sun.ts.tests.jstl
com.sun.ts.tests.jsp
com.sun.ts.tests.servlet
com.sun.ts.tests.websocket

Then go ahead and investigate. Feel free to create a ticket or at least
shoot something in the mailing list so we don't duplicate the efforts.

Hope it helps
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com

Re: TCK work on Jakarta EE 8 and Jakarta EE 9

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Moving on ...
I think I ended up fixing the JDBC tests which crossing fingers should get
us to the finish line (100% on this one too).

I'll start working on JPA and see what I can do there.

--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Tue, Nov 24, 2020 at 4:35 PM Jean-Louis Monteiro <
jlmonteiro@tomitribe.com> wrote:

> Hi all,
>
> Quick update ...
>
> JSONP: did some hacking on Johnzon. We are now at 100% coverage with the
> 1.2.9-SNAPSHOT. We'll need to release but we are good.
> https://github.com/apache/johnzon/pull/68
>
> Had to fix a couple of issues in TomEE after upgrade. See
> https://github.com/apache/tomee/commit/63fd587f6682b9a16ac7717a5b9926111c817186
>
> Quick note mainly for you Jon, while I was working on it, I added a fix
> for JAX-RS. It should fix a dozen of tests. See
> https://github.com/apache/tomee/commit/63fd587f6682b9a16ac7717a5b9926111c817186#diff-6566ce0f0b27a68c7a2c111f47a7ee24f3dc1bd05366ba266d5fb85cc68da4c5R35
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Wed, Nov 18, 2020 at 12:08 PM Jonathan Gallimore <
> jonathan.gallimore@gmail.com> wrote:
>
>> Thanks Jean-Louis. I'll take a look at JAX-RS.
>>
>> Jon
>>
>> On Wed, Nov 18, 2020 at 10:58 AM Jean-Louis Monteiro <
>> jlmonteiro@tomitribe.com> wrote:
>>
>> > Also, I'm currently working on the EJB32 tests with the hope I can
>> bring it
>> > to 100% coverage by the end of this week.
>> >
>> > If you guys want to look into something.
>> > JSONP has some failures and JAXRS might have some good quick wins to get
>> > in.
>> >
>> >
>> > --
>> > Jean-Louis Monteiro
>> > http://twitter.com/jlouismonteiro
>> > http://www.tomitribe.com
>> >
>> >
>> > On Wed, Nov 18, 2020 at 11:51 AM Jean-Louis Monteiro <
>> > jlmonteiro@tomitribe.com> wrote:
>> >
>> > > Until we hear back from TCK challenges and Jakarta spec leads, I went
>> and
>> > > created 2 hacks to move us forward.
>> > > They should either be deleted when TCK is fixed, or we should add
>> > excludes
>> > > if challenges are validated on the TCK side of things.
>> > >
>> > > Meanwhile here are the 2 hacks
>> > >
>> > >
>> > >
>> >
>> https://github.com/apache/tomee-tck/blob/master/src/main/java/org/apache/openejb/cts/CallbackHandlerImpl.java
>> > >
>> > >
>> >
>> https://github.com/apache/tomee-tck/blob/master/src/main/java/org/apache/openejb/cts/TransactionalWorkaroundLeakGuardValve.java
>> > >
>> > > Disclaimer lol
>> > > Not happy about it, but wanted to see if we could keep going with
>> other
>> > > tests until we hear back.
>> > >
>> > >
>> > >
>> > > --
>> > > Jean-Louis Monteiro
>> > > http://twitter.com/jlouismonteiro
>> > > http://www.tomitribe.com
>> > >
>> > >
>> > > On Tue, Nov 17, 2020 at 4:01 AM Daniel Dias Dos Santos <
>> > > daniel.dias.analistati@gmail.com> wrote:
>> > >
>> > >> very good : )
>> > >> --
>> > >>
>> > >> *Daniel Dias dos Santos*
>> > >> Java Developer
>> > >> SouJava & JCP Member
>> > >> GitHub: https://github.com/Daniel-Dos
>> > >> Linkedin: www.linkedin.com/in/danieldiasjava
>> > >> Twitter: http://twitter.com/danieldiasjava
>> > >>
>> > >>
>> > >> Em seg., 16 de nov. de 2020 às 23:43, David Jencks <
>> > >> david.a.jencks@gmail.com>
>> > >> escreveu:
>> > >>
>> > >> > Great work!
>> > >> >
>> > >> > It’s really nice we don’t have to hide it!
>> > >> >
>> > >> > David Jencks
>> > >> >
>> > >> > > On Nov 16, 2020, at 3:40 PM, Jean-Louis Monteiro <
>> > >> > jlmonteiro@tomitribe.com> wrote:
>> > >> > >
>> > >> > > Hi community,
>> > >> > >
>> > >> > > Alongside with the Jakarta EE 9 work I've been doing, I tried to
>> > look
>> > >> at
>> > >> > > TomEE coverage for EE 8 and EE 9. They are quite close in terms
>> of
>> > >> scope.
>> > >> > > The only difference is pretty much only the namespace change from
>> > >> javax
>> > >> > to
>> > >> > > jakarta.
>> > >> > >
>> > >> > > I looked into our EE 9 coverage with our TomEE 9 milestone and we
>> > are
>> > >> > quite
>> > >> > > far in terms of coverage.
>> > >> > >
>> > >> > > I pushed some setup changes in the dedicated
>> > >> > > https://github.com/apache/tomee-tck/tree/jakartaee9-tck branch
>> to
>> > >> bring
>> > >> > the
>> > >> > > coverage near EE 8 coverage with TomEE (aka around 90+ %)
>> > >> > >
>> > >> > > The big gaps were as far as I can see around jaspic, securityapi
>> and
>> > >> jta.
>> > >> > >
>> > >> > > 1/ JASPIC
>> > >> > > It's about authentication for containers. We don't have much but
>> > setup
>> > >> > > because we rely on Tomcat's implementation.
>> > >> > > We are having some issues with the setup because of the way TCK
>> is
>> > >> built
>> > >> > > for jaspic. I've been able to workaround some, but I also got
>> hit by
>> > >> TCK
>> > >> > > issues.
>> > >> > > See TomEE tickets
>> > >> > >
>> > >> > > https://issues.apache.org/jira/browse/TOMEE-2923
>> > >> > > https://issues.apache.org/jira/browse/TOMEE-2924
>> > >> > > https://issues.apache.org/jira/browse/TOMEE-2925
>> > >> > >
>> > >> > > 2/ Security API
>> > >> > > This is about authorization and stores.
>> > >> > > This time implementation is all in TomEE (see tomee-security
>> > module).
>> > >> > I'll
>> > >> > > try to send another email with a walk through. It's been mostly
>> > >> > implemented
>> > >> > > in a quick and dirty mode but it needs tests and hardening
>> before we
>> > >> can
>> > >> > > call it done. With that we can cover nearly 100% coverage of TCK.
>> > >> > > But, because there is a bug, we have random failures due to the
>> way
>> > >> TCK
>> > >> > is
>> > >> > > built. I'll create a new ticket shortly to describe the issue.
>> > >> > >
>> > >> > > 3/ JTA
>> > >> > > We used to be covering 100% but we are down to 70% because of the
>> > >> > addition
>> > >> > > of @Transactional CDI tests. I again looked into our
>> implementation
>> > >> and
>> > >> > the
>> > >> > > tests and found again issues with the TCK
>> > >> > >
>> > >> > > See ticket https://issues.apache.org/jira/browse/TOMEE-2921
>> > >> > >
>> > >> > > I'll continue to dig into the other areas.
>> > >> > > Especially everything related to Tomcat should be closer to 100%
>> > than
>> > >> it
>> > >> > is
>> > >> > > today (JSTL, JSP, Servlet and WebSockets).
>> > >> > >
>> > >> > > If you want to help and look at them, that'd be great.
>> > >> > > Basically follow the steps to run the TCK locally as described
>> here
>> > >> > > https://github.com/apache/tomee-tck
>> > >> > >
>> > >> > > and run
>> > >> > >
>> > >> > > com.sun.ts.tests.jstl
>> > >> > > com.sun.ts.tests.jsp
>> > >> > > com.sun.ts.tests.servlet
>> > >> > > com.sun.ts.tests.websocket
>> > >> > >
>> > >> > > Then go ahead and investigate. Feel free to create a ticket or at
>> > >> least
>> > >> > > shoot something in the mailing list so we don't duplicate the
>> > efforts.
>> > >> > >
>> > >> > > Hope it helps
>> > >> > > --
>> > >> > > Jean-Louis Monteiro
>> > >> > > http://twitter.com/jlouismonteiro
>> > >> > > http://www.tomitribe.com
>> > >> >
>> > >> >
>> > >>
>> > >
>> >
>>
>

Re: TCK work on Jakarta EE 8 and Jakarta EE 9

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Hi all,

Quick update ...

JSONP: did some hacking on Johnzon. We are now at 100% coverage with the
1.2.9-SNAPSHOT. We'll need to release but we are good.
https://github.com/apache/johnzon/pull/68

Had to fix a couple of issues in TomEE after upgrade. See
https://github.com/apache/tomee/commit/63fd587f6682b9a16ac7717a5b9926111c817186

Quick note mainly for you Jon, while I was working on it, I added a fix for
JAX-RS. It should fix a dozen of tests. See
https://github.com/apache/tomee/commit/63fd587f6682b9a16ac7717a5b9926111c817186#diff-6566ce0f0b27a68c7a2c111f47a7ee24f3dc1bd05366ba266d5fb85cc68da4c5R35

--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Wed, Nov 18, 2020 at 12:08 PM Jonathan Gallimore <
jonathan.gallimore@gmail.com> wrote:

> Thanks Jean-Louis. I'll take a look at JAX-RS.
>
> Jon
>
> On Wed, Nov 18, 2020 at 10:58 AM Jean-Louis Monteiro <
> jlmonteiro@tomitribe.com> wrote:
>
> > Also, I'm currently working on the EJB32 tests with the hope I can bring
> it
> > to 100% coverage by the end of this week.
> >
> > If you guys want to look into something.
> > JSONP has some failures and JAXRS might have some good quick wins to get
> > in.
> >
> >
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
> >
> > On Wed, Nov 18, 2020 at 11:51 AM Jean-Louis Monteiro <
> > jlmonteiro@tomitribe.com> wrote:
> >
> > > Until we hear back from TCK challenges and Jakarta spec leads, I went
> and
> > > created 2 hacks to move us forward.
> > > They should either be deleted when TCK is fixed, or we should add
> > excludes
> > > if challenges are validated on the TCK side of things.
> > >
> > > Meanwhile here are the 2 hacks
> > >
> > >
> > >
> >
> https://github.com/apache/tomee-tck/blob/master/src/main/java/org/apache/openejb/cts/CallbackHandlerImpl.java
> > >
> > >
> >
> https://github.com/apache/tomee-tck/blob/master/src/main/java/org/apache/openejb/cts/TransactionalWorkaroundLeakGuardValve.java
> > >
> > > Disclaimer lol
> > > Not happy about it, but wanted to see if we could keep going with other
> > > tests until we hear back.
> > >
> > >
> > >
> > > --
> > > Jean-Louis Monteiro
> > > http://twitter.com/jlouismonteiro
> > > http://www.tomitribe.com
> > >
> > >
> > > On Tue, Nov 17, 2020 at 4:01 AM Daniel Dias Dos Santos <
> > > daniel.dias.analistati@gmail.com> wrote:
> > >
> > >> very good : )
> > >> --
> > >>
> > >> *Daniel Dias dos Santos*
> > >> Java Developer
> > >> SouJava & JCP Member
> > >> GitHub: https://github.com/Daniel-Dos
> > >> Linkedin: www.linkedin.com/in/danieldiasjava
> > >> Twitter: http://twitter.com/danieldiasjava
> > >>
> > >>
> > >> Em seg., 16 de nov. de 2020 às 23:43, David Jencks <
> > >> david.a.jencks@gmail.com>
> > >> escreveu:
> > >>
> > >> > Great work!
> > >> >
> > >> > It’s really nice we don’t have to hide it!
> > >> >
> > >> > David Jencks
> > >> >
> > >> > > On Nov 16, 2020, at 3:40 PM, Jean-Louis Monteiro <
> > >> > jlmonteiro@tomitribe.com> wrote:
> > >> > >
> > >> > > Hi community,
> > >> > >
> > >> > > Alongside with the Jakarta EE 9 work I've been doing, I tried to
> > look
> > >> at
> > >> > > TomEE coverage for EE 8 and EE 9. They are quite close in terms of
> > >> scope.
> > >> > > The only difference is pretty much only the namespace change from
> > >> javax
> > >> > to
> > >> > > jakarta.
> > >> > >
> > >> > > I looked into our EE 9 coverage with our TomEE 9 milestone and we
> > are
> > >> > quite
> > >> > > far in terms of coverage.
> > >> > >
> > >> > > I pushed some setup changes in the dedicated
> > >> > > https://github.com/apache/tomee-tck/tree/jakartaee9-tck branch to
> > >> bring
> > >> > the
> > >> > > coverage near EE 8 coverage with TomEE (aka around 90+ %)
> > >> > >
> > >> > > The big gaps were as far as I can see around jaspic, securityapi
> and
> > >> jta.
> > >> > >
> > >> > > 1/ JASPIC
> > >> > > It's about authentication for containers. We don't have much but
> > setup
> > >> > > because we rely on Tomcat's implementation.
> > >> > > We are having some issues with the setup because of the way TCK is
> > >> built
> > >> > > for jaspic. I've been able to workaround some, but I also got hit
> by
> > >> TCK
> > >> > > issues.
> > >> > > See TomEE tickets
> > >> > >
> > >> > > https://issues.apache.org/jira/browse/TOMEE-2923
> > >> > > https://issues.apache.org/jira/browse/TOMEE-2924
> > >> > > https://issues.apache.org/jira/browse/TOMEE-2925
> > >> > >
> > >> > > 2/ Security API
> > >> > > This is about authorization and stores.
> > >> > > This time implementation is all in TomEE (see tomee-security
> > module).
> > >> > I'll
> > >> > > try to send another email with a walk through. It's been mostly
> > >> > implemented
> > >> > > in a quick and dirty mode but it needs tests and hardening before
> we
> > >> can
> > >> > > call it done. With that we can cover nearly 100% coverage of TCK.
> > >> > > But, because there is a bug, we have random failures due to the
> way
> > >> TCK
> > >> > is
> > >> > > built. I'll create a new ticket shortly to describe the issue.
> > >> > >
> > >> > > 3/ JTA
> > >> > > We used to be covering 100% but we are down to 70% because of the
> > >> > addition
> > >> > > of @Transactional CDI tests. I again looked into our
> implementation
> > >> and
> > >> > the
> > >> > > tests and found again issues with the TCK
> > >> > >
> > >> > > See ticket https://issues.apache.org/jira/browse/TOMEE-2921
> > >> > >
> > >> > > I'll continue to dig into the other areas.
> > >> > > Especially everything related to Tomcat should be closer to 100%
> > than
> > >> it
> > >> > is
> > >> > > today (JSTL, JSP, Servlet and WebSockets).
> > >> > >
> > >> > > If you want to help and look at them, that'd be great.
> > >> > > Basically follow the steps to run the TCK locally as described
> here
> > >> > > https://github.com/apache/tomee-tck
> > >> > >
> > >> > > and run
> > >> > >
> > >> > > com.sun.ts.tests.jstl
> > >> > > com.sun.ts.tests.jsp
> > >> > > com.sun.ts.tests.servlet
> > >> > > com.sun.ts.tests.websocket
> > >> > >
> > >> > > Then go ahead and investigate. Feel free to create a ticket or at
> > >> least
> > >> > > shoot something in the mailing list so we don't duplicate the
> > efforts.
> > >> > >
> > >> > > Hope it helps
> > >> > > --
> > >> > > Jean-Louis Monteiro
> > >> > > http://twitter.com/jlouismonteiro
> > >> > > http://www.tomitribe.com
> > >> >
> > >> >
> > >>
> > >
> >
>

Re: TCK work on Jakarta EE 8 and Jakarta EE 9

Posted by Jonathan Gallimore <jo...@gmail.com>.
Thanks Jean-Louis. I'll take a look at JAX-RS.

Jon

On Wed, Nov 18, 2020 at 10:58 AM Jean-Louis Monteiro <
jlmonteiro@tomitribe.com> wrote:

> Also, I'm currently working on the EJB32 tests with the hope I can bring it
> to 100% coverage by the end of this week.
>
> If you guys want to look into something.
> JSONP has some failures and JAXRS might have some good quick wins to get
> in.
>
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Wed, Nov 18, 2020 at 11:51 AM Jean-Louis Monteiro <
> jlmonteiro@tomitribe.com> wrote:
>
> > Until we hear back from TCK challenges and Jakarta spec leads, I went and
> > created 2 hacks to move us forward.
> > They should either be deleted when TCK is fixed, or we should add
> excludes
> > if challenges are validated on the TCK side of things.
> >
> > Meanwhile here are the 2 hacks
> >
> >
> >
> https://github.com/apache/tomee-tck/blob/master/src/main/java/org/apache/openejb/cts/CallbackHandlerImpl.java
> >
> >
> https://github.com/apache/tomee-tck/blob/master/src/main/java/org/apache/openejb/cts/TransactionalWorkaroundLeakGuardValve.java
> >
> > Disclaimer lol
> > Not happy about it, but wanted to see if we could keep going with other
> > tests until we hear back.
> >
> >
> >
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
> >
> > On Tue, Nov 17, 2020 at 4:01 AM Daniel Dias Dos Santos <
> > daniel.dias.analistati@gmail.com> wrote:
> >
> >> very good : )
> >> --
> >>
> >> *Daniel Dias dos Santos*
> >> Java Developer
> >> SouJava & JCP Member
> >> GitHub: https://github.com/Daniel-Dos
> >> Linkedin: www.linkedin.com/in/danieldiasjava
> >> Twitter: http://twitter.com/danieldiasjava
> >>
> >>
> >> Em seg., 16 de nov. de 2020 às 23:43, David Jencks <
> >> david.a.jencks@gmail.com>
> >> escreveu:
> >>
> >> > Great work!
> >> >
> >> > It’s really nice we don’t have to hide it!
> >> >
> >> > David Jencks
> >> >
> >> > > On Nov 16, 2020, at 3:40 PM, Jean-Louis Monteiro <
> >> > jlmonteiro@tomitribe.com> wrote:
> >> > >
> >> > > Hi community,
> >> > >
> >> > > Alongside with the Jakarta EE 9 work I've been doing, I tried to
> look
> >> at
> >> > > TomEE coverage for EE 8 and EE 9. They are quite close in terms of
> >> scope.
> >> > > The only difference is pretty much only the namespace change from
> >> javax
> >> > to
> >> > > jakarta.
> >> > >
> >> > > I looked into our EE 9 coverage with our TomEE 9 milestone and we
> are
> >> > quite
> >> > > far in terms of coverage.
> >> > >
> >> > > I pushed some setup changes in the dedicated
> >> > > https://github.com/apache/tomee-tck/tree/jakartaee9-tck branch to
> >> bring
> >> > the
> >> > > coverage near EE 8 coverage with TomEE (aka around 90+ %)
> >> > >
> >> > > The big gaps were as far as I can see around jaspic, securityapi and
> >> jta.
> >> > >
> >> > > 1/ JASPIC
> >> > > It's about authentication for containers. We don't have much but
> setup
> >> > > because we rely on Tomcat's implementation.
> >> > > We are having some issues with the setup because of the way TCK is
> >> built
> >> > > for jaspic. I've been able to workaround some, but I also got hit by
> >> TCK
> >> > > issues.
> >> > > See TomEE tickets
> >> > >
> >> > > https://issues.apache.org/jira/browse/TOMEE-2923
> >> > > https://issues.apache.org/jira/browse/TOMEE-2924
> >> > > https://issues.apache.org/jira/browse/TOMEE-2925
> >> > >
> >> > > 2/ Security API
> >> > > This is about authorization and stores.
> >> > > This time implementation is all in TomEE (see tomee-security
> module).
> >> > I'll
> >> > > try to send another email with a walk through. It's been mostly
> >> > implemented
> >> > > in a quick and dirty mode but it needs tests and hardening before we
> >> can
> >> > > call it done. With that we can cover nearly 100% coverage of TCK.
> >> > > But, because there is a bug, we have random failures due to the way
> >> TCK
> >> > is
> >> > > built. I'll create a new ticket shortly to describe the issue.
> >> > >
> >> > > 3/ JTA
> >> > > We used to be covering 100% but we are down to 70% because of the
> >> > addition
> >> > > of @Transactional CDI tests. I again looked into our implementation
> >> and
> >> > the
> >> > > tests and found again issues with the TCK
> >> > >
> >> > > See ticket https://issues.apache.org/jira/browse/TOMEE-2921
> >> > >
> >> > > I'll continue to dig into the other areas.
> >> > > Especially everything related to Tomcat should be closer to 100%
> than
> >> it
> >> > is
> >> > > today (JSTL, JSP, Servlet and WebSockets).
> >> > >
> >> > > If you want to help and look at them, that'd be great.
> >> > > Basically follow the steps to run the TCK locally as described here
> >> > > https://github.com/apache/tomee-tck
> >> > >
> >> > > and run
> >> > >
> >> > > com.sun.ts.tests.jstl
> >> > > com.sun.ts.tests.jsp
> >> > > com.sun.ts.tests.servlet
> >> > > com.sun.ts.tests.websocket
> >> > >
> >> > > Then go ahead and investigate. Feel free to create a ticket or at
> >> least
> >> > > shoot something in the mailing list so we don't duplicate the
> efforts.
> >> > >
> >> > > Hope it helps
> >> > > --
> >> > > Jean-Louis Monteiro
> >> > > http://twitter.com/jlouismonteiro
> >> > > http://www.tomitribe.com
> >> >
> >> >
> >>
> >
>

Re: TCK work on Jakarta EE 8 and Jakarta EE 9

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Also, I'm currently working on the EJB32 tests with the hope I can bring it
to 100% coverage by the end of this week.

If you guys want to look into something.
JSONP has some failures and JAXRS might have some good quick wins to get in.


--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Wed, Nov 18, 2020 at 11:51 AM Jean-Louis Monteiro <
jlmonteiro@tomitribe.com> wrote:

> Until we hear back from TCK challenges and Jakarta spec leads, I went and
> created 2 hacks to move us forward.
> They should either be deleted when TCK is fixed, or we should add excludes
> if challenges are validated on the TCK side of things.
>
> Meanwhile here are the 2 hacks
>
>
> https://github.com/apache/tomee-tck/blob/master/src/main/java/org/apache/openejb/cts/CallbackHandlerImpl.java
>
> https://github.com/apache/tomee-tck/blob/master/src/main/java/org/apache/openejb/cts/TransactionalWorkaroundLeakGuardValve.java
>
> Disclaimer lol
> Not happy about it, but wanted to see if we could keep going with other
> tests until we hear back.
>
>
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Tue, Nov 17, 2020 at 4:01 AM Daniel Dias Dos Santos <
> daniel.dias.analistati@gmail.com> wrote:
>
>> very good : )
>> --
>>
>> *Daniel Dias dos Santos*
>> Java Developer
>> SouJava & JCP Member
>> GitHub: https://github.com/Daniel-Dos
>> Linkedin: www.linkedin.com/in/danieldiasjava
>> Twitter: http://twitter.com/danieldiasjava
>>
>>
>> Em seg., 16 de nov. de 2020 às 23:43, David Jencks <
>> david.a.jencks@gmail.com>
>> escreveu:
>>
>> > Great work!
>> >
>> > It’s really nice we don’t have to hide it!
>> >
>> > David Jencks
>> >
>> > > On Nov 16, 2020, at 3:40 PM, Jean-Louis Monteiro <
>> > jlmonteiro@tomitribe.com> wrote:
>> > >
>> > > Hi community,
>> > >
>> > > Alongside with the Jakarta EE 9 work I've been doing, I tried to look
>> at
>> > > TomEE coverage for EE 8 and EE 9. They are quite close in terms of
>> scope.
>> > > The only difference is pretty much only the namespace change from
>> javax
>> > to
>> > > jakarta.
>> > >
>> > > I looked into our EE 9 coverage with our TomEE 9 milestone and we are
>> > quite
>> > > far in terms of coverage.
>> > >
>> > > I pushed some setup changes in the dedicated
>> > > https://github.com/apache/tomee-tck/tree/jakartaee9-tck branch to
>> bring
>> > the
>> > > coverage near EE 8 coverage with TomEE (aka around 90+ %)
>> > >
>> > > The big gaps were as far as I can see around jaspic, securityapi and
>> jta.
>> > >
>> > > 1/ JASPIC
>> > > It's about authentication for containers. We don't have much but setup
>> > > because we rely on Tomcat's implementation.
>> > > We are having some issues with the setup because of the way TCK is
>> built
>> > > for jaspic. I've been able to workaround some, but I also got hit by
>> TCK
>> > > issues.
>> > > See TomEE tickets
>> > >
>> > > https://issues.apache.org/jira/browse/TOMEE-2923
>> > > https://issues.apache.org/jira/browse/TOMEE-2924
>> > > https://issues.apache.org/jira/browse/TOMEE-2925
>> > >
>> > > 2/ Security API
>> > > This is about authorization and stores.
>> > > This time implementation is all in TomEE (see tomee-security module).
>> > I'll
>> > > try to send another email with a walk through. It's been mostly
>> > implemented
>> > > in a quick and dirty mode but it needs tests and hardening before we
>> can
>> > > call it done. With that we can cover nearly 100% coverage of TCK.
>> > > But, because there is a bug, we have random failures due to the way
>> TCK
>> > is
>> > > built. I'll create a new ticket shortly to describe the issue.
>> > >
>> > > 3/ JTA
>> > > We used to be covering 100% but we are down to 70% because of the
>> > addition
>> > > of @Transactional CDI tests. I again looked into our implementation
>> and
>> > the
>> > > tests and found again issues with the TCK
>> > >
>> > > See ticket https://issues.apache.org/jira/browse/TOMEE-2921
>> > >
>> > > I'll continue to dig into the other areas.
>> > > Especially everything related to Tomcat should be closer to 100% than
>> it
>> > is
>> > > today (JSTL, JSP, Servlet and WebSockets).
>> > >
>> > > If you want to help and look at them, that'd be great.
>> > > Basically follow the steps to run the TCK locally as described here
>> > > https://github.com/apache/tomee-tck
>> > >
>> > > and run
>> > >
>> > > com.sun.ts.tests.jstl
>> > > com.sun.ts.tests.jsp
>> > > com.sun.ts.tests.servlet
>> > > com.sun.ts.tests.websocket
>> > >
>> > > Then go ahead and investigate. Feel free to create a ticket or at
>> least
>> > > shoot something in the mailing list so we don't duplicate the efforts.
>> > >
>> > > Hope it helps
>> > > --
>> > > Jean-Louis Monteiro
>> > > http://twitter.com/jlouismonteiro
>> > > http://www.tomitribe.com
>> >
>> >
>>
>

Re: TCK work on Jakarta EE 8 and Jakarta EE 9

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Until we hear back from TCK challenges and Jakarta spec leads, I went and
created 2 hacks to move us forward.
They should either be deleted when TCK is fixed, or we should add excludes
if challenges are validated on the TCK side of things.

Meanwhile here are the 2 hacks

https://github.com/apache/tomee-tck/blob/master/src/main/java/org/apache/openejb/cts/CallbackHandlerImpl.java
https://github.com/apache/tomee-tck/blob/master/src/main/java/org/apache/openejb/cts/TransactionalWorkaroundLeakGuardValve.java

Disclaimer lol
Not happy about it, but wanted to see if we could keep going with other
tests until we hear back.



--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Tue, Nov 17, 2020 at 4:01 AM Daniel Dias Dos Santos <
daniel.dias.analistati@gmail.com> wrote:

> very good : )
> --
>
> *Daniel Dias dos Santos*
> Java Developer
> SouJava & JCP Member
> GitHub: https://github.com/Daniel-Dos
> Linkedin: www.linkedin.com/in/danieldiasjava
> Twitter: http://twitter.com/danieldiasjava
>
>
> Em seg., 16 de nov. de 2020 às 23:43, David Jencks <
> david.a.jencks@gmail.com>
> escreveu:
>
> > Great work!
> >
> > It’s really nice we don’t have to hide it!
> >
> > David Jencks
> >
> > > On Nov 16, 2020, at 3:40 PM, Jean-Louis Monteiro <
> > jlmonteiro@tomitribe.com> wrote:
> > >
> > > Hi community,
> > >
> > > Alongside with the Jakarta EE 9 work I've been doing, I tried to look
> at
> > > TomEE coverage for EE 8 and EE 9. They are quite close in terms of
> scope.
> > > The only difference is pretty much only the namespace change from javax
> > to
> > > jakarta.
> > >
> > > I looked into our EE 9 coverage with our TomEE 9 milestone and we are
> > quite
> > > far in terms of coverage.
> > >
> > > I pushed some setup changes in the dedicated
> > > https://github.com/apache/tomee-tck/tree/jakartaee9-tck branch to
> bring
> > the
> > > coverage near EE 8 coverage with TomEE (aka around 90+ %)
> > >
> > > The big gaps were as far as I can see around jaspic, securityapi and
> jta.
> > >
> > > 1/ JASPIC
> > > It's about authentication for containers. We don't have much but setup
> > > because we rely on Tomcat's implementation.
> > > We are having some issues with the setup because of the way TCK is
> built
> > > for jaspic. I've been able to workaround some, but I also got hit by
> TCK
> > > issues.
> > > See TomEE tickets
> > >
> > > https://issues.apache.org/jira/browse/TOMEE-2923
> > > https://issues.apache.org/jira/browse/TOMEE-2924
> > > https://issues.apache.org/jira/browse/TOMEE-2925
> > >
> > > 2/ Security API
> > > This is about authorization and stores.
> > > This time implementation is all in TomEE (see tomee-security module).
> > I'll
> > > try to send another email with a walk through. It's been mostly
> > implemented
> > > in a quick and dirty mode but it needs tests and hardening before we
> can
> > > call it done. With that we can cover nearly 100% coverage of TCK.
> > > But, because there is a bug, we have random failures due to the way TCK
> > is
> > > built. I'll create a new ticket shortly to describe the issue.
> > >
> > > 3/ JTA
> > > We used to be covering 100% but we are down to 70% because of the
> > addition
> > > of @Transactional CDI tests. I again looked into our implementation and
> > the
> > > tests and found again issues with the TCK
> > >
> > > See ticket https://issues.apache.org/jira/browse/TOMEE-2921
> > >
> > > I'll continue to dig into the other areas.
> > > Especially everything related to Tomcat should be closer to 100% than
> it
> > is
> > > today (JSTL, JSP, Servlet and WebSockets).
> > >
> > > If you want to help and look at them, that'd be great.
> > > Basically follow the steps to run the TCK locally as described here
> > > https://github.com/apache/tomee-tck
> > >
> > > and run
> > >
> > > com.sun.ts.tests.jstl
> > > com.sun.ts.tests.jsp
> > > com.sun.ts.tests.servlet
> > > com.sun.ts.tests.websocket
> > >
> > > Then go ahead and investigate. Feel free to create a ticket or at least
> > > shoot something in the mailing list so we don't duplicate the efforts.
> > >
> > > Hope it helps
> > > --
> > > Jean-Louis Monteiro
> > > http://twitter.com/jlouismonteiro
> > > http://www.tomitribe.com
> >
> >
>

Re: TCK work on Jakarta EE 8 and Jakarta EE 9

Posted by Daniel Dias Dos Santos <da...@gmail.com>.
very good : )
--

*Daniel Dias dos Santos*
Java Developer
SouJava & JCP Member
GitHub: https://github.com/Daniel-Dos
Linkedin: www.linkedin.com/in/danieldiasjava
Twitter: http://twitter.com/danieldiasjava


Em seg., 16 de nov. de 2020 às 23:43, David Jencks <da...@gmail.com>
escreveu:

> Great work!
>
> It’s really nice we don’t have to hide it!
>
> David Jencks
>
> > On Nov 16, 2020, at 3:40 PM, Jean-Louis Monteiro <
> jlmonteiro@tomitribe.com> wrote:
> >
> > Hi community,
> >
> > Alongside with the Jakarta EE 9 work I've been doing, I tried to look at
> > TomEE coverage for EE 8 and EE 9. They are quite close in terms of scope.
> > The only difference is pretty much only the namespace change from javax
> to
> > jakarta.
> >
> > I looked into our EE 9 coverage with our TomEE 9 milestone and we are
> quite
> > far in terms of coverage.
> >
> > I pushed some setup changes in the dedicated
> > https://github.com/apache/tomee-tck/tree/jakartaee9-tck branch to bring
> the
> > coverage near EE 8 coverage with TomEE (aka around 90+ %)
> >
> > The big gaps were as far as I can see around jaspic, securityapi and jta.
> >
> > 1/ JASPIC
> > It's about authentication for containers. We don't have much but setup
> > because we rely on Tomcat's implementation.
> > We are having some issues with the setup because of the way TCK is built
> > for jaspic. I've been able to workaround some, but I also got hit by TCK
> > issues.
> > See TomEE tickets
> >
> > https://issues.apache.org/jira/browse/TOMEE-2923
> > https://issues.apache.org/jira/browse/TOMEE-2924
> > https://issues.apache.org/jira/browse/TOMEE-2925
> >
> > 2/ Security API
> > This is about authorization and stores.
> > This time implementation is all in TomEE (see tomee-security module).
> I'll
> > try to send another email with a walk through. It's been mostly
> implemented
> > in a quick and dirty mode but it needs tests and hardening before we can
> > call it done. With that we can cover nearly 100% coverage of TCK.
> > But, because there is a bug, we have random failures due to the way TCK
> is
> > built. I'll create a new ticket shortly to describe the issue.
> >
> > 3/ JTA
> > We used to be covering 100% but we are down to 70% because of the
> addition
> > of @Transactional CDI tests. I again looked into our implementation and
> the
> > tests and found again issues with the TCK
> >
> > See ticket https://issues.apache.org/jira/browse/TOMEE-2921
> >
> > I'll continue to dig into the other areas.
> > Especially everything related to Tomcat should be closer to 100% than it
> is
> > today (JSTL, JSP, Servlet and WebSockets).
> >
> > If you want to help and look at them, that'd be great.
> > Basically follow the steps to run the TCK locally as described here
> > https://github.com/apache/tomee-tck
> >
> > and run
> >
> > com.sun.ts.tests.jstl
> > com.sun.ts.tests.jsp
> > com.sun.ts.tests.servlet
> > com.sun.ts.tests.websocket
> >
> > Then go ahead and investigate. Feel free to create a ticket or at least
> > shoot something in the mailing list so we don't duplicate the efforts.
> >
> > Hope it helps
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
>
>

Re: TCK work on Jakarta EE 8 and Jakarta EE 9

Posted by David Jencks <da...@gmail.com>.
Great work!

It’s really nice we don’t have to hide it!

David Jencks

> On Nov 16, 2020, at 3:40 PM, Jean-Louis Monteiro <jl...@tomitribe.com> wrote:
> 
> Hi community,
> 
> Alongside with the Jakarta EE 9 work I've been doing, I tried to look at
> TomEE coverage for EE 8 and EE 9. They are quite close in terms of scope.
> The only difference is pretty much only the namespace change from javax to
> jakarta.
> 
> I looked into our EE 9 coverage with our TomEE 9 milestone and we are quite
> far in terms of coverage.
> 
> I pushed some setup changes in the dedicated
> https://github.com/apache/tomee-tck/tree/jakartaee9-tck branch to bring the
> coverage near EE 8 coverage with TomEE (aka around 90+ %)
> 
> The big gaps were as far as I can see around jaspic, securityapi and jta.
> 
> 1/ JASPIC
> It's about authentication for containers. We don't have much but setup
> because we rely on Tomcat's implementation.
> We are having some issues with the setup because of the way TCK is built
> for jaspic. I've been able to workaround some, but I also got hit by TCK
> issues.
> See TomEE tickets
> 
> https://issues.apache.org/jira/browse/TOMEE-2923
> https://issues.apache.org/jira/browse/TOMEE-2924
> https://issues.apache.org/jira/browse/TOMEE-2925
> 
> 2/ Security API
> This is about authorization and stores.
> This time implementation is all in TomEE (see tomee-security module). I'll
> try to send another email with a walk through. It's been mostly implemented
> in a quick and dirty mode but it needs tests and hardening before we can
> call it done. With that we can cover nearly 100% coverage of TCK.
> But, because there is a bug, we have random failures due to the way TCK is
> built. I'll create a new ticket shortly to describe the issue.
> 
> 3/ JTA
> We used to be covering 100% but we are down to 70% because of the addition
> of @Transactional CDI tests. I again looked into our implementation and the
> tests and found again issues with the TCK
> 
> See ticket https://issues.apache.org/jira/browse/TOMEE-2921
> 
> I'll continue to dig into the other areas.
> Especially everything related to Tomcat should be closer to 100% than it is
> today (JSTL, JSP, Servlet and WebSockets).
> 
> If you want to help and look at them, that'd be great.
> Basically follow the steps to run the TCK locally as described here
> https://github.com/apache/tomee-tck
> 
> and run
> 
> com.sun.ts.tests.jstl
> com.sun.ts.tests.jsp
> com.sun.ts.tests.servlet
> com.sun.ts.tests.websocket
> 
> Then go ahead and investigate. Feel free to create a ticket or at least
> shoot something in the mailing list so we don't duplicate the efforts.
> 
> Hope it helps
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com