[GitHub] [tomee] dblevins merged pull request #642: TOMEE-2817-Translate to Portuguese: examples/injection-of-ejbs

2020-06-15 Thread GitBox


dblevins merged pull request #642:
URL: https://github.com/apache/tomee/pull/642


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [tomee] dblevins merged pull request #638: TOMEE-2813 - Translate to Portuguese: examples/dynamic-proxy-to-access-mbean

2020-06-15 Thread GitBox


dblevins merged pull request #638:
URL: https://github.com/apache/tomee/pull/638


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [tomee] dblevins merged pull request #641: TOMEE-2816 -Translate to Portuguese: examples/groovy-spock

2020-06-15 Thread GitBox


dblevins merged pull request #641:
URL: https://github.com/apache/tomee/pull/641


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [tomee-tck] dblevins merged pull request #12: Corrected GF_BUNDLE_URL on TCK's README

2020-06-15 Thread GitBox


dblevins merged pull request #12:
URL: https://github.com/apache/tomee-tck/pull/12


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [tomee-tck] dblevins commented on pull request #12: Corrected GF_BUNDLE_URL on TCK's README

2020-06-15 Thread GitBox


dblevins commented on pull request #12:
URL: https://github.com/apache/tomee-tck/pull/12#issuecomment-644470277


   Looks great.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




Re: Possible help in Jakarta EE 8 TCK (Re: How can I help ?)

2020-06-15 Thread David Blevins
> On Jun 15, 2020, at 5:06 PM, Thiago Henrique Hupner  wrote:
> 
> Are we focusing on the full profile or the web profile for now?

First web profile as that will allow us to get on this page:

 - https://jakarta.ee/compatibility/

After that we can dig into some Full Profile sections and see if we might be 
able to get a Full Profile certification.  We won't actually be able to Full 
Profile certify on Jakarta EE 8 because it still includes some things we don't 
implement like JAX-RPC, JAXR and CORBA.

BUT all those are gone in Jakarta EE 9 which is basically the same TCK with a 
javax-to-jakarta namespace change, so Full Profile certification is actually 
something we could achieve.  If the bytecode transformation stuff works, then 
we would actually be able to work on Jakarta EE 8 TCK and Jakarta EE 9 TCK in 
parallel on TomEE master branch.

Crazy idea ... unless it works, then it's an insanely fun crazy idea. :)


-David



smime.p7s
Description: S/MIME cryptographic signature


Re: Possible help in Jakarta EE 8 TCK (Re: How can I help ?)

2020-06-15 Thread Thiago Henrique Hupner
Are we focusing on the full profile or the web profile for now?

Em seg., 15 de jun. de 2020 às 21:00, David Blevins 
escreveu:

> > On Jun 15, 2020, at 4:34 PM, Helber Belmiro 
> wrote:
> >
> > Hi David.
> >
> > Sounds nice to me.
> > But I’ll have to start with baby steps and certainly will need help. I
> never actually ran any TCK. It’s the first time I’m trying.
> > As you said in another email the documentation might be outdated, so I
> guess it is a good place to start.
>
> Agree completely.  I think we're all at the same stage :)  Many of us were
> heavy into running the TCK in 2010 and 2011, but Apache lost access to the
> TCK shortly after, so this is really the first time any of us have had much
> of a chance to dig in for a very long time.
>
> So it's baby steps for all of us :)
>
> I'll be trying to run the EE 9 TCK, which might not even be working yet.
> It will probably be painful :)
>
> Brothers in arms.
>
>
> -David
>
> >> On 15 Jun 2020, at 16:05, David Blevins 
> wrote:
> >>
> >>> On Jun 14, 2020, at 5:20 AM, Evaldo Junior 
> wrote:
> >>>
> >>> I am Developer, i have used different applications servers, among them
> the
> >>> Apache Tomcat, during many years.
> >>> I have interested in contribute to JAX-RS module to TomEE.
> >>> I want to contribute to TomEE project, i hope to start with simple
> things.
> >>> I can start to contribute in documentation of the project, with the
> >>> translations, english to portuguese.
> >>
> >> Hi Evaldo!
> >>
> >> Are you possibly interested in teaming up with Helber to lead the
> charge on some Jakarta EE 8 TCK work?  One it's up and running you could
> focus on the JAX-RS section of the TCK.
> >>
> >> Our overall status in this regard is this has seen little to no
> attention since August, yet we have people showing up regularly offering to
> help.
> >>
> >> What we need is a couple people to dig into this area and put their
> minds to learning how to do it themselves, then to helping others do it
> too; responding to "how can I help" emails with "work with us on the tck,
> here's how."
> >>
> >> It's a no-fail task as easily there've been over 50 people offer to
> help that we've not been able to get successfully enabled to help, so
> honestly and truly any improvement is seriously impactful.  Perfection is
> impossible, any step forward is a good one.
> >>
> >> Does this sound like fun?
> >>
> >> Helber, what do you think?
> >>
> >> Anyone else think this sounds exciting?
> >>
> >>
> >> -David
> >>
> >>
> >>
> >>
> >
>
>


[GitHub] [tomee-tck] dblevins commented on pull request #12: Corrected GF_BUNDLE_URL on TCK's README

2020-06-15 Thread GitBox


dblevins commented on pull request #12:
URL: https://github.com/apache/tomee-tck/pull/12#issuecomment-644453481


   Let's use these links for the TCK and GlassFish:
   
   - 
https://download.eclipse.org/jakartaee/platform/8/jakarta-jakartaeetck-8.0.2.zip
   - 
https://www.eclipse.org/downloads/download.php?file=/glassfish/glassfish-5.1.0.zip
   
   I think the nightly build of GlassFish has moved on from Jakarta EE 8 to 
Jakarta EE 9 and is currently not passing TCK.
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




Re: Possible help in Jakarta EE 8 TCK (Re: How can I help ?)

2020-06-15 Thread David Blevins
> On Jun 15, 2020, at 4:34 PM, Helber Belmiro  wrote:
> 
> Hi David.
> 
> Sounds nice to me.
> But I’ll have to start with baby steps and certainly will need help. I never 
> actually ran any TCK. It’s the first time I’m trying.
> As you said in another email the documentation might be outdated, so I guess 
> it is a good place to start.

Agree completely.  I think we're all at the same stage :)  Many of us were 
heavy into running the TCK in 2010 and 2011, but Apache lost access to the TCK 
shortly after, so this is really the first time any of us have had much of a 
chance to dig in for a very long time.

So it's baby steps for all of us :)

I'll be trying to run the EE 9 TCK, which might not even be working yet.  It 
will probably be painful :)

Brothers in arms.


-David

>> On 15 Jun 2020, at 16:05, David Blevins  wrote:
>> 
>>> On Jun 14, 2020, at 5:20 AM, Evaldo Junior  wrote:
>>> 
>>> I am Developer, i have used different applications servers, among them the
>>> Apache Tomcat, during many years.
>>> I have interested in contribute to JAX-RS module to TomEE.
>>> I want to contribute to TomEE project, i hope to start with simple things.
>>> I can start to contribute in documentation of the project, with the
>>> translations, english to portuguese.
>> 
>> Hi Evaldo!
>> 
>> Are you possibly interested in teaming up with Helber to lead the charge on 
>> some Jakarta EE 8 TCK work?  One it's up and running you could focus on the 
>> JAX-RS section of the TCK.
>> 
>> Our overall status in this regard is this has seen little to no attention 
>> since August, yet we have people showing up regularly offering to help.
>> 
>> What we need is a couple people to dig into this area and put their minds to 
>> learning how to do it themselves, then to helping others do it too; 
>> responding to "how can I help" emails with "work with us on the tck, here's 
>> how."
>> 
>> It's a no-fail task as easily there've been over 50 people offer to help 
>> that we've not been able to get successfully enabled to help, so honestly 
>> and truly any improvement is seriously impactful.  Perfection is impossible, 
>> any step forward is a good one.
>> 
>> Does this sound like fun?
>> 
>> Helber, what do you think?
>> 
>> Anyone else think this sounds exciting?
>> 
>> 
>> -David
>> 
>> 
>> 
>> 
> 



smime.p7s
Description: S/MIME cryptographic signature


[GitHub] [tomee-tck] hbelmiro opened a new pull request #12: Corrected GF_BUNDLE_URL on TCK's README

2020-06-15 Thread GitBox


hbelmiro opened a new pull request #12:
URL: https://github.com/apache/tomee-tck/pull/12


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




Re: Jakarta EE 9 TCK information (in progress)

2020-06-15 Thread David Blevins
> On Jun 15, 2020, at 4:34 PM, David Blevins  wrote:
> 
> Got some information from Ed Bratt over Jakarta EE slack.
> 
> I've not dug into any of this, but wanted to pass it along immediately as the 
> situation is fluid.
> 
> Nightly builds of the Jakarta EE 9 TCK are here:
> 
> - 
> http://download.eclipse.org/ee4j/jakartaee-tck/master/nightly/jakartaeetck-9.0.0.zip
> - 
> https://download.eclipse.org/ee4j/jakartaee-tck/master/nightly/jakartaeetckinfo.txt

Important link (thanks again Ed), here are the nightly GlassFish builds that go 
with that TCK:

 - 
https://ci.eclipse.org/jakartaee-tck/job/build-glassfish/lastSuccessfulBuild/artifact/appserver/distributions/glassfish/target/glassfish.zip


-David



smime.p7s
Description: S/MIME cryptographic signature


Re: Jakarta EE 9 TCK information (in progress)

2020-06-15 Thread David Blevins
> On Jun 15, 2020, at 4:34 PM, David Blevins  wrote:
> 
> Here's the status of GlassFish with the overall Jakarta EE 9 TCK (the one 
> above):
> 
> - 
> https://ci.eclipse.org/jakartaee-tck/job/jakartaeetck-nightly-run-master/43/junit-reports-with-handlebars/testSuitesOverview.html

I'll add there looks to be plenty of room for us to be competitive on the 
Jakarta EE 9 Milestone.

It could send a very strong signal if we were able to be there and passing some 
tests.


-David



smime.p7s
Description: S/MIME cryptographic signature


Re: Possible help in Jakarta EE 8 TCK (Re: How can I help ?)

2020-06-15 Thread Helber Belmiro
Hi David.

Sounds nice to me.
But I’ll have to start with baby steps and certainly will need help. I never 
actually ran any TCK. It’s the first time I’m trying.
As you said in another email the documentation might be outdated, so I guess it 
is a good place to start.


- Helber Belmiro


> On 15 Jun 2020, at 16:05, David Blevins  wrote:
> 
>> On Jun 14, 2020, at 5:20 AM, Evaldo Junior  wrote:
>> 
>> I am Developer, i have used different applications servers, among them the
>> Apache Tomcat, during many years.
>> I have interested in contribute to JAX-RS module to TomEE.
>> I want to contribute to TomEE project, i hope to start with simple things.
>> I can start to contribute in documentation of the project, with the
>> translations, english to portuguese.
> 
> Hi Evaldo!
> 
> Are you possibly interested in teaming up with Helber to lead the charge on 
> some Jakarta EE 8 TCK work?  One it's up and running you could focus on the 
> JAX-RS section of the TCK.
> 
> Our overall status in this regard is this has seen little to no attention 
> since August, yet we have people showing up regularly offering to help.
> 
> What we need is a couple people to dig into this area and put their minds to 
> learning how to do it themselves, then to helping others do it too; 
> responding to "how can I help" emails with "work with us on the tck, here's 
> how."
> 
> It's a no-fail task as easily there've been over 50 people offer to help that 
> we've not been able to get successfully enabled to help, so honestly and 
> truly any improvement is seriously impactful.  Perfection is impossible, any 
> step forward is a good one.
> 
> Does this sound like fun?
> 
> Helber, what do you think?
> 
> Anyone else think this sounds exciting?
> 
> 
> -David
> 
> 
> 
> 



Jakarta EE 9 TCK information (in progress)

2020-06-15 Thread David Blevins
Got some information from Ed Bratt over Jakarta EE slack.

I've not dug into any of this, but wanted to pass it along immediately as the 
situation is fluid.

Nightly builds of the Jakarta EE 9 TCK are here:

 - 
http://download.eclipse.org/ee4j/jakartaee-tck/master/nightly/jakartaeetck-9.0.0.zip
 - 
https://download.eclipse.org/ee4j/jakartaee-tck/master/nightly/jakartaeetckinfo.txt

Here's the current plan for releasing a Jakarta EE 9.0.0-M1 TCK this week:

 - https://github.com/eclipse-ee4j/jakartaee-tck/issues/328

Here's the status of GlassFish against the standalone TCKs (not the one above):

 - 
https://ci.eclipse.org/jakartaee-tck/job/standalonetck-nightly-build-run-master/59/junit-reports-with-handlebars/testSuitesOverview.html

Here's the status of GlassFish with the overall Jakarta EE 9 TCK (the one 
above):

 - 
https://ci.eclipse.org/jakartaee-tck/job/jakartaeetck-nightly-run-master/43/junit-reports-with-handlebars/testSuitesOverview.html

I'm going to try to see if I can get anything running on TomEE with the 
bytecode-modified dist.

I'm super rusty in this department, so I suspect it will be painful :)  Wish me 
luck. :)


-David



smime.p7s
Description: S/MIME cryptographic signature


Re: Javax to Jakarta Bytecode transformation progress

2020-06-15 Thread David Blevins
> On Jun 15, 2020, at 9:23 AM, Jonathan Gallimore 
>  wrote:
> 
> Thanks for this update. I've rebased the latest Eclipse Transformer code
> from upstream and will push that, and try a build with your PR.

Thanks for the merge on PR 662, what did you think of the `src/patch/java` 
concept and tomee-patch-plugin?  Good, bad, ok-ish?


-David


> 
> Jon
> 
> On Mon, Jun 15, 2020 at 12:15 AM David Blevins 
> wrote:
> 
>> Ok, here's a quick status as to where I got.
>> 
>> - Picked through our remaining ambiguous "javax" string references and
>> fixed them by checking in the affected file at the library version we're
>> using, then took a look at their master branch to see how they've adapter
>> for the "jakarta" namespace and applied that fix to our copy.
>> 
>> - Updated the tomee-patch-plugin to update strings in files and in the
>> case of JSF update the path of the file; there are some
>> '*-resources/javax.faces/" files.  Those were all renamed.
>> 
>> - Applied any bytecode transformations that the Eclipse Transformer
>> missed.  Strings in annotation values were not being updated, nor were any
>> module-info classes.  After that there were a few small string tweaks it
>> probably could handle with the right configuration, but I just wanted to
>> get this over with so I put them in the tomee-patch-plugin for now.
>> 
>> - Updated the tomee-patch-plugin to remove any signatures that are on any
>> jars.
>> 
>> The server boots and looks pretty good at least from a cursory
>> perspective.  We need to do some more testing.
>> 
>> Here's the PR which I think is ready to be merged so others can continue
>> down this path.
>> 
>> - https://github.com/apache/tomee/pull/662
>> 
>> 
>> -David
>> 
>> 



smime.p7s
Description: S/MIME cryptographic signature


Re: How can I help ?

2020-06-15 Thread Cesar Hernandez
Hi Evaldo,
Welcome to the community, so great to hear from you.

We have prepared some materials to help people like you who are new to
TomEE at the following link:
http://tomee.apache.org/community/contributing/contribution-tips.html

There are a couple of items for you to choose from:

- Documentation translation is a great opportunity for new contributions.
Check for instance these tickets:

   - Portuguese:https://issues.apache.org/jira/browse/TOMEE-2473
   - Spanish: https://issues.apache.org/jira/browse/TOMEE-2442

Additional TomEE website development resources:
https://www.tomitribe.com/blog/how-to-contribute-to-the-tomee-website/

- When you are ready you can go to JIRA and look through the various tickets
that are still unassigned. Feel free to ask as many questions as you like
in the mailing list before, during and after your first contribution!

https://issues.apache.org/jira/projects/TOMEE/issues/TOMEE-2496?filter=allopenissues

Also, David highlighted in another email thread the recent work in progress:

 - Jakarta EE 8 compliance: Immediate: some help getting people to know how
to run the TCK. Long-term: help fixing tests

 - Jakarta EE 9 compliance: Immediate: help kicking the tires on the
prototype 'jakarta' TomEE server; i.e. writing apps that use
jakarta.ws.rs.Post, jakarta.persistence.Entity, etc and report issues.

 - User list: there might be some questions you know the answers to.  This
may seem small, but if "Einstein is mopping the floor" because there is no
janitor, getting contributions from either a janitor or another Einstein
can change the world. :)  One is easier than the other :)

Let us know what kind of things sound interesting and we'll see what might
fit.


El dom., 14 jun. 2020 a las 6:21, Evaldo Junior ()
escribió:

> I am Developer, i have used different applications servers, among them the
> Apache Tomcat, during many years.
> I have interested in contribute to JAX-RS module to TomEE.
> I want to contribute to TomEE project, i hope to start with simple things.
> I can start to contribute in documentation of the project, with the
> translations, english to portuguese.
>
>
> Regards,
>
>
> Evaldo Junior
>


-- 
Atentamente:
César Hernández.


[GitHub] [tomee] jgallimore merged pull request #662: Employ the TomEE Patch Plugin

2020-06-15 Thread GitBox


jgallimore merged pull request #662:
URL: https://github.com/apache/tomee/pull/662


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [tomee] jgallimore commented on pull request #662: Employ the TomEE Patch Plugin

2020-06-15 Thread GitBox


jgallimore commented on pull request #662:
URL: https://github.com/apache/tomee/pull/662#issuecomment-644346349


   LGTM!



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




Re: doubt about PR

2020-06-15 Thread David Blevins
> On May 22, 2020, at 8:20 PM, Daniel Dias Dos Santos 
>  wrote:
> 
> Hello ,
> 
> I would like to take a doubt.
> 
> as everyone should be looking, i'm doing a lot of PR lately in the
> translation part of the documentation.
> 
> is there any PR limit that I can submit?

There is absolutely no limit.  I'll go ahead and merge the ones that have been 
reviewed (I'm definitely no the right guy to review Portuguese PRs, but if 
someone else has said it looks good, it's good enough for me :)

Thank you so much for your constant contribution.  You are pretty awesome, 
Daniel :)


-David



smime.p7s
Description: S/MIME cryptographic signature


Possible help in Jakarta EE 8 TCK (Re: How can I help ?)

2020-06-15 Thread David Blevins
> On Jun 14, 2020, at 5:20 AM, Evaldo Junior  wrote:
> 
> I am Developer, i have used different applications servers, among them the
> Apache Tomcat, during many years.
> I have interested in contribute to JAX-RS module to TomEE.
> I want to contribute to TomEE project, i hope to start with simple things.
> I can start to contribute in documentation of the project, with the
> translations, english to portuguese.

Hi Evaldo!

Are you possibly interested in teaming up with Helber to lead the charge on 
some Jakarta EE 8 TCK work?  One it's up and running you could focus on the 
JAX-RS section of the TCK.

Our overall status in this regard is this has seen little to no attention since 
August, yet we have people showing up regularly offering to help.

What we need is a couple people to dig into this area and put their minds to 
learning how to do it themselves, then to helping others do it too; responding 
to "how can I help" emails with "work with us on the tck, here's how."

It's a no-fail task as easily there've been over 50 people offer to help that 
we've not been able to get successfully enabled to help, so honestly and truly 
any improvement is seriously impactful.  Perfection is impossible, any step 
forward is a good one.

Does this sound like fun?

Helber, what do you think?

Anyone else think this sounds exciting?


-David






smime.p7s
Description: S/MIME cryptographic signature


Re: How can I help?

2020-06-15 Thread David Blevins
Hi Nagasitaram,

Looks like Thiago grabbed that issue over the weekend.  Are you still looking 
to help?

We've got a few different initiatives going on.  Maybe you have some preference 
in where we can steer you:

 - Jakarta EE 8 compliance: Immediate: some help getting people to know how to 
run the TCK. Long-term: help fixing tests

 - Jakarta EE 9 compliance: Immediate: help kicking the tires on the prototype 
'jakarta' TomEE server; i.e. writing apps that use jakarta.ws.rs.Post, 
jakarta.persistence.Entity, etc and report issues.

 - Bug fixing:  We've got 550 open issues.  Hard part is picking one.

 - User list: there might be some questions you know the answers to.  This may 
seem small, but if "Einstein is mopping the floor" because there is no janitor, 
getting contributions from either a janitor or another Einstein can change the 
world. :)  One is easier than the other :)

Let me now what kind of things sound interesting and I'll see what might fit.


-- 
David Blevins
http://twitter.com/dblevins
http://www.tomitribe.com

> On Jun 7, 2020, at 9:44 AM, David Blevins  wrote:
> 
> Hi Nagasitaram!
> 
> It's very great to from you and it's truly awesome when a user of TomEE 
> decides to contribute.  Big applause to you and OpenText!
> 
> First of all, do not get intimidated by your first ticket.  If it ends up 
> being too hard or just not fun, let's find something else for you.  There is 
> always plenty of do.  People have a way of 1) putting too much pressure on 
> themselves and 2) not asking questions for fear of being seen as "not smart." 
>  Don't let that happen to you.  Be chatty and talk, that's the only way :)
> 
> I created this ticket for you which is an area we're working on now with the 
> javax-to-jakarta namespace change.
> 
> - https://issues.apache.org/jira/browse/TOMEE-2838
> 
> The short version is "grab the jackson source code and see if you can find 
> where in the code `javax.xml` is being referenced.  Bonus, see if you can 
> figure out at least a little what it's doing"
> 
> I suspect their source is on github somewhere, if it is find the file and 
> post a link to the list.  You can then dig into the source itself with the 
> help of anyone else in the community who is interested.
> 
> There are actually about 2500 of these kind of references we need to 
> investigate, so really even a "I kind of think it might be doing x, but I'm 
> not sure" is super helpful.
> 
> - https://github.com/dblevins/tomee-analysis
> 
> If there are others reading who are interested in helping, I can give you a 
> chunk of references too.  There are plenty!
> 
> -- 
> David Blevins
> http://twitter.com/dblevins
> http://www.tomitribe.com
> 
>> On Jun 6, 2020, at 10:48 PM, Nagasitaram Thigulla 
>>  wrote:
>> 
>> Hello,
>> 
>> I am Nagasitaram, currently working as a Software Developer at Opentext on
>> Appworks Platform. Appworks uses TomEE Plus as the Server. As working on
>> this tool for a long time I got interested in its underlying technology.
>> 
>> I am good at Java and Groovy, and unit testing with JUnit and TestNG. I
>> have worked on building REST API's using JAX-RS and config sources using
>> Microprofile API. I am ready to contribute to TomEE.
>> 
>> I am expecting a simple task to start with.
>> 
>> -- 
>> *Regards*
>> *Nagasitaram*
> 



smime.p7s
Description: S/MIME cryptographic signature


Re: TomEE Security API implementation

2020-06-15 Thread Cesar Hernandez
Hi Belber,
The ticket is now assigned to you.
Thank you!

El dom., 14 jun. 2020 a las 9:37, Helber Belmiro ()
escribió:

> Thank you @Daniel.
>
> I will correct the documentation.
> Can anyone assign the ticket to me, please?
> TOMEE-2849 
>
>
> > On 14 Jun 2020, at 00:00, Daniel Dias Dos Santos <
> daniel.dias.analist...@gmail.com> wrote:
> >
> > Hello @Helber,
> >
> > I find this :
> >
> >
> https://ci.eclipse.org/jakartaee-tck/job/build-glassfish/lastSuccessfulBuild/artifact/appserver/distributions/glassfish/target/glassfish.zip
> >
> > in
> >
> https://github.com/eclipse-ee4j/jakartaee-tck/wiki/Instructions-for-building-and-running-JakartaEE-TCK-bundle
> >
> > --
> >
> > *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 sáb., 13 de jun. de 2020 às 13:00, Helber Belmiro <
> > helber.belm...@gmail.com> escreveu:
> >
> >> There is an incorrect URL in the TCK’s README.
> >>
> >>
> >>
> https://ci.eclipse.org/glassfish/job/glassfish/job/master/lastSuccessfulBuild/artifact/bundles/
> >> <
> >>
> https://ci.eclipse.org/glassfish/job/glassfish/job/master/lastSuccessfulBuild/artifact/bundles/
> >>>
> >>
> >> I created an issue: TOMEE-2849 <
> >> https://issues.apache.org/jira/browse/TOMEE-2849>
> >> Does anybody know the right URL?
> >>
> >>
> >>> On 10 Jun 2020, at 15:14, Cesar Hernandez 
> wrote:
> >>>
> >>> Hi Thiago,
> >>>
> >>> Besides the Security API, are there more components that need to be
>  implemented to certify the TomEE?
> >>>
> >>>
> >>> Jean-Louis already provided the details but in terms of more pending
> >> task.
> >>> We need to do package migration javax to Jakarta for the javaee-api.
> >>> you can follow up the thread "Move javaee-api to Git."
> >>>
> >>
> https://lists.apache.org/thread.html/r477be5052449859988e02a2f8f1a343bd185e5f3f06b83ed267da523%40%3Cdev.tomee.apache.org%3E
> >>>
> >>>
> >>> I'd like to run the TCK on my machine, is there any place where I can
> >> find
>  how to do it?
> >>>
> >>> Instruction is in the TCK TomEE repo:
> >> https://github.com/apache/tomee-tck
> >>>
> >>> El mié., 10 jun. 2020 a las 11:56, Thiago Henrique Hupner (<
> >> thi...@gmail.com>)
> >>> escribió:
> >>>
>  I'd like to run the TCK on my machine, is there any place where I can
> >> find
>  how to do it?
> 
>  Em qua., 10 de jun. de 2020 às 14:47, Jean-Louis Monteiro <
>  jlmonte...@tomitribe.com> escreveu:
> 
> > Hey Thiago,
> >
> > Aside from JASPIC and SecurityAPI which are close to zero.
> > There is JAXRS and JTA which are around 50%
> >
> > Other specs are close to 100% coverage, so it's really a few edge
> cases
>  to
> > fix.
> > JAX RS might be a good one to pick because I think it's more an
>  infra/setup
> > issue in the TCK project.
> > We rely on CXF and we should not be this far.
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
> >
> > On Wed, Jun 10, 2020 at 2:47 PM Thiago Henrique Hupner <
> >> thi...@gmail.com
> >
> > wrote:
> >
> >> Besides the Security API, are there more components that need to be
> >> implemented to certify the TomEE?
> >>
> >> Em qua., 10 de jun. de 2020 às 09:43, Jean-Louis MONTEIRO <
> >> jeano...@gmail.com> escreveu:
> >>
> >>> Hello community,
> >>>
> >>> As part of the TCK work to certify TomEE, I started a few weeks ago
>  to
> >> move
> >>> on with our Security API implementation.
> >>>
> >>> I pushed my latest changes to
>  https://github.com/apache/tomee/pull/658
> >>>
> >>> If someone wants to help, there is enough work to do ;-)
> >>> For a few days I won't be able to work on it. Back next week.
> >>>
> >>> So far we are halfway with Jakarta TCK.
> >>>
> >>> Completed running 86 tests (0:04:29.583):
> >>>
> >>>   Passed: 44
> >>>   Failed: 42
> >>>   Errors: 0
> >>>
> >>> LDAP is about 20 tests and the IdentityStore is for the moment
> wired
> > but
> >>> empty.
> >>>
> >>> --
> >>> Jean-Louis
> >>>
> >>
> >
> 
> >>>
> >>>
> >>> --
> >>> Atentamente:
> >>> César Hernández.
> >>
> >>
>
>

-- 
Atentamente:
César Hernández.


Re: JSON-B Adapter Not Invoked

2020-06-15 Thread David Blevins
Hey, chege.

Are you interested in helping with this at all as a project developer?  If, so 
an Arquillian test in this module would be a perfect start:

 - 
https://github.com/apache/tomee/tree/master/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests

If not, can you drop the dev@ list from the response so we know not to send you 
"how to help the project" answers.  We definitely do need help, anyone is truly 
welcome and honestly any bit helps, but we don't want to push people if that 
isn't their intention.


-David

> On Jun 15, 2020, at 4:08 AM, chege  wrote:
> 
> Hi,
> 
> I am facing a problem where jsonb adapter is not invoked.
> Here is a simplified case.
> 
> jaxrs application
> ---
> 
> @ApplicationPath("/app")
> public class App extends Application{
> 
> }
> 
> adapter
> 
> 
> public class B implements JsonbAdapter {
> 
>@Override
>public JsonObject adaptToJson(Book obj) throws Exception {
>return Json.createObjectBuilder()
>.add("customfield", obj.getId() + " " + obj.getTitle())
>.build();
>}
> 
>@Override
>public Book adaptFromJson(JsonObject obj) throws Exception {
>throw new UnsupportedOperationException("Not supported yet.");
> //To change body of generated methods, choose Tools | Templates.
>}
> 
> }
> 
> dto
> 
> public class Book {
> 
>private int id;
>private String title;
> 
>public Book() {
>}
> 
>public Book(int id, String title) {
>this.id = id;
>this.title = title;
>}
> 
>public int getId() {
>return id;
>}
> 
>public void setId(int id) {
>this.id = id;
>}
> 
>public String getTitle() {
>return title;
>}
> 
>public void setTitle(String title) {
>this.title = title;
>}
> 
> }
> 
> resource
> ---
> 
> @Path("/r")
> public class R {
> 
>@GET
>@Produces({MediaType.APPLICATION_JSON})
>public Response response() {
>Book book = new Book(100, "Apache Tomee");
>JsonbConfig config = new JsonbConfig()
>.withFormatting(true)
>.withAdapters(new B());
>Jsonb jsonb = JsonbBuilder.create(config);
>String toJson = jsonb.toJson(book);
>return Response.ok(toJson).build();
>}
> 
> }
> 
> What am i missing?
> 
> Thanks.
> 



smime.p7s
Description: S/MIME cryptographic signature


TOMEE-2849 Fixing tomee-tck TCK's README.adoc (was Re: TomEE Security API implementation)

2020-06-15 Thread David Blevins
Hey Helber!

I've assigned that issue to you.  I think that doc might be a little more 
outdated that just that URL.  Last update is August 2019 which is before the 
Jakarta EE 8 release on Sept 10th.  The right update might be to get the doc 
pointed at the final versions.

Here's the final TCK we can use for certification:

 - 
https://download.eclipse.org/jakartaee/platform/8/jakarta-jakartaeetck-8.0.2.zip

Here's (nearly) the link to the GlassFish version that goes with that TCK:

 - 
https://www.eclipse.org/downloads/download.php?file=/glassfish/glassfish-5.1.0.zip

That last one is actually a "select a mirror" link.

I'm not too sure if other updates are required.


-- 
David Blevins
http://twitter.com/dblevins
http://www.tomitribe.com

> On Jun 14, 2020, at 8:37 AM, Helber Belmiro  wrote:
> 
> Thank you @Daniel.
> 
> I will correct the documentation.
> Can anyone assign the ticket to me, please?
> TOMEE-2849 
> 
> 
>> On 14 Jun 2020, at 00:00, Daniel Dias Dos Santos 
>>  wrote:
>> 
>> Hello @Helber,
>> 
>> I find this :
>> 
>> https://ci.eclipse.org/jakartaee-tck/job/build-glassfish/lastSuccessfulBuild/artifact/appserver/distributions/glassfish/target/glassfish.zip
>> 
>> in
>> https://github.com/eclipse-ee4j/jakartaee-tck/wiki/Instructions-for-building-and-running-JakartaEE-TCK-bundle
>> 
>> --
>> 
>> *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 sáb., 13 de jun. de 2020 às 13:00, Helber Belmiro <
>> helber.belm...@gmail.com> escreveu:
>> 
>>> There is an incorrect URL in the TCK’s README.
>>> 
>>> 
>>> https://ci.eclipse.org/glassfish/job/glassfish/job/master/lastSuccessfulBuild/artifact/bundles/
>>> <
>>> https://ci.eclipse.org/glassfish/job/glassfish/job/master/lastSuccessfulBuild/artifact/bundles/
 
>>> 
>>> I created an issue: TOMEE-2849 <
>>> https://issues.apache.org/jira/browse/TOMEE-2849>
>>> Does anybody know the right URL?
>>> 
>>> 
 On 10 Jun 2020, at 15:14, Cesar Hernandez  wrote:
 
 Hi Thiago,
 
 Besides the Security API, are there more components that need to be
> implemented to certify the TomEE?
 
 
 Jean-Louis already provided the details but in terms of more pending
>>> task.
 We need to do package migration javax to Jakarta for the javaee-api.
 you can follow up the thread "Move javaee-api to Git."
 
>>> https://lists.apache.org/thread.html/r477be5052449859988e02a2f8f1a343bd185e5f3f06b83ed267da523%40%3Cdev.tomee.apache.org%3E
 
 
 I'd like to run the TCK on my machine, is there any place where I can
>>> find
> how to do it?
 
 Instruction is in the TCK TomEE repo:
>>> https://github.com/apache/tomee-tck
 
 El mié., 10 jun. 2020 a las 11:56, Thiago Henrique Hupner (<
>>> thi...@gmail.com>)
 escribió:
 
> I'd like to run the TCK on my machine, is there any place where I can
>>> find
> how to do it?
> 
> Em qua., 10 de jun. de 2020 às 14:47, Jean-Louis Monteiro <
> jlmonte...@tomitribe.com> escreveu:
> 
>> Hey Thiago,
>> 
>> Aside from JASPIC and SecurityAPI which are close to zero.
>> There is JAXRS and JTA which are around 50%
>> 
>> Other specs are close to 100% coverage, so it's really a few edge cases
> to
>> fix.
>> JAX RS might be a good one to pick because I think it's more an
> infra/setup
>> issue in the TCK project.
>> We rely on CXF and we should not be this far.
>> --
>> Jean-Louis Monteiro
>> http://twitter.com/jlouismonteiro
>> http://www.tomitribe.com
>> 
>> 
>> On Wed, Jun 10, 2020 at 2:47 PM Thiago Henrique Hupner <
>>> thi...@gmail.com
>> 
>> wrote:
>> 
>>> Besides the Security API, are there more components that need to be
>>> implemented to certify the TomEE?
>>> 
>>> Em qua., 10 de jun. de 2020 às 09:43, Jean-Louis MONTEIRO <
>>> jeano...@gmail.com> escreveu:
>>> 
 Hello community,
 
 As part of the TCK work to certify TomEE, I started a few weeks ago
> to
>>> move
 on with our Security API implementation.
 
 I pushed my latest changes to
> https://github.com/apache/tomee/pull/658
 
 If someone wants to help, there is enough work to do ;-)
 For a few days I won't be able to work on it. Back next week.
 
 So far we are halfway with Jakarta TCK.
 
 Completed running 86 tests (0:04:29.583):
 
  Passed: 44
  Failed: 42
  Errors: 0
 
 LDAP is about 20 tests and the IdentityStore is for the moment wired
>> but
 empty.
 
 --
 Jean-Louis
 
>>> 
>> 
> 
 
 
 --
 Atentamente:
 César Hernández.

Re: [ANN] Apache TomEE 8.0.2, 7.1.3, 7.0.8

2020-06-15 Thread David Blevins
> On Jun 15, 2020, at 5:42 AM, COURTAULT Francois 
>  wrote:
> 
> Hello Jonathan,
> 
> Congrats for these new versions :-)
> 
> BTW, I have seen that some potential bugs I have submitted are not fixed.
> When do you think these potential fixes will be released ? in the next 
> version 8.0.3 ? 8.1.x ?
> 
> And what about following more recent MP specs ? 

The short answer is "sooner if you are able to help" :)

We've got 550 issues in the backlog and our rate of being able to address them 
is about half of the rate at which they're being filed (64 filed in 2020, 35 
resolved).

The ratio of people who need help and the people who help is not in our favor, 
which is why we're beyond on basic maintenance, MP and Jakarta EE 8 compliance.

It's ok if you are unable to help, but if that's the case can I ask you 
politely to not post to the dev list?  When someone posts a problem to the dev 
list it's implied they're looking help with it in some way and will (ideally) 
get an answer that enables them to be helpful.

We don't, however, want to make people feel uncomfortable, so if you aren't 
looking for ways to help it's best to use the users@ list instead.

We haven't been asking this of people, but we should probably start as 
"enabling helpers" is going to be the primary factor on helping us catch up.

Hope you find this useful and with the best of intentions.


-David




smime.p7s
Description: S/MIME cryptographic signature


Re: Javax to Jakarta Bytecode transformation progress

2020-06-15 Thread Jonathan Gallimore
Thanks for this update. I've rebased the latest Eclipse Transformer code
from upstream and will push that, and try a build with your PR.

Jon

On Mon, Jun 15, 2020 at 12:15 AM David Blevins 
wrote:

> Ok, here's a quick status as to where I got.
>
>  - Picked through our remaining ambiguous "javax" string references and
> fixed them by checking in the affected file at the library version we're
> using, then took a look at their master branch to see how they've adapter
> for the "jakarta" namespace and applied that fix to our copy.
>
>  - Updated the tomee-patch-plugin to update strings in files and in the
> case of JSF update the path of the file; there are some
> '*-resources/javax.faces/" files.  Those were all renamed.
>
>  - Applied any bytecode transformations that the Eclipse Transformer
> missed.  Strings in annotation values were not being updated, nor were any
> module-info classes.  After that there were a few small string tweaks it
> probably could handle with the right configuration, but I just wanted to
> get this over with so I put them in the tomee-patch-plugin for now.
>
>  - Updated the tomee-patch-plugin to remove any signatures that are on any
> jars.
>
> The server boots and looks pretty good at least from a cursory
> perspective.  We need to do some more testing.
>
> Here's the PR which I think is ready to be merged so others can continue
> down this path.
>
>  - https://github.com/apache/tomee/pull/662
>
>
> -David
>
>


Obs - How can I help ?

2020-06-15 Thread Evaldo Junior
I am a member, of the brazilian jug SouJava.


Regards,


Evaldo Junior


Em dom., 14 de jun. de 2020 às 09:20, Evaldo Junior <
evaldoapjun...@gmail.com> escreveu:

>
> I am Developer, i have used different applications servers, among them the
> Apache Tomcat, during many years.
> I have interested in contribute to JAX-RS module to TomEE.
> I want to contribute to TomEE project, i hope to start with simple things.
> I can start to contribute in documentation of the project, with the
> translations, english to portuguese.
>
>
> Regards,
>
>
> Evaldo Junior
>


CVE-2020-11969 Apache TomEE - useJMX attribute on ActiveMQ resource adapter URI causes authenticated JMX port to be open

2020-06-15 Thread Jonathan Gallimore
CVE-2020-11969: Apache TomEE - useJMX attribute on ActiveMQ resource
adapter URI causes authenticated JMX port to be open

Severity: High

Vendor: The Apache Software Foundation

Versions Affected:
Apache TomEE 8.0.0-M1 - 8.0.1
Apache TomEE 7.1.0 - 7.1.2
Apache TomEE 7.0.0-M1 - 7.0.7
Apache TomEE 1.0.0 - 1.7.5

Description:
If Apache TomEE is configured to use the embedded ActiveMQ broker, and the
broker URI includes the useJMX=true parameter, a JMX port is opened on TCP
port 1099, which does not include authentication.

Mitigation:
- Upgrade to TomEE 7.0.8 or later
- Upgrade to TomEE 7.1.3 or later
- Upgrade to TomEE 8.0.2 or later

Alternatively, users may wish to remove the useJMX option from the URI (the
default is false).

- The Apache TomEE team.


[ANN] Apache TomEE 8.0.2, 7.1.3, 7.0.8

2020-06-15 Thread Jonathan Gallimore
The Apache TomEE team is pleased to announce the availability of TomEE
8.0.2. 7.1.3 and 7.0.8.

Apache TomEE delivers enterprise application containers and services based
on, but not limited to the Enterprise JavaBeans Specification and Java
Enterprise Edition Specifications.

These releases primarily provide bug fixes and update the
dependencies TomEE uses.

Notable changes include:

TomEE 8.0.2:

TOMEE-2788 - Upgrade Bouncycastle to 1.64
TOMEE-2612 - Update javaee-api to 8.0-4
TOMEE-2806 - Update WSS4J to 2.2.5
TOMEE-2811 - Update to Tomcat 9.0.35
TOMEE-2826 - Update ActiveMQ to 5.15.12
TOMEE-2808 - Update to Johnzon 1.2.5

Full release notes:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12312320=12346650

TomEE 7.1.3:

TOMEE-2788 - Upgrade Bouncycastle to 1.64
TOMEE-2806 - Update WSS4J to 2.2.5
TOMEE-2812 - Update to Tomcat 8.5.55
TOMEE-2826 - Update ActiveMQ to 5.15.12

Full release notes:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12312320=12347033

TomEE 7.0.8

TOMEE-2788 - Upgrade Bouncycastle to 1.64
TOMEE-2806 - Update WSS4J to 2.2.5
TOMEE-2812 - Update to Tomcat 8.5.55

Full release notes:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12312320=12346649

Downloads are available at: http://tomee.apache.org/download-ng.html

- The Apache TomEE team.


JSON-B Adapter Not Invoked

2020-06-15 Thread chege

Hi,

I am facing a problem where jsonb adapter is not invoked.
Here is a simplified case.

jaxrs application
---

@ApplicationPath("/app")
public class App extends Application{

}

adapter


public class B implements JsonbAdapter {

@Override
public JsonObject adaptToJson(Book obj) throws Exception {
return Json.createObjectBuilder()
.add("customfield", obj.getId() + " " + obj.getTitle())
.build();
}

@Override
public Book adaptFromJson(JsonObject obj) throws Exception {
throw new UnsupportedOperationException("Not supported yet.");
//To change body of generated methods, choose Tools | Templates.
}

}

dto

public class Book {

private int id;
private String title;

public Book() {
}

public Book(int id, String title) {
this.id = id;
this.title = title;
}

public int getId() {
return id;
}

public void setId(int id) {
this.id = id;
}

public String getTitle() {
return title;
}

public void setTitle(String title) {
this.title = title;
}

}

resource
---

@Path("/r")
public class R {

@GET
@Produces({MediaType.APPLICATION_JSON})
public Response response() {
Book book = new Book(100, "Apache Tomee");
JsonbConfig config = new JsonbConfig()
.withFormatting(true)
.withAdapters(new B());
Jsonb jsonb = JsonbBuilder.create(config);
String toJson = jsonb.toJson(book);
return Response.ok(toJson).build();
}

}

What am i missing?

Thanks.