Re: How Can I Help?

2018-12-28 Thread Gurkan Erdogdu
Hi Jeff
Welcome! You can start to look at
http://tomee.apache.org/community/index.html
To familiar with the TomEE source code, I think your first step is to get
the source code and try to produce your own release. Check
http://tomee.apache.org/community/sources.html
Regards.
Gurkan

On Sat, Dec 29, 2018 at 4:42 AM Jeff Mitchell 
wrote:

> Hi folks,
>
> My name is Jeff Mitchell and I’ve worked as a Java developer for a good
> part of my career. I’m currently working on a Java EE 7 project and I love
> the technology. I’d REALLY like to get better at what I do and to learn
> from people who are smarter and more experienced than me so I've come to
> you guys. The Tomitribe blog posts encouraged me to get involved.
>
> So… what can I do to help the project?
>
> Thanks,
> Jeff


How Can I Help?

2018-12-28 Thread Jeff Mitchell
Hi folks,

My name is Jeff Mitchell and I’ve worked as a Java developer for a good part of 
my career. I’m currently working on a Java EE 7 project and I love the 
technology. I’d REALLY like to get better at what I do and to learn from people 
who are smarter and more experienced than me so I've come to you guys. The 
Tomitribe blog posts encouraged me to get involved.

So… what can I do to help the project?

Thanks,
Jeff

Re: Microprofile jsonb configuration example proposal

2018-12-28 Thread Bruno Baptista

Hi Federico,

Usually it's set to solved after the PR is merged.

No worries. It should be fine.

Cheers.

Bruno Baptista
https://twitter.com/brunobat_


On 28/12/18 18:48, Federico Mariani wrote:

Hi Roberto,
I did a pull request for the task TOMEE-2428
, but i have a doubt
about jira, I put the jira task in resolved state, is it correct?
Thanks,
Federico

Il giorno ven 28 dic 2018 alle ore 15:42 Roberto Cortez
 ha scritto:


Done! Thank you!


On 28 Dec 2018, at 13:37, Federico Mariani <

federico.mariani.1...@gmail.com> wrote:

Hi Roberto,
I've created tasks TOMEE-2428 and TOMEE-2429, you can assign them to me.
If you find out anything wrong, just let me know.

Thanks,
Federico

Il giorno ven 28 dic 2018 alle ore 10:49 Roberto Cortez
 ha scritto:


Hi Federico,

If we don’t have them, please go ahead :)

Can you just create a JIRA issue for each example with a small
description? I can assign them to you.

Thank you!

Cheers,
Roberto


On 28 Dec 2018, at 01:03, Federico Mariani <

federico.mariani.1...@gmail.com> wrote:

Hi everyone,
can be useful an example that shows jsonb configuration and custom
serialization/deserialization?
I have already worked on it and have some examples to share.

Cheers,
Federico






Re: Microprofile release train

2018-12-28 Thread Bruno Baptista

Sure, will take a look and will try to run the TCK.

Bruno Baptista
https://twitter.com/brunobat_


On 28/12/18 21:41, Jean-Louis Monteiro wrote:

Thanks Bruno.
I just pushed something there.

I did not check so if you have some time to give it a look, that'd be great
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Fri, Dec 28, 2018 at 12:01 PM Bruno Baptista  wrote:


Hi,

As far as I can see, the API has changed and we now only need to
customize it like this:

@ApplicationScoped
public  class  MyExecutionManagerProvider  {
  @Resource
  @Produces
  @Safeguard
  private  ManagedScheduledExecutorService  executor;
}

See at the bottom of the doc: https://github.com/apache/geronimo-safeguard

Cheers

Bruno Baptista
https://twitter.com/brunobat_


On 28/12/18 07:55, Jean-Louis Monteiro wrote:

Hey Bruno,

I'll push it. Was fixing the build after some PR merges
Issue is in FailsafeContainerExecutionManagerProvider

If you get a chance to look at it. Otherwise I'll look right after the
breakfast.

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


On Thu, Dec 27, 2018 at 4:08 PM Roberto Cortez



wrote:


Does it require anything special? Just adding the JAR is not enough?


On 27 Dec 2018, at 12:02, Bruno Baptista  wrote:

Do you want help with that?

Bruno Baptista
https://twitter.com/brunobat_


On 27/12/18 11:24, Jean-Louis Monteiro wrote:

TomEE integration in fault tolerance

Le jeu. 27 déc. 2018 à 11:58, Roberto Cortez



a écrit :


With the MP impls and TomEE integration?


On 27 Dec 2018, at 10:48, Jean-Louis Monteiro <

jlmonte...@tomitribe.com>

wrote:

Sorry for the delay guys, but there are some compilation issues to

fix.

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


On Wed, Dec 26, 2018 at 7:08 PM Bruno Baptista 

wrote:

All good for now.

Bruno Baptista
https://twitter.com/brunobat_


On 26/12/18 12:09, Roberto Cortez wrote:

Hi JL,

Please, go ahead.

I think Bruno had some ideas regarding Fault Tolerance.

Cheers,
Roberto


On 26 Dec 2018, at 11:57, Ivan Junckes Filho <

ivanjunc...@gmail.com>

wrote:

Cool JL thanks! I will need a change in geronimo-metrics to fix a

gauge

issue in  metrics. After that my pr

https://github.com/apache/tomee/pull/213

 should work.

On Wed, Dec 26, 2018 at 9:42 AM Jean-Louis Monteiro <
jlmonte...@tomitribe.com> wrote:


Most of the implementations we are integrating in TomEE are

hosted in

Geronimo yes.
Release process is done, Romain has done it over the weekend.

So I'll proceed and create the tickets and do the upgrade in

TomEE

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


On Wed, Dec 26, 2018 at 12:28 PM Matthew Broadhead
 wrote:


should we be on geronimo list?  i would like to monitor the

process

On 26/12/2018 12:08, Jean-Louis Monteiro wrote:

Hi,

In case you missed it, MicroProfile implementations are under

vote

on

the

geronimo side of things.

I'll proceed with the RESULT emails and with the process.
Is there any objection if I update them all in TomEE?

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


--
Mr MT Broadhead
Nigel Broadhead Mynard
See the latest jobs available at NBM @
https://nbmlaw.co.uk/recruitment.htm

32 Rainsford Road
Chelmsford Essex CM1 2QG
Tel: 01245 269909 Fax: 01245 261932
https://nbmlaw.co.uk

Partners: WJ Broadhead NP Eason SJ Lacey CR Broadhead D

Seepaul T

Carley

Nigel Broadhead Mynard Solicitors are authorised and regulated

by

the

Solicitors Regulation Authority. We are also bound by their

code

of

conduct. Registered no. 00061052

Nigel Broadhead Mynard also provide a will writing service, see
https://nbmlaw.co.uk/wills.htm for more information

Confidentiality: Information in this message is confidential

and

may

be

legally privileged. It is intended solely for the recipient to

whom

it is

addressed. If you receive the message in error, please notify

the

sender

and immediately destroy all copies.

Security warning: Please note that this e-mail has been created

in

the

knowledge that e-mail is not a 100% secure communications

medium. We

advise

you that you understand and observe this lack of security when

e-mailing

us. This e-mail does not constitute a legally binding document.

No

contracts may be concluded on behalf of Nigel Broadhead Mynard

Solicitors

by e-mail communications.

Disclaimer: Please be aware of cyber crime. Nigel Broadhead

Mynard

will

not take responsibility if you transfer money to a wrong bank

account.

Please speak to your Solicitor before transferring any money.

If

you

receive an email from Nigel Broadhead Mynard requesting your

bank

details

or telling you our bank details have changed, please contact

your

Solicitor

immediately to clarify.

PLEASE ALSO NOTE that Nigel Broadhead Mynard only use emails

Re: TomEE logo poll

2018-12-28 Thread Bruno Baptista

+1

Bruno Baptista
https://twitter.com/brunobat_


On 28/12/18 16:32, Ivan Junckes Filho wrote:

Hey guys, we have been through this discussion before but I don't think we
ever had a conclusion. In my opinion would be very important for the
project to have a logo and now TomEE is getting a lot of exposure why not
take advantage of the moment and promote TomEE even more with a great logo?

These are some options proposed in the past:
https://issues.apache.org/jira/browse/TOMEE-574

We could do something like David did here for JakartaEE:
https://github.com/eclipse-ee4j/ee4j/issues/11

And the winning logo would be the one with the most number of thumbs up.

What do you guys think?



Re: Move to Gitbox?

2018-12-28 Thread Jean-Louis Monteiro
+1
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Thu, Dec 13, 2018 at 4:12 PM Roberto Cortez 
wrote:

> I’ve just remembered about this:
>
> How about other repos not part of the main tomee one but sitting in the
> project that are on SVN?
> https://svn.apache.org/repos/asf/tomee/ <
> https://svn.apache.org/repos/asf/tomee/>
>
> I would like to at least have the javaee-api project moved to Git as well.
>
> What do you think?
>
> Cheers,
> Roberto
>
> > On 13 Dec 2018, at 10:13, Jean-Louis Monteiro 
> wrote:
> >
> > Thank you
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
> >
> > On Thu, Dec 13, 2018 at 11:12 AM Jonathan Gallimore <
> > jonathan.gallim...@gmail.com> wrote:
> >
> >> Ticket filed. https://issues.apache.org/jira/browse/INFRA-17417
> >>
> >> I believe its basically automated - the git-wip remote will become a
> gitbox
> >> remote. I'll ask about the PRs.
> >>
> >> Jon
> >>
> >> On Thu, Dec 13, 2018 at 10:06 AM Jean-Louis Monteiro <
> >> jlmonte...@tomitribe.com> wrote:
> >>
> >>> Do you know how smooth it will be?
> >>> I mean, what about current PRs?
> >>>
> >>> --
> >>> Jean-Louis Monteiro
> >>> http://twitter.com/jlouismonteiro
> >>> http://www.tomitribe.com
> >>>
> >>>
> >>> On Thu, Dec 13, 2018 at 10:58 AM Jonathan Gallimore <
> >>> jonathan.gallim...@gmail.com> wrote:
> >>>
>  Looks like we have good support for this, so I'll get this started.
> 
>  Jon
> 
>  On Tue, Dec 11, 2018 at 11:44 AM Jonathan Gallimore <
>  jonathan.gallim...@gmail.com> wrote:
> 
> > Hi Folks
> >
> > It appears that the git-wip service is going to be retired, and the
> > repositories are going to be migrated over to Gitbox -
> > https://gitbox.apache.org/.
> >
> > We can voluntarily move to GitBox anytime between now and January 9th
> > 2019. After January 9th, Infra will require us to move to move within
> >>> one
> > month by February 7th 2019.
> >
> > I propose that we be proactive and look to move now, and we should
> >> get
>  the
> > benefits of better GitHub integration, which given that we are seeing
> > bigger numbers of PRs coming through GitHub, this seems to make sense
> >>> to
>  me.
> >
> > I'm happy to work with infra, and provide guidance to everyone on
> >> this
> > list. We don't necessarily need a vote, but we do need consensus on
> >>> this
> > list in order to move ahead.
> >
> > Are there any objections or other feedback?
> >
> > Many thanks
> >
> > Jon
> >
> >
> >
> >
> >
> 
> >>>
> >>
>
>


Re: [DISCUSS] 1.x EOL

2018-12-28 Thread Jean-Louis Monteiro
Same view here.
Fine with me to apply patches (security for instance) but no active
development
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Thu, Dec 13, 2018 at 5:41 PM Jonathan Gallimore <
jonathan.gallim...@gmail.com> wrote:

> My view is still the same. I'm still willing to patch and release from
> 1.7.x. At the stage, I don't think we could consider getting it working
> with Java 11, and I wouldn't actively develop this branch, but I'd be
> willing to apply fixes and patches to it where possible.
>
> Jon
>
> On Thu, Dec 13, 2018 at 1:09 PM Roberto Cortez  >
> wrote:
>
> > Hi folks,
> >
> > I’m sorry for digging back this old thread.
> >
> > I think we never ended up making a decision on this, and a year and a
> half
> > as passed since we discussed this.
> >
> > So, I would like to bring to the table again the discussion around
> > supporting TomEE 1.x and EOL.
> >
> > Cheers,
> > Roberto
> >
> > > On 30 Jun 2017, at 22:34, Romain Manni-Bucau 
> > wrote:
> > >
> > > As mentionned tomcat 8.0 EOL has been announced, here is the
> interesting
> > > part of it:
> > >
> > > "
> > > The Apache Tomcat team announces that support for Apache Tomcat 8.0.x
> > > will end on 30 June 2018.
> > >
> > > This means that after 30 June 2018:
> > > - releases from the 8.0.x branch are highly unlikely
> > > - bugs affecting only the 8.0.x branch will not be addressed
> > > - security vulnerability reports will not be checked against the 8.0.x
> > >  branch
> > >
> > > Three months later (i.e. after 30 September 2017)
> > > - the 8.0.x download links will be removed
> > > - the latest 8.0.x release will be removed from the mirror system
> > > - the 8.0.x branch in svn will move from /tomcat/tc8.0.x to
> > >  /tomcat/archive/tc8.0.x
> > > - the links to the 8.0.x documentation will be removed from
> > >  tomcat.apache.org
> > > "
> > >
> > > We are already on 8.5 so not directly impacted for 7.x but think we can
> > > take it as a good example for 1.x.
> > >
> > >
> > >
> > > Romain Manni-Bucau
> > > @rmannibucau  |  Blog
> > >  | Old Blog
> > >  | Github <
> > https://github.com/rmannibucau> |
> > > LinkedIn  | JavaEE Factory
> > > 
> > >
> > > 2017-06-19 16:14 GMT+02:00 Romain Manni-Bucau :
> > >
> > >>
> > >>
> > >> 2017-06-19 16:04 GMT+02:00 Jonathan Gallimore <
> > >> jonathan.gallim...@gmail.com>:
> > >>
> > >>> Firstly, I note the page Romain started - thank you for listening to
> my
> > >>> feedback. I'd be happy to test instructions and contribute to that
> > page. I
> > >>> suspect some DBCP(2) settings are different so we should call those
> > out.
> > >>> I'll also try and help build it out into a step by step guide.
> > >>>
> > >>
> > >> Hmm, database pool can need there own thread but current doc basically
> > >> says "read the pool doc" cause each time we copied it, we ended up
> > messing
> > >> more than solving in term of user experience so I'm not sure we should
> > do
> > >> this exercise. That said +1 to add a point saying it should be
> > validated.
> > >> Tomcat pool being the default we shouldn't be too much affected in
> > "prod".
> > >>
> > >>
> > >>>
> > >>> Secondly, I have been thinking about the EOL. I personally really
> > dislike
> > >>> the term 'End of life' for an Open Source project / branch. The
> branch
> > >>> will
> > >>> ultimately live on while there are committers / contributors whether
> > >>> individual or organizations that are prepared to provide patches. The
> > >>> OpenEJB Eclipse Plugin could be thought of as "End Of Life", but if
> > >>> someone
> > >>> showed up on the mailing list wanting to use it with the latest
> > version of
> > >>> Eclipse, and it didn't work (which I expect is the case), or found a
> > bug,
> > >>> truthfully, I would be simply delighted to update it - so in that
> > regard
> > >>> it
> > >>> isn't EOL.
> > >>>
> > >>
> > >> Agree but think not using EOL would be misleading. What we want is to:
> > >>
> > >> 1. show 1.x is not more active
> > >> 2. 1.x is no more maintained (and once again this is not linked to our
> > >> only will in term of OS ecosystem)
> > >> 3. you should migrate to 7
> > >>
> > >> I'm fine detailling it in the announce but not sure if using a more
> > >> accurate term (EOS - end of support ?) wouldn't be more misleading :s
> > >>
> > >>
> > >>>
> > >>> Similarly, if someone / an organization wanted to contribute and
> > maintain
> > >>> 1.7.x, then there shouldn't really be any blocker to them doing so,
> and
> > >>> therefore it also wouldn't be EOL.
> > >>>
> > >>
> > >> Well the OS side is a blocker. This means 1.x needs to live with a
> tons
> > of
> > >> fork which should be ack by tomee project before being an option.
> > >>
> > >>
> > >>>
> > >>> I do, however, appreciate that there is a 

Re: Microprofile release train

2018-12-28 Thread Jean-Louis Monteiro
Thanks Bruno.
I just pushed something there.

I did not check so if you have some time to give it a look, that'd be great
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Fri, Dec 28, 2018 at 12:01 PM Bruno Baptista  wrote:

> Hi,
>
> As far as I can see, the API has changed and we now only need to
> customize it like this:
>
> @ApplicationScoped
> public  class  MyExecutionManagerProvider  {
>  @Resource
>  @Produces
>  @Safeguard
>  private  ManagedScheduledExecutorService  executor;
> }
>
> See at the bottom of the doc: https://github.com/apache/geronimo-safeguard
>
> Cheers
>
> Bruno Baptista
> https://twitter.com/brunobat_
>
>
> On 28/12/18 07:55, Jean-Louis Monteiro wrote:
> > Hey Bruno,
> >
> > I'll push it. Was fixing the build after some PR merges
> > Issue is in FailsafeContainerExecutionManagerProvider
> >
> > If you get a chance to look at it. Otherwise I'll look right after the
> > breakfast.
> >
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
> >
> > On Thu, Dec 27, 2018 at 4:08 PM Roberto Cortez
> 
> > wrote:
> >
> >> Does it require anything special? Just adding the JAR is not enough?
> >>
> >>> On 27 Dec 2018, at 12:02, Bruno Baptista  wrote:
> >>>
> >>> Do you want help with that?
> >>>
> >>> Bruno Baptista
> >>> https://twitter.com/brunobat_
> >>>
> >>>
> >>> On 27/12/18 11:24, Jean-Louis Monteiro wrote:
>  TomEE integration in fault tolerance
> 
>  Le jeu. 27 déc. 2018 à 11:58, Roberto Cortez
> >> 
>  a écrit :
> 
> > With the MP impls and TomEE integration?
> >
> >> On 27 Dec 2018, at 10:48, Jean-Louis Monteiro <
> >> jlmonte...@tomitribe.com>
> > wrote:
> >> Sorry for the delay guys, but there are some compilation issues to
> >> fix.
> >> --
> >> Jean-Louis Monteiro
> >> http://twitter.com/jlouismonteiro
> >> http://www.tomitribe.com
> >>
> >>
> >> On Wed, Dec 26, 2018 at 7:08 PM Bruno Baptista 
> > wrote:
> >>> All good for now.
> >>>
> >>> Bruno Baptista
> >>> https://twitter.com/brunobat_
> >>>
> >>>
> >>> On 26/12/18 12:09, Roberto Cortez wrote:
>  Hi JL,
> 
>  Please, go ahead.
> 
>  I think Bruno had some ideas regarding Fault Tolerance.
> 
>  Cheers,
>  Roberto
> 
> > On 26 Dec 2018, at 11:57, Ivan Junckes Filho <
> >> ivanjunc...@gmail.com>
> >>> wrote:
> > Cool JL thanks! I will need a change in geronimo-metrics to fix a
> > gauge
> > issue in  metrics. After that my pr
> >>> https://github.com/apache/tomee/pull/213
> >  should work.
> >
> > On Wed, Dec 26, 2018 at 9:42 AM Jean-Louis Monteiro <
> > jlmonte...@tomitribe.com> wrote:
> >
> >> Most of the implementations we are integrating in TomEE are
> >> hosted in
> >> Geronimo yes.
> >> Release process is done, Romain has done it over the weekend.
> >>
> >> So I'll proceed and create the tickets and do the upgrade in
> TomEE
> >> --
> >> Jean-Louis Monteiro
> >> http://twitter.com/jlouismonteiro
> >> http://www.tomitribe.com
> >>
> >>
> >> On Wed, Dec 26, 2018 at 12:28 PM Matthew Broadhead
> >>  wrote:
> >>
> >>> should we be on geronimo list?  i would like to monitor the
> >> process
> >>> On 26/12/2018 12:08, Jean-Louis Monteiro wrote:
>  Hi,
> 
>  In case you missed it, MicroProfile implementations are under
> >> vote
> > on
> >> the
>  geronimo side of things.
> 
>  I'll proceed with the RESULT emails and with the process.
>  Is there any objection if I update them all in TomEE?
> 
>  Jean-Louis
>  --
>  Jean-Louis Monteiro
>  http://twitter.com/jlouismonteiro
>  http://www.tomitribe.com
> 
> >>> --
> >>> Mr MT Broadhead
> >>> Nigel Broadhead Mynard
> >>> See the latest jobs available at NBM @
> >>> https://nbmlaw.co.uk/recruitment.htm
> >>>
> >>> 32 Rainsford Road
> >>> Chelmsford Essex CM1 2QG
> >>> Tel: 01245 269909 Fax: 01245 261932
> >>> https://nbmlaw.co.uk
> >>>
> >>> Partners: WJ Broadhead NP Eason SJ Lacey CR Broadhead D
> Seepaul T
> >>> Carley
> >>> Nigel Broadhead Mynard Solicitors are authorised and regulated
> by
> > the
> >>> Solicitors Regulation Authority. We are also bound by their
> code
> >> of
> >>> conduct. Registered no. 00061052
> >>>
> >>> Nigel Broadhead Mynard also provide a will writing service, see
> >>> https://nbmlaw.co.uk/wills.htm for more 

[GitHub] tomee pull request #326: tomee-directory-structure.html formatting additions

2018-12-28 Thread pavelsmajda
GitHub user pavelsmajda opened a pull request:

https://github.com/apache/tomee/pull/326

tomee-directory-structure.html formatting additions

- Added title for tomee-directory-structure.html file
- Decreased font size for TomEE Directory Layout
- Changing *$tomee-install-dir>* to be in strong text format

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/pavelsmajda/tomee directorystructuretitle

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/tomee/pull/326.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #326


commit 4c2c873993acbbd4a88ff22c7103797bcbe596c4
Author: pavelsmajda 
Date:   2018-12-28T21:04:43Z

- Added title for tomee-directory-structure.html file
- Decreased font size for TomEE Directory Layout
- Changing *$tomee-install-dir>* to be in strong text format




---


Re: Java EE Security API for EE 8

2018-12-28 Thread David Jencks
Perhaps I didn’t recall correctly, or perhaps I implemented it for Jetty (at 
eclipse).  The code I’ve found at 
http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/security/authentication/
 

 includes a FormAuthenticator and a JaspiAuthenticator.  I don’t recall any 
details of how I modified tomcat’s auth setup: I might have made one that was 
more adapted to JASPIC and the geronimo security framework than the plain 
tomcat one.  If this code is of any use to you, great, otherwise, good luck!

many thanks
David Jencks

> On Dec 28, 2018, at 1:47 AM, Roberto Cortez  
> wrote:
> 
> Hi David,
> 
> Actually, the EE 8 Security spec tells you to use a JASPIC bridge underneath 
> the implementation, so your code might be a good fit. Can you point me out to 
> the sources so I can have a look?
> 
> Thank you!
> 
> Cheers,
> Roberto
> 
>> On 28 Dec 2018, at 03:40, David Jencks  wrote:
>> 
>> IIRC I wrote a JASPIC form authentication for the geronimo server long ago. 
>> Although the JASPIC deployment model was somewhat incomprehensibly bizarre, 
>> the conversation model was very nice. Depending on what the EE 8 api is (I 
>> haven’t looked) the JASPIC implementation might be a source for 
>> webserver-independent code for from authentication that could be easily 
>> adapted.
>> 
>> David Jencks
>> 
>>> On Dec 27, 2018, at 3:53 PM, Roberto Cortez  
>>> wrote:
>>> 
>>> Update:
>>> 
>>> I’ve started the implementation of the FormAuthenticationMechanism. Is not 
>>> as easy as it sounds, since it requires some conversation chat across 
>>> requests. I thought about wrapping all the logic and use the Tomcat 
>>> FormAuthenticator, since it does exactly what we need. Unfortunately, it is 
>>> too tied to the Tomcat code and it would require to instantiate a lot to 
>>> Tomcat objects to be able to use it. I’m not sure if it would be worth it. 
>>> I ended up following the spec suggestion to use a CDI interceptor and I’m 
>>> copying / reusing some pieces of the FormAuthentication when possible.
>>> 
>>> PR updated:
>>> https://github.com/apache/tomee/pull/277 
>>> 
>>> 
>>> Cheers,
>>> Roberto
>>> 
 On 26 Dec 2018, at 22:11, Roberto Cortez  
 wrote:
 
 Hi folks,
 
 I’ve updated the PR with new changes:
 
 - I’ve implemented a CDI Extension to create AuthenticationMechanism beans 
 and a CDI class to keep track of the mapping between the authentication 
 mechanism and the servlet that should be checked. When a Servlet is 
 executed the mapping is checked and if there is and associated 
 AuthenticationMechanism, we validate the request with the associated type 
 (Basic, Form, etc).
 
 - Implemented the BasicAuthenticationMechanism and all the plumbing 
 required to be executed. This required an HttpMessageContext to pass 
 information around, plus store some state to make decisions on things to 
 do, including the CallbackHandler to pass in additional Callbacks to 
 create the Principal and Groups
 
 - A default IdentityStore, using the Tomcat UserDatabase, that reads user 
 data from tomcat-users.xml
 
 I’ll probably move to implement the missing AuthenticationMechanisms (FORM 
 and Custom) next.
 
 Any feedback, always welcomed :)
 
 Cheers,
 Roberto
 
> On 19 Dec 2018, at 10:00, Bruno Baptista  wrote:
> 
> TomEE Security works for me.
> 
> Bruno Baptista
> https://twitter.com/brunobat_
> 
> 
> On 19/12/18 00:20, Roberto Cortez wrote:
>> Hi folks,
>> 
>> Work is progressing.
>> 
>> I’ve added a good chunk of the API (as needed) to allow me to proceed. 
>> I’ve tried to use the Jakarta Security API jar. Unfortunately, it is 
>> full of dependencies to the other Jakarta dependent projects, some not 
>> in central yet, so I couldn’t even build the project.
>> 
>> At the moment, I’ve added the structure to register a JASPIC provider to 
>> serve as a bride to the Security implementation code. With a CDI 
>> extension, we can register the required AuthenticationMechanisms and 
>> then look them up to delegate the authentication code.
>> 
>> I’ve also wrote a default IdentityStoreHandler to validate user 
>> credentials and retrieve user groups. This is just going through the 
>> container registered IdentityStores and using the spec rules to identify 
>> the credentials.
>> 
>> Right now, I’m just calling this TomEE Security. If someone has a more 
>> fancy idea for a name, feel free to suggest it :)
>> 
>> Cheers,
>> Roberto
>> 
>>> On 14 Dec 2018, at 23:44, Roberto Cortez  
>>> wrote:
>>> 

Re: TomEE logo poll

2018-12-28 Thread Richard Monson-Haefel
My Favorites are ones I created.

TomEE Logo Red-Eyed Tiger
TomEE Logo Lion (although, if I remember correctly, I think David may have
based his on this)

If not those than Paw Print 1 or TomEE_BigCat

On Fri, Dec 28, 2018 at 10:32 AM Ivan Junckes Filho 
wrote:

> Hey guys, we have been through this discussion before but I don't think we
> ever had a conclusion. In my opinion would be very important for the
> project to have a logo and now TomEE is getting a lot of exposure why not
> take advantage of the moment and promote TomEE even more with a great logo?
>
> These are some options proposed in the past:
> https://issues.apache.org/jira/browse/TOMEE-574
>
> We could do something like David did here for JakartaEE:
> https://github.com/eclipse-ee4j/ee4j/issues/11
>
> And the winning logo would be the one with the most number of thumbs up.
>
> What do you guys think?
>


-- 
Richard Monson-Haefel
https://twitter.com/rmonson
https://www.linkedin.com/in/monsonhaefel/


Re: Microprofile jsonb configuration example proposal

2018-12-28 Thread Federico Mariani
Hi Roberto,
I did a pull request for the task TOMEE-2428
, but i have a doubt
about jira, I put the jira task in resolved state, is it correct?
Thanks,
Federico

Il giorno ven 28 dic 2018 alle ore 15:42 Roberto Cortez
 ha scritto:

> Done! Thank you!
>
> > On 28 Dec 2018, at 13:37, Federico Mariani <
> federico.mariani.1...@gmail.com> wrote:
> >
> > Hi Roberto,
> > I've created tasks TOMEE-2428 and TOMEE-2429, you can assign them to me.
> > If you find out anything wrong, just let me know.
> >
> > Thanks,
> > Federico
> >
> > Il giorno ven 28 dic 2018 alle ore 10:49 Roberto Cortez
> >  ha scritto:
> >
> >> Hi Federico,
> >>
> >> If we don’t have them, please go ahead :)
> >>
> >> Can you just create a JIRA issue for each example with a small
> >> description? I can assign them to you.
> >>
> >> Thank you!
> >>
> >> Cheers,
> >> Roberto
> >>
> >>> On 28 Dec 2018, at 01:03, Federico Mariani <
> >> federico.mariani.1...@gmail.com> wrote:
> >>>
> >>> Hi everyone,
> >>> can be useful an example that shows jsonb configuration and custom
> >>> serialization/deserialization?
> >>> I have already worked on it and have some examples to share.
> >>>
> >>> Cheers,
> >>> Federico
> >>
> >>
>
>


[GitHub] tomee pull request #325: TOMEE-2428

2018-12-28 Thread Croway
GitHub user Croway opened a pull request:

https://github.com/apache/tomee/pull/325

TOMEE-2428



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/Croway/tomee TOMEE-2428

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/tomee/pull/325.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #325


commit 8024a37123b501c4d8ba59a526c5151a5586
Author: Mariani Federico 
Date:   2018-12-28T18:42:12Z

TOMEE-2428




---


[GitHub] tomee pull request #324: TOMEE-2399 add README.adoc for simple-remote-tomcat...

2018-12-28 Thread puneethps
GitHub user puneethps opened a pull request:

https://github.com/apache/tomee/pull/324

TOMEE-2399 add README.adoc for simple-remote-tomcatusers.

Added README.adoc for simple-remote-tomcatusers.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/puneethps/tomee master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/tomee/pull/324.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #324


commit 93d0b383ad46cb0daf48fe4f28e43dc6536e6a42
Author: Puneeth PS 
Date:   2018-12-28T18:34:39Z

adding README.adoc for simple-remote-tomcatusers.




---


Optmizes try catch #323

2018-12-28 Thread Otávio Gonçalves de Santana
   -

   Optimizes the try using the try-with-resources that allows us to declare
   resources to be used in a try block with the assurance that the resources
   will be closed when after execution of that block. An ARM automatic
   resource management by the JVM.
   -

   The use of multi-catch that removes redundancies catch treatment.

https://github.com/apache/tomee/pull/323


Re: TomEE logo poll

2018-12-28 Thread Otávio Gonçalves de Santana
+1

On Fri, Dec 28, 2018 at 3:38 PM Khalid HORRI  wrote:

> +1
>
> On Fri, Dec 28, 2018 at 6:29 PM Daniel Dias Dos Santos <
> daniel.dias.analist...@gmail.com> wrote:
>
> > +1
> > --
> >
> > *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 sex, 28 de dez de 2018 às 14:32, Ivan Junckes Filho <
> > ivanjunc...@gmail.com> escreveu:
> >
> > > Hey guys, we have been through this discussion before but I don't think
> > we
> > > ever had a conclusion. In my opinion would be very important for the
> > > project to have a logo and now TomEE is getting a lot of exposure why
> not
> > > take advantage of the moment and promote TomEE even more with a great
> > logo?
> > >
> > > These are some options proposed in the past:
> > > https://issues.apache.org/jira/browse/TOMEE-574
> > >
> > > We could do something like David did here for JakartaEE:
> > > https://github.com/eclipse-ee4j/ee4j/issues/11
> > >
> > > And the winning logo would be the one with the most number of thumbs
> up.
> > >
> > > What do you guys think?
> > >
> >
>
>
> --
> *تحياتي*
> Cordialement,
> Best regards
> ---
> *خالد حري*
> Khalid HORRI
> Consultant Technique en Java/JEE
>


Re: TomEE logo poll

2018-12-28 Thread Khalid HORRI
+1

On Fri, Dec 28, 2018 at 6:29 PM Daniel Dias Dos Santos <
daniel.dias.analist...@gmail.com> wrote:

> +1
> --
>
> *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 sex, 28 de dez de 2018 às 14:32, Ivan Junckes Filho <
> ivanjunc...@gmail.com> escreveu:
>
> > Hey guys, we have been through this discussion before but I don't think
> we
> > ever had a conclusion. In my opinion would be very important for the
> > project to have a logo and now TomEE is getting a lot of exposure why not
> > take advantage of the moment and promote TomEE even more with a great
> logo?
> >
> > These are some options proposed in the past:
> > https://issues.apache.org/jira/browse/TOMEE-574
> >
> > We could do something like David did here for JakartaEE:
> > https://github.com/eclipse-ee4j/ee4j/issues/11
> >
> > And the winning logo would be the one with the most number of thumbs up.
> >
> > What do you guys think?
> >
>


-- 
*تحياتي*
Cordialement,
Best regards
---
*خالد حري*
Khalid HORRI
Consultant Technique en Java/JEE


Re: TomEE logo poll

2018-12-28 Thread Daniel Dias Dos Santos
+1
--

*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 sex, 28 de dez de 2018 às 14:32, Ivan Junckes Filho <
ivanjunc...@gmail.com> escreveu:

> Hey guys, we have been through this discussion before but I don't think we
> ever had a conclusion. In my opinion would be very important for the
> project to have a logo and now TomEE is getting a lot of exposure why not
> take advantage of the moment and promote TomEE even more with a great logo?
>
> These are some options proposed in the past:
> https://issues.apache.org/jira/browse/TOMEE-574
>
> We could do something like David did here for JakartaEE:
> https://github.com/eclipse-ee4j/ee4j/issues/11
>
> And the winning logo would be the one with the most number of thumbs up.
>
> What do you guys think?
>


Re: TOMEE-2430 - Microprofile projects examples adjustments

2018-12-28 Thread Roberto Cortez
Merged! Thank you Ivan!

> On 28 Dec 2018, at 15:06, Ivan Junckes Filho  wrote:
> 
> Hey guys, can anyone review and merge: 
> https://github.com/apache/tomee/pull/322  
> 
> 
> I would like it to be merged asap so it avoids conflicts.
> 
> The end result will be the picture below. All the MicroProfile are adoc 
> formatted + naming is correct and in the correct group.
> 



[GitHub] tomee pull request #322: TOMEE-2430 - Naming and grouping adjustments are ne...

2018-12-28 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/tomee/pull/322


---


[GitHub] tomee pull request #323: Optmizes try catch

2018-12-28 Thread otaviojava
GitHub user otaviojava opened a pull request:

https://github.com/apache/tomee/pull/323

Optmizes try catch

* Optimizes the try using the try-with-resources that allows us to declare 
resources to be used in a try block with the assurance that the resources will 
be closed when after execution of that block.  An ARM automatic resource 
management by the JVM.


*  The use of multi-catch that removes redundancies catch treatment.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/otaviojava/tomee optmizes_try_catch

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/tomee/pull/323.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #323


commit e590f9a9844e0ea221f3e0980c6a736cff0ccecf
Author: Otavio Santana 
Date:   2018-12-28T13:56:42Z

updates to use try-catch

commit b9d0ce812d5bd9453c80fd9d585f0d0b5b1da44a
Author: Otavio Santana 
Date:   2018-12-28T13:57:36Z

updates the try to use try-with-resources

commit 8f7b8370bc191a2ca96b4a686d23562a286ae23f
Author: Otavio Santana 
Date:   2018-12-28T16:10:35Z

uses contains instead of indexof

commit 17d787556b93b82005e2af6e93b573d3dc149f34
Author: Otavio Santana 
Date:   2018-12-28T16:11:01Z

removes unnecessary unboxking

commit c00a2b7c2777fe4d7d6d3732b32a9148f2fb9949
Author: Otavio Santana 
Date:   2018-12-28T16:17:38Z

optmizes try-catch




---


TomEE logo poll

2018-12-28 Thread Ivan Junckes Filho
Hey guys, we have been through this discussion before but I don't think we
ever had a conclusion. In my opinion would be very important for the
project to have a logo and now TomEE is getting a lot of exposure why not
take advantage of the moment and promote TomEE even more with a great logo?

These are some options proposed in the past:
https://issues.apache.org/jira/browse/TOMEE-574

We could do something like David did here for JakartaEE:
https://github.com/eclipse-ee4j/ee4j/issues/11

And the winning logo would be the one with the most number of thumbs up.

What do you guys think?


Re: Maven source code build

2018-12-28 Thread Mitja Jeseničnik Kotnik
Thanks Ivan,

I've had the version of Java set to 10, so when I switched back to 8 it
worked fine.


Best regards,

Mitja J. Kotnik

On Fri, Dec 28, 2018 at 3:03 PM Ivan St. Ivanov 
wrote:

> Hey Mitja,
>
> Most probably you are using JDK 11 for your build? If I got it right, would
> you please try with JDK 8?
>
> I am able to build the whole project with just
>
> mvn clean install -DskipTests
>
> And I skip the test in order to decrease the time of getting all the
> SNAPSHOT libs in my .m2 repo ;)
>
> Cheers,
> Ivan
>
> On Fri, Dec 28, 2018 at 3:51 PM Mitja Jeseničnik Kotnik 
> wrote:
>
> > Here is the stacktrace of the mvn build.
> >
> >
> > *Mitja J. Kotnik** | *Software engineer
> >
> > Mobile:  +386 40 432 182
> >
> > *mi...@cotnic.com * | *https://www.cotnic.com
> > *
> >
> >
> >
> > On Fri, Dec 28, 2018 at 2:12 PM Roberto Cortez
> 
> > wrote:
> >
> >> That is right. It didn’t work? Are you able to share any error message?
> >>
> >> Cheers,
> >> Roberto
> >>
> >> > On 28 Dec 2018, at 12:57, Mitja Jeseničnik Kotnik 
> >> wrote:
> >> >
> >> > Hello Roberto,
> >> >
> >> > thanks for the reply. I've forked the project from GitHub and cloned
> to
> >> my
> >> > workstation. And I've ran the mvn command in the root project of
> >> > tomee (artifactId -> tomee-project)
> >> >
> >> > Is that right or should I run the command somewhere else?
> >> >
> >> > *Mitja J. Kotnik** | *Software engineer
> >> >
> >> > Mobile:  +386 40 432 182
> >> >
> >> > *mi...@cotnic.com * | *https://www.cotnic.com
> >> > *
> >> >
> >> >
> >> >
> >> > On Thu, Dec 27, 2018 at 11:13 PM Roberto Cortez
> >> 
> >> > wrote:
> >> >
> >> >> Hi Mitja,
> >> >>
> >> >> Can you please detail what is the issue?
> >> >>
> >> >> Using the git clone:
> >> >> git clone https://git-wip-us.apache.org/repos/asf/tomee.git tomee
> >> >>
> >> >> And the Maven command (may need to increase memory as detailed in the
> >> >> webpage):
> >> >> mvn -Dsurefire.useFile=false -DdisableXmlReport=true
> >> -DuniqueVersion=false
> >> >> -ff -Dassemble -DskipTests -DfailIfNoTests=false clean instal
> >> >>
> >> >> Should be enough.
> >> >>
> >> >> Cheers,
> >> >> Roberto
> >> >>
> >> >>> On 27 Dec 2018, at 21:50, Mitja Jeseničnik Kotnik  >
> >> >> wrote:
> >> >>>
> >> >>> http://tomee.apache.org/dev/source-code.html
> >> >>>
> >> >>> This is the site with the instructions I've followed.
> >> >>>
> >> >>> *Mitja J. Kotnik** | *Software engineer
> >> >>>
> >> >>> Mobile:  +386 40 432 182
> >> >>>
> >> >>> *mi...@cotnic.com * | *https://www.cotnic.com
> >> >>> *
> >> >>>
> >> >>>
> >> >>>
> >> >>>
> >> >>> On Thu, Dec 27, 2018 at 10:49 PM Mitja Jeseničnik Kotnik <
> >> >> mi...@cotnic.com>
> >> >>> wrote:
> >> >>>
> >>  Hello,
> >> 
> >>  I've got a quick question. Where could I find some resources on how
> >> to
> >>  build the whole tomee maven project so that I get the latest
> >> >> 8.0.0-SNAPSHOT
> >>  to my .m2 folder.
> >> 
> >>  I've tried to follow the instructions provided on the following
> site,
> >> >> but
> >>  have not yet been successful.
> >> 
> >>  *Mitja J. Kotnik** | *Software engineer
> >> 
> >>  Mobile:  +386 40 432 182
> >> 
> >>  *mi...@cotnic.com * | *https://www.cotnic.com
> >>  *
> >> 
> >> >>
> >> >>
> >>
> >>
>


TOMEE-2430 - Microprofile projects examples adjustments

2018-12-28 Thread Ivan Junckes Filho
Hey guys, can anyone review and merge:
https://github.com/apache/tomee/pull/322


I would like it to be merged asap so it avoids conflicts.

The end result will be the picture below. All the MicroProfile are adoc
formatted + naming is correct and in the correct group.
[image: image.png]


[GitHub] tomee pull request #322: TOMEE-2430 - Naming and grouping adjustments are ne...

2018-12-28 Thread ivanjunckes
GitHub user ivanjunckes opened a pull request:

https://github.com/apache/tomee/pull/322

TOMEE-2430 - Naming and grouping adjustments are needed in MicroProfile 
examples



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/ivanjunckes/tomee TOMEE-2430

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/tomee/pull/322.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #322


commit fcec87ee97a5860bf7540a2d5f8194955a58fa93
Author: ivanjunckes 
Date:   2018-12-28T12:20:40Z

test doc

commit 947661d04adfdd69a835be96565cb4c290732cff
Author: ivanjunckes 
Date:   2018-12-28T14:24:22Z

This was in .md format but with .adoc extension. So I did the work to 
convert it.

commit 0fd40da670d5a50ee9fb0675dcf695bad08bdb96
Author: ivanjunckes 
Date:   2018-12-28T14:24:59Z

Title adjustments

commit 6504f2906d43b74934ef2518de4f56ee3c2608a9
Author: ivanjunckes 
Date:   2018-12-28T14:29:08Z

Microprofile projects title and group fixes.

commit eacc25968b8a253d8145bf1b63377762ff533ed8
Author: ivanjunckes 
Date:   2018-12-28T14:50:26Z

Adjustments on the microprofile documentation

commit 2573cf3708bcf93881fb5539b48980d4a7f6b3c6
Author: ivanjunckes 
Date:   2018-12-28T14:56:38Z

Fixing titles




---


Re: MP example already assigned

2018-12-28 Thread Khalid HORRI
Hi Reberto,

If there is any others examples, I can work on it

On Fri, Dec 28, 2018 at 10:51 AM Roberto Cortez 
wrote:

> Hi Khalid,
>
> I guess we just need to come up with more examples to work on. Are you
> looking for any spec in particular?
>
> Cheers,
> Roberto
>
> > On 28 Dec 2018, at 08:33, Khalid HORRI  wrote:
> >
> > Hi,
> > I have question about MP example Tickets in this link:
> > https://issues.apache.org/jira/browse/TOMEE-2285
> > I see that all tickets are assigned to someone or a dev is already
> working
> > on it. So How can I help on those tickets?
> >
> > --
> > *تحياتي*
> > Cordialement,
> > Best regards
> > ---
> > *خالد حري*
> > Khalid HORRI
> > Consultant Technique en Java/JEE
>
>

-- 
*تحياتي*
Cordialement,
Best regards
---
*خالد حري*
Khalid HORRI
Consultant Technique en Java/JEE


Re: Microprofile jsonb configuration example proposal

2018-12-28 Thread Roberto Cortez
Done! Thank you!

> On 28 Dec 2018, at 13:37, Federico Mariani  
> wrote:
> 
> Hi Roberto,
> I've created tasks TOMEE-2428 and TOMEE-2429, you can assign them to me.
> If you find out anything wrong, just let me know.
> 
> Thanks,
> Federico
> 
> Il giorno ven 28 dic 2018 alle ore 10:49 Roberto Cortez
>  ha scritto:
> 
>> Hi Federico,
>> 
>> If we don’t have them, please go ahead :)
>> 
>> Can you just create a JIRA issue for each example with a small
>> description? I can assign them to you.
>> 
>> Thank you!
>> 
>> Cheers,
>> Roberto
>> 
>>> On 28 Dec 2018, at 01:03, Federico Mariani <
>> federico.mariani.1...@gmail.com> wrote:
>>> 
>>> Hi everyone,
>>> can be useful an example that shows jsonb configuration and custom
>>> serialization/deserialization?
>>> I have already worked on it and have some examples to share.
>>> 
>>> Cheers,
>>> Federico
>> 
>> 



Re: Ejemplos en Español

2018-12-28 Thread Otávio Gonçalves de Santana
+1

On Wed, Dec 26, 2018 at 9:11 AM Daniel Cunha  wrote:

> +1
>
> Em qua, 26 de dez de 2018 7:34 AM, Bruno Baptista  escreveu:
>
> > +1
> >
> > Bruno Baptista
> > https://twitter.com/brunobat_
> >
> >
> > On 24/12/18 22:35, David Blevins wrote:
> > > I was talking with Hillmer on twitter about potentially translating
> > examples into Spanish.
> > >
> > > The idea is that we could potentially do examples and documentation in
> > Spanish.  Perhaps:
> > >
> > >   - http://tomee.apache.org/tomee-8.0/es/docs/
> > >   - http://tomee.apache.org/tomee-8.0/es/ejemplos/
> > >
> > > First note is that how we organize the files in the git repo and how we
> > organize them on the website can be completely different.  We use the
> > following code to collect all the examples together and do various things
> > to them:
> > >
> > >   -
> >
> https://github.com/apache/tomee-site-generator/blob/master/src/main/java/org/apache/tomee/website/Examples.java#L42
> > >
> > > Right now it will do a copy and rename, for example:
> > >
> > >   -
> >
> https://github.com/apache/tomee/blob/master/examples/cdi-request-scope/README.md
> > >   - http://tomee.apache.org/tomee-8.0/examples/cdi-request-scope.html
> > >
> > > We could theoretically do something as simple as this:
> > >
> > >   -
> >
> https://github.com/apache/tomee/blob/master/examples/cdi-request-scope/README_es.md
> > >   -
> http://tomee.apache.org/tomee-8.0/es/ejemplos/cdi-request-scope.html
> > >
> > > I.e. make a new file next to the original, then update our copying
> logic
> > to put the prefix in the path.
> > >
> > >
> > > Thoughts?
> > >
> > >
> >
>


Re: Maven source code build

2018-12-28 Thread Ivan St. Ivanov
Hey Mitja,

Most probably you are using JDK 11 for your build? If I got it right, would
you please try with JDK 8?

I am able to build the whole project with just

mvn clean install -DskipTests

And I skip the test in order to decrease the time of getting all the
SNAPSHOT libs in my .m2 repo ;)

Cheers,
Ivan

On Fri, Dec 28, 2018 at 3:51 PM Mitja Jeseničnik Kotnik 
wrote:

> Here is the stacktrace of the mvn build.
>
>
> *Mitja J. Kotnik** | *Software engineer
>
> Mobile:  +386 40 432 182
>
> *mi...@cotnic.com * | *https://www.cotnic.com
> *
>
>
>
> On Fri, Dec 28, 2018 at 2:12 PM Roberto Cortez 
> wrote:
>
>> That is right. It didn’t work? Are you able to share any error message?
>>
>> Cheers,
>> Roberto
>>
>> > On 28 Dec 2018, at 12:57, Mitja Jeseničnik Kotnik 
>> wrote:
>> >
>> > Hello Roberto,
>> >
>> > thanks for the reply. I've forked the project from GitHub and cloned to
>> my
>> > workstation. And I've ran the mvn command in the root project of
>> > tomee (artifactId -> tomee-project)
>> >
>> > Is that right or should I run the command somewhere else?
>> >
>> > *Mitja J. Kotnik** | *Software engineer
>> >
>> > Mobile:  +386 40 432 182
>> >
>> > *mi...@cotnic.com * | *https://www.cotnic.com
>> > *
>> >
>> >
>> >
>> > On Thu, Dec 27, 2018 at 11:13 PM Roberto Cortez
>> 
>> > wrote:
>> >
>> >> Hi Mitja,
>> >>
>> >> Can you please detail what is the issue?
>> >>
>> >> Using the git clone:
>> >> git clone https://git-wip-us.apache.org/repos/asf/tomee.git tomee
>> >>
>> >> And the Maven command (may need to increase memory as detailed in the
>> >> webpage):
>> >> mvn -Dsurefire.useFile=false -DdisableXmlReport=true
>> -DuniqueVersion=false
>> >> -ff -Dassemble -DskipTests -DfailIfNoTests=false clean instal
>> >>
>> >> Should be enough.
>> >>
>> >> Cheers,
>> >> Roberto
>> >>
>> >>> On 27 Dec 2018, at 21:50, Mitja Jeseničnik Kotnik 
>> >> wrote:
>> >>>
>> >>> http://tomee.apache.org/dev/source-code.html
>> >>>
>> >>> This is the site with the instructions I've followed.
>> >>>
>> >>> *Mitja J. Kotnik** | *Software engineer
>> >>>
>> >>> Mobile:  +386 40 432 182
>> >>>
>> >>> *mi...@cotnic.com * | *https://www.cotnic.com
>> >>> *
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> On Thu, Dec 27, 2018 at 10:49 PM Mitja Jeseničnik Kotnik <
>> >> mi...@cotnic.com>
>> >>> wrote:
>> >>>
>>  Hello,
>> 
>>  I've got a quick question. Where could I find some resources on how
>> to
>>  build the whole tomee maven project so that I get the latest
>> >> 8.0.0-SNAPSHOT
>>  to my .m2 folder.
>> 
>>  I've tried to follow the instructions provided on the following site,
>> >> but
>>  have not yet been successful.
>> 
>>  *Mitja J. Kotnik** | *Software engineer
>> 
>>  Mobile:  +386 40 432 182
>> 
>>  *mi...@cotnic.com * | *https://www.cotnic.com
>>  *
>> 
>> >>
>> >>
>>
>>


Re: Maven source code build

2018-12-28 Thread Mitja Jeseničnik Kotnik
Here is the stacktrace of the mvn build.


*Mitja J. Kotnik** | *Software engineer

Mobile:  +386 40 432 182

*mi...@cotnic.com * | *https://www.cotnic.com
*



On Fri, Dec 28, 2018 at 2:12 PM Roberto Cortez 
wrote:

> That is right. It didn’t work? Are you able to share any error message?
>
> Cheers,
> Roberto
>
> > On 28 Dec 2018, at 12:57, Mitja Jeseničnik Kotnik 
> wrote:
> >
> > Hello Roberto,
> >
> > thanks for the reply. I've forked the project from GitHub and cloned to
> my
> > workstation. And I've ran the mvn command in the root project of
> > tomee (artifactId -> tomee-project)
> >
> > Is that right or should I run the command somewhere else?
> >
> > *Mitja J. Kotnik** | *Software engineer
> >
> > Mobile:  +386 40 432 182
> >
> > *mi...@cotnic.com * | *https://www.cotnic.com
> > *
> >
> >
> >
> > On Thu, Dec 27, 2018 at 11:13 PM Roberto Cortez
> 
> > wrote:
> >
> >> Hi Mitja,
> >>
> >> Can you please detail what is the issue?
> >>
> >> Using the git clone:
> >> git clone https://git-wip-us.apache.org/repos/asf/tomee.git tomee
> >>
> >> And the Maven command (may need to increase memory as detailed in the
> >> webpage):
> >> mvn -Dsurefire.useFile=false -DdisableXmlReport=true
> -DuniqueVersion=false
> >> -ff -Dassemble -DskipTests -DfailIfNoTests=false clean instal
> >>
> >> Should be enough.
> >>
> >> Cheers,
> >> Roberto
> >>
> >>> On 27 Dec 2018, at 21:50, Mitja Jeseničnik Kotnik 
> >> wrote:
> >>>
> >>> http://tomee.apache.org/dev/source-code.html
> >>>
> >>> This is the site with the instructions I've followed.
> >>>
> >>> *Mitja J. Kotnik** | *Software engineer
> >>>
> >>> Mobile:  +386 40 432 182
> >>>
> >>> *mi...@cotnic.com * | *https://www.cotnic.com
> >>> *
> >>>
> >>>
> >>>
> >>>
> >>> On Thu, Dec 27, 2018 at 10:49 PM Mitja Jeseničnik Kotnik <
> >> mi...@cotnic.com>
> >>> wrote:
> >>>
>  Hello,
> 
>  I've got a quick question. Where could I find some resources on how to
>  build the whole tomee maven project so that I get the latest
> >> 8.0.0-SNAPSHOT
>  to my .m2 folder.
> 
>  I've tried to follow the instructions provided on the following site,
> >> but
>  have not yet been successful.
> 
>  *Mitja J. Kotnik** | *Software engineer
> 
>  Mobile:  +386 40 432 182
> 
>  *mi...@cotnic.com * | *https://www.cotnic.com
>  *
> 
> >>
> >>
>
>
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR] 
/C:/Users/cotnic/workdir/projects/opensource/TomEE/container/openejb-jee-accessors/src/main/java/org/apache/openejb/jee/AsyncMethod$JAXB.java:[27,42]
 package javax.xml.bind.annotation.adapters does not exist
[ERROR] 
/C:/Users/cotnic/workdir/projects/opensource/TomEE/container/openejb-jee-accessors/src/main/java/org/apache/openejb/jee/MethodParams$JAXB.java:[27,42]
 package javax.xml.bind.annotation.adapters does not exist
[ERROR] 
/C:/Users/cotnic/workdir/projects/opensource/TomEE/container/openejb-jee-accessors/src/main/java/org/apache/openejb/jee/Query$JAXB.java:[27,42]
 package javax.xml.bind.annotation.adapters does not exist
[ERROR] 
/C:/Users/cotnic/workdir/projects/opensource/TomEE/container/openejb-jee-accessors/src/main/java/org/apache/openejb/jee/Adapters.java:[23,25]
 cannot find symbol
  symbol:   class CollapsedStringAdapter
  location: class org.apache.openejb.jee.Adapters
[ERROR] 
/C:/Users/cotnic/workdir/projects/opensource/TomEE/container/openejb-jee-accessors/src/main/java/org/apache/openejb/sxc/Sxc.java:[31,22]
 package javax.xml.bind does not exist
[ERROR] 
/C:/Users/cotnic/workdir/projects/opensource/TomEE/container/openejb-jee-accessors/src/main/java/org/apache/openejb/sxc/Sxc.java:[32,22]
 package javax.xml.bind does not exist
[ERROR] 
/C:/Users/cotnic/workdir/projects/opensource/TomEE/container/openejb-jee-accessors/src/main/java/org/apache/openejb/sxc/Sxc.java:[53,123]
 cannot find symbol
  symbol:   class JAXBException
  location: class org.apache.openejb.sxc.Sxc
[ERROR] 
/C:/Users/cotnic/workdir/projects/opensource/TomEE/container/openejb-jee-accessors/src/main/java/org/apache/openejb/sxc/Sxc.java:[59,110]
 cannot find symbol
  symbol:   class JAXBException
  location: class org.apache.openejb.sxc.Sxc
[ERROR] 
/C:/Users/cotnic/workdir/projects/opensource/TomEE/container/openejb-jee-accessors/src/main/java/org/apache/openejb/jee/MethodParams$JAXB.java:[105,60]
 cannot find symbol
  symbol:   class CollapsedStringAdapter
  location: class org.apache.openejb.jee.MethodParams$JAXB
[ERROR] 
/C:/Users/cotnic/workdir/projects/opensource/TomEE/container/openejb-jee-accessors/src/main/java/org/apache/openejb/jee/MethodParams$JAXB.java:[162,61]
 cannot find symbol
  symbol:   class CollapsedStringAdapter
  location: class org.apache.openejb.jee.MethodParams$JAXB
[ERROR] 

Re: Microprofile jsonb configuration example proposal

2018-12-28 Thread Federico Mariani
Hi Roberto,
I've created tasks TOMEE-2428 and TOMEE-2429, you can assign them to me.
If you find out anything wrong, just let me know.

Thanks,
Federico

Il giorno ven 28 dic 2018 alle ore 10:49 Roberto Cortez
 ha scritto:

> Hi Federico,
>
> If we don’t have them, please go ahead :)
>
> Can you just create a JIRA issue for each example with a small
> description? I can assign them to you.
>
> Thank you!
>
> Cheers,
> Roberto
>
> > On 28 Dec 2018, at 01:03, Federico Mariani <
> federico.mariani.1...@gmail.com> wrote:
> >
> > Hi everyone,
> > can be useful an example that shows jsonb configuration and custom
> > serialization/deserialization?
> > I have already worked on it and have some examples to share.
> >
> > Cheers,
> > Federico
>
>


Re: Maven source code build

2018-12-28 Thread Mitja Jeseničnik Kotnik
And the issue is in the module:

OpenEJB :: Container :: Java EE Accessors .. FAILURE [  1.800 s]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.6.2:compile
(default-compile) on project openejb-jee-accessors: Compilation failure:
Compilation failure:
[ERROR]
/C:/Users/cotnic/workdir/projects/opensource/TomEE/container/openejb-jee-accessors/src/main/java/org/apache/openejb/jee/AsyncMethod$JAXB.java:[27,42]
package javax.xml.bind.annotation.adapters does not exist
[ERROR]
/C:/Users/cotnic/workdir/projects/opensource/TomEE/container/openejb-jee-accessors/src/main/java/org/apache/openejb/jee/MethodParams$JAXB.java:[27,42]
package javax.xml.bind.annotation.adapters does not exist
[ERROR]
/C:/Users/cotnic/workdir/projects/opensource/TomEE/container/openejb-jee-accessors/src/main/java/org/apache/openejb/jee/Query$JAXB.java:[27,42]
package javax.xml.bind.annotation.adapters does not exist
[ERROR]
/C:/Users/cotnic/workdir/projects/opensource/TomEE/container/openejb-jee-accessors/src/main/java/org/apache/openejb/jee/Adapters.java:[23,25]
cannot find symbol
[ERROR] symbol:   class CollapsedStringAdapter
[ERROR] location: class org.apache.openejb.jee.Adapters
[ERROR]
/C:/Users/cotnic/workdir/projects/opensource/TomEE/container/openejb-jee-accessors/src/main/java/org/apache/openejb/sxc/Sxc.java:[31,22]
package javax.xml.bind does not exist
[ERROR]
/C:/Users/cotnic/workdir/projects/opensource/TomEE/container/openejb-jee-accessors/src/main/java/org/apache/openejb/sxc/Sxc.java:[32,22]
package javax.xml.bind does not exist
[ERROR]
/C:/Users/cotnic/workdir/projects/opensource/TomEE/container/openejb-jee-accessors/src/main/java/org/apache/openejb/sxc/Sxc.java:[53,123]
cannot find symbol
[ERROR] symbol:   class JAXBException
[ERROR] location: class org.apache.openejb.sxc.Sxc
[ERROR]
/C:/Users/cotnic/workdir/projects/opensource/TomEE/container/openejb-jee-accessors/src/main/java/org/apache/openejb/sxc/Sxc.java:[59,110]
cannot find symbol
[ERROR] symbol:   class JAXBException
[ERROR] location: class org.apache.openejb.sxc.Sxc
...
...
...

*Mitja J. Kotnik** | *Software engineer

Mobile:  +386 40 432 182

*mi...@cotnic.com * | *https://www.cotnic.com
*


cotnic s.p., technical consulting

Šišenska cesta 43 | 1000 Ljubljana | SI - Slovenia



This email communication is confidential and legally privileged. If you are
not the intended recipient, please notify me at the telephone number shown
above or by return email and delete this communication and any copy
immediately. Thank you.


On Fri, Dec 28, 2018 at 1:57 PM Mitja Jeseničnik Kotnik 
wrote:

> Hello Roberto,
>
> thanks for the reply. I've forked the project from GitHub and cloned to my
> workstation. And I've ran the mvn command in the root project of
> tomee (artifactId -> tomee-project)
>
> Is that right or should I run the command somewhere else?
>
> *Mitja J. Kotnik** | *Software engineer
>
> Mobile:  +386 40 432 182
>
> *mi...@cotnic.com * | *https://www.cotnic.com
> *
>
>
>
> On Thu, Dec 27, 2018 at 11:13 PM Roberto Cortez
>  wrote:
>
>> Hi Mitja,
>>
>> Can you please detail what is the issue?
>>
>> Using the git clone:
>> git clone https://git-wip-us.apache.org/repos/asf/tomee.git tomee
>>
>> And the Maven command (may need to increase memory as detailed in the
>> webpage):
>> mvn -Dsurefire.useFile=false -DdisableXmlReport=true
>> -DuniqueVersion=false -ff -Dassemble -DskipTests -DfailIfNoTests=false
>> clean instal
>>
>> Should be enough.
>>
>> Cheers,
>> Roberto
>>
>> > On 27 Dec 2018, at 21:50, Mitja Jeseničnik Kotnik 
>> wrote:
>> >
>> > http://tomee.apache.org/dev/source-code.html
>> >
>> > This is the site with the instructions I've followed.
>> >
>> > *Mitja J. Kotnik** | *Software engineer
>> >
>> > Mobile:  +386 40 432 182
>> >
>> > *mi...@cotnic.com * | *https://www.cotnic.com
>> > *
>> >
>> >
>> >
>> >
>> > On Thu, Dec 27, 2018 at 10:49 PM Mitja Jeseničnik Kotnik <
>> mi...@cotnic.com>
>> > wrote:
>> >
>> >> Hello,
>> >>
>> >> I've got a quick question. Where could I find some resources on how to
>> >> build the whole tomee maven project so that I get the latest
>> 8.0.0-SNAPSHOT
>> >> to my .m2 folder.
>> >>
>> >> I've tried to follow the instructions provided on the following site,
>> but
>> >> have not yet been successful.
>> >>
>> >> *Mitja J. Kotnik** | *Software engineer
>> >>
>> >> Mobile:  +386 40 432 182
>> >>
>> >> *mi...@cotnic.com * | *https://www.cotnic.com
>> >> *
>> >>
>>
>>


Re: Maven source code build

2018-12-28 Thread Roberto Cortez
That is right. It didn’t work? Are you able to share any error message?

Cheers,
Roberto

> On 28 Dec 2018, at 12:57, Mitja Jeseničnik Kotnik  wrote:
> 
> Hello Roberto,
> 
> thanks for the reply. I've forked the project from GitHub and cloned to my
> workstation. And I've ran the mvn command in the root project of
> tomee (artifactId -> tomee-project)
> 
> Is that right or should I run the command somewhere else?
> 
> *Mitja J. Kotnik** | *Software engineer
> 
> Mobile:  +386 40 432 182
> 
> *mi...@cotnic.com * | *https://www.cotnic.com
> *
> 
> 
> 
> On Thu, Dec 27, 2018 at 11:13 PM Roberto Cortez 
> wrote:
> 
>> Hi Mitja,
>> 
>> Can you please detail what is the issue?
>> 
>> Using the git clone:
>> git clone https://git-wip-us.apache.org/repos/asf/tomee.git tomee
>> 
>> And the Maven command (may need to increase memory as detailed in the
>> webpage):
>> mvn -Dsurefire.useFile=false -DdisableXmlReport=true -DuniqueVersion=false
>> -ff -Dassemble -DskipTests -DfailIfNoTests=false clean instal
>> 
>> Should be enough.
>> 
>> Cheers,
>> Roberto
>> 
>>> On 27 Dec 2018, at 21:50, Mitja Jeseničnik Kotnik 
>> wrote:
>>> 
>>> http://tomee.apache.org/dev/source-code.html
>>> 
>>> This is the site with the instructions I've followed.
>>> 
>>> *Mitja J. Kotnik** | *Software engineer
>>> 
>>> Mobile:  +386 40 432 182
>>> 
>>> *mi...@cotnic.com * | *https://www.cotnic.com
>>> *
>>> 
>>> 
>>> 
>>> 
>>> On Thu, Dec 27, 2018 at 10:49 PM Mitja Jeseničnik Kotnik <
>> mi...@cotnic.com>
>>> wrote:
>>> 
 Hello,
 
 I've got a quick question. Where could I find some resources on how to
 build the whole tomee maven project so that I get the latest
>> 8.0.0-SNAPSHOT
 to my .m2 folder.
 
 I've tried to follow the instructions provided on the following site,
>> but
 have not yet been successful.
 
 *Mitja J. Kotnik** | *Software engineer
 
 Mobile:  +386 40 432 182
 
 *mi...@cotnic.com * | *https://www.cotnic.com
 *
 
>> 
>> 



Re: Maven source code build

2018-12-28 Thread Mitja Jeseničnik Kotnik
Hello Roberto,

thanks for the reply. I've forked the project from GitHub and cloned to my
workstation. And I've ran the mvn command in the root project of
tomee (artifactId -> tomee-project)

Is that right or should I run the command somewhere else?

*Mitja J. Kotnik** | *Software engineer

Mobile:  +386 40 432 182

*mi...@cotnic.com * | *https://www.cotnic.com
*



On Thu, Dec 27, 2018 at 11:13 PM Roberto Cortez 
wrote:

> Hi Mitja,
>
> Can you please detail what is the issue?
>
> Using the git clone:
> git clone https://git-wip-us.apache.org/repos/asf/tomee.git tomee
>
> And the Maven command (may need to increase memory as detailed in the
> webpage):
> mvn -Dsurefire.useFile=false -DdisableXmlReport=true -DuniqueVersion=false
> -ff -Dassemble -DskipTests -DfailIfNoTests=false clean instal
>
> Should be enough.
>
> Cheers,
> Roberto
>
> > On 27 Dec 2018, at 21:50, Mitja Jeseničnik Kotnik 
> wrote:
> >
> > http://tomee.apache.org/dev/source-code.html
> >
> > This is the site with the instructions I've followed.
> >
> > *Mitja J. Kotnik** | *Software engineer
> >
> > Mobile:  +386 40 432 182
> >
> > *mi...@cotnic.com * | *https://www.cotnic.com
> > *
> >
> >
> >
> >
> > On Thu, Dec 27, 2018 at 10:49 PM Mitja Jeseničnik Kotnik <
> mi...@cotnic.com>
> > wrote:
> >
> >> Hello,
> >>
> >> I've got a quick question. Where could I find some resources on how to
> >> build the whole tomee maven project so that I get the latest
> 8.0.0-SNAPSHOT
> >> to my .m2 folder.
> >>
> >> I've tried to follow the instructions provided on the following site,
> but
> >> have not yet been successful.
> >>
> >> *Mitja J. Kotnik** | *Software engineer
> >>
> >> Mobile:  +386 40 432 182
> >>
> >> *mi...@cotnic.com * | *https://www.cotnic.com
> >> *
> >>
>
>


[GitHub] tomee pull request #321: Created tomee-cluster.adoc file (html still needed)

2018-12-28 Thread pavelsmajda
GitHub user pavelsmajda opened a pull request:

https://github.com/apache/tomee/pull/321

Created tomee-cluster.adoc file (html still needed)

https://issues.apache.org/jira/browse/TOMEE-2424

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/pavelsmajda/tomee tomeeclusterdoc

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/tomee/pull/321.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #321


commit a38b2a787aa77438192dbd9e5c9a2c7a4f95be9a
Author: pavelsmajda 
Date:   2018-12-28T12:32:45Z

Created tomee-cluster.adoc file (html still needed)
https://issues.apache.org/jira/browse/TOMEE-2424




---


Re: Microprofile release train

2018-12-28 Thread Bruno Baptista

Hi,

As far as I can see, the API has changed and we now only need to 
customize it like this:


@ApplicationScoped
public  class  MyExecutionManagerProvider  {
@Resource
@Produces
@Safeguard
private  ManagedScheduledExecutorService  executor;
}

See at the bottom of the doc: https://github.com/apache/geronimo-safeguard

Cheers

Bruno Baptista
https://twitter.com/brunobat_


On 28/12/18 07:55, Jean-Louis Monteiro wrote:

Hey Bruno,

I'll push it. Was fixing the build after some PR merges
Issue is in FailsafeContainerExecutionManagerProvider

If you get a chance to look at it. Otherwise I'll look right after the
breakfast.

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


On Thu, Dec 27, 2018 at 4:08 PM Roberto Cortez 
wrote:


Does it require anything special? Just adding the JAR is not enough?


On 27 Dec 2018, at 12:02, Bruno Baptista  wrote:

Do you want help with that?

Bruno Baptista
https://twitter.com/brunobat_


On 27/12/18 11:24, Jean-Louis Monteiro wrote:

TomEE integration in fault tolerance

Le jeu. 27 déc. 2018 à 11:58, Roberto Cortez



a écrit :


With the MP impls and TomEE integration?


On 27 Dec 2018, at 10:48, Jean-Louis Monteiro <

jlmonte...@tomitribe.com>

wrote:

Sorry for the delay guys, but there are some compilation issues to

fix.

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


On Wed, Dec 26, 2018 at 7:08 PM Bruno Baptista 

wrote:

All good for now.

Bruno Baptista
https://twitter.com/brunobat_


On 26/12/18 12:09, Roberto Cortez wrote:

Hi JL,

Please, go ahead.

I think Bruno had some ideas regarding Fault Tolerance.

Cheers,
Roberto


On 26 Dec 2018, at 11:57, Ivan Junckes Filho <

ivanjunc...@gmail.com>

wrote:

Cool JL thanks! I will need a change in geronimo-metrics to fix a

gauge

issue in  metrics. After that my pr

https://github.com/apache/tomee/pull/213

 should work.

On Wed, Dec 26, 2018 at 9:42 AM Jean-Louis Monteiro <
jlmonte...@tomitribe.com> wrote:


Most of the implementations we are integrating in TomEE are

hosted in

Geronimo yes.
Release process is done, Romain has done it over the weekend.

So I'll proceed and create the tickets and do the upgrade in TomEE
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Wed, Dec 26, 2018 at 12:28 PM Matthew Broadhead
 wrote:


should we be on geronimo list?  i would like to monitor the

process

On 26/12/2018 12:08, Jean-Louis Monteiro wrote:

Hi,

In case you missed it, MicroProfile implementations are under

vote

on

the

geronimo side of things.

I'll proceed with the RESULT emails and with the process.
Is there any objection if I update them all in TomEE?

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


--
Mr MT Broadhead
Nigel Broadhead Mynard
See the latest jobs available at NBM @
https://nbmlaw.co.uk/recruitment.htm

32 Rainsford Road
Chelmsford Essex CM1 2QG
Tel: 01245 269909 Fax: 01245 261932
https://nbmlaw.co.uk

Partners: WJ Broadhead NP Eason SJ Lacey CR Broadhead D Seepaul T

Carley

Nigel Broadhead Mynard Solicitors are authorised and regulated by

the

Solicitors Regulation Authority. We are also bound by their code

of

conduct. Registered no. 00061052

Nigel Broadhead Mynard also provide a will writing service, see
https://nbmlaw.co.uk/wills.htm for more information

Confidentiality: Information in this message is confidential and

may

be

legally privileged. It is intended solely for the recipient to

whom

it is

addressed. If you receive the message in error, please notify the

sender

and immediately destroy all copies.

Security warning: Please note that this e-mail has been created

in

the

knowledge that e-mail is not a 100% secure communications

medium. We

advise

you that you understand and observe this lack of security when

e-mailing

us. This e-mail does not constitute a legally binding document.

No

contracts may be concluded on behalf of Nigel Broadhead Mynard

Solicitors

by e-mail communications.

Disclaimer: Please be aware of cyber crime. Nigel Broadhead

Mynard

will

not take responsibility if you transfer money to a wrong bank

account.

Please speak to your Solicitor before transferring any money. If

you

receive an email from Nigel Broadhead Mynard requesting your bank

details

or telling you our bank details have changed, please contact your

Solicitor

immediately to clarify.

PLEASE ALSO NOTE that Nigel Broadhead Mynard only use emails

which

end

with the suffix @nbmlaw.co.uk. If you receive any email from an

address

without that suffix or where that suffix does not appear in the

address

box

when you click "Reply" then you should not rely on the email

being

from

NBM

and you should immediately contact us on the above number or any

numbers

published on our website to verify the source of the email is

genuine.

If you have any queries, please 

TOMEE-2301

2018-12-28 Thread Bruno Baptista

Hi,

I think TOMEE-2301  is 
done and can be closed.


Cheers

--
Bruno Baptista
https://twitter.com/brunobat_




Re: MP example already assigned

2018-12-28 Thread Roberto Cortez
Hi Khalid,

I guess we just need to come up with more examples to work on. Are you looking 
for any spec in particular?

Cheers,
Roberto

> On 28 Dec 2018, at 08:33, Khalid HORRI  wrote:
> 
> Hi,
> I have question about MP example Tickets in this link:
> https://issues.apache.org/jira/browse/TOMEE-2285
> I see that all tickets are assigned to someone or a dev is already working
> on it. So How can I help on those tickets?
> 
> -- 
> *تحياتي*
> Cordialement,
> Best regards
> ---
> *خالد حري*
> Khalid HORRI
> Consultant Technique en Java/JEE



Re: Microprofile release train

2018-12-28 Thread Roberto Cortez
Ah yes, that was probably using Safeguard API’s which is not there anymore.

> On 28 Dec 2018, at 07:55, Jean-Louis Monteiro  
> wrote:
> 
> Hey Bruno,
> 
> I'll push it. Was fixing the build after some PR merges
> Issue is in FailsafeContainerExecutionManagerProvider
> 
> If you get a chance to look at it. Otherwise I'll look right after the
> breakfast.
> 
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
> 
> 
> On Thu, Dec 27, 2018 at 4:08 PM Roberto Cortez 
> wrote:
> 
>> Does it require anything special? Just adding the JAR is not enough?
>> 
>>> On 27 Dec 2018, at 12:02, Bruno Baptista  wrote:
>>> 
>>> Do you want help with that?
>>> 
>>> Bruno Baptista
>>> https://twitter.com/brunobat_
>>> 
>>> 
>>> On 27/12/18 11:24, Jean-Louis Monteiro wrote:
 TomEE integration in fault tolerance
 
 Le jeu. 27 déc. 2018 à 11:58, Roberto Cortez
>> 
 a écrit :
 
> With the MP impls and TomEE integration?
> 
>> On 27 Dec 2018, at 10:48, Jean-Louis Monteiro <
>> jlmonte...@tomitribe.com>
> wrote:
>> Sorry for the delay guys, but there are some compilation issues to
>> fix.
>> --
>> Jean-Louis Monteiro
>> http://twitter.com/jlouismonteiro
>> http://www.tomitribe.com
>> 
>> 
>> On Wed, Dec 26, 2018 at 7:08 PM Bruno Baptista 
> wrote:
>>> All good for now.
>>> 
>>> Bruno Baptista
>>> https://twitter.com/brunobat_
>>> 
>>> 
>>> On 26/12/18 12:09, Roberto Cortez wrote:
 Hi JL,
 
 Please, go ahead.
 
 I think Bruno had some ideas regarding Fault Tolerance.
 
 Cheers,
 Roberto
 
> On 26 Dec 2018, at 11:57, Ivan Junckes Filho <
>> ivanjunc...@gmail.com>
>>> wrote:
> Cool JL thanks! I will need a change in geronimo-metrics to fix a
> gauge
> issue in  metrics. After that my pr
>>> https://github.com/apache/tomee/pull/213
>  should work.
> 
> On Wed, Dec 26, 2018 at 9:42 AM Jean-Louis Monteiro <
> jlmonte...@tomitribe.com> wrote:
> 
>> Most of the implementations we are integrating in TomEE are
>> hosted in
>> Geronimo yes.
>> Release process is done, Romain has done it over the weekend.
>> 
>> So I'll proceed and create the tickets and do the upgrade in TomEE
>> --
>> Jean-Louis Monteiro
>> http://twitter.com/jlouismonteiro
>> http://www.tomitribe.com
>> 
>> 
>> On Wed, Dec 26, 2018 at 12:28 PM Matthew Broadhead
>>  wrote:
>> 
>>> should we be on geronimo list?  i would like to monitor the
>> process
>>> 
>>> On 26/12/2018 12:08, Jean-Louis Monteiro wrote:
 Hi,
 
 In case you missed it, MicroProfile implementations are under
>> vote
> on
>> the
 geronimo side of things.
 
 I'll proceed with the RESULT emails and with the process.
 Is there any objection if I update them all in TomEE?
 
 Jean-Louis
 --
 Jean-Louis Monteiro
 http://twitter.com/jlouismonteiro
 http://www.tomitribe.com
 
>>> --
>>> Mr MT Broadhead
>>> Nigel Broadhead Mynard
>>> See the latest jobs available at NBM @
>>> https://nbmlaw.co.uk/recruitment.htm
>>> 
>>> 32 Rainsford Road
>>> Chelmsford Essex CM1 2QG
>>> Tel: 01245 269909 Fax: 01245 261932
>>> https://nbmlaw.co.uk
>>> 
>>> Partners: WJ Broadhead NP Eason SJ Lacey CR Broadhead D Seepaul T
>>> Carley
>>> Nigel Broadhead Mynard Solicitors are authorised and regulated by
> the
>>> Solicitors Regulation Authority. We are also bound by their code
>> of
>>> conduct. Registered no. 00061052
>>> 
>>> Nigel Broadhead Mynard also provide a will writing service, see
>>> https://nbmlaw.co.uk/wills.htm for more information
>>> 
>>> Confidentiality: Information in this message is confidential and
>> may
>>> be
>>> legally privileged. It is intended solely for the recipient to
>> whom
>>> it is
>>> addressed. If you receive the message in error, please notify the
>>> sender
>>> and immediately destroy all copies.
>>> 
>>> Security warning: Please note that this e-mail has been created
>> in
> the
>>> knowledge that e-mail is not a 100% secure communications
>> medium. We
>> advise
>>> you that you understand and observe this lack of security when
>>> e-mailing
>>> us. This e-mail does not constitute a legally binding document.
>> No
>>> contracts may be concluded on behalf of Nigel Broadhead Mynard
>>> Solicitors

Re: Microprofile jsonb configuration example proposal

2018-12-28 Thread Roberto Cortez
Hi Federico,

If we don’t have them, please go ahead :)

Can you just create a JIRA issue for each example with a small description? I 
can assign them to you.

Thank you!

Cheers,
Roberto

> On 28 Dec 2018, at 01:03, Federico Mariani  
> wrote:
> 
> Hi everyone,
> can be useful an example that shows jsonb configuration and custom
> serialization/deserialization?
> I have already worked on it and have some examples to share.
> 
> Cheers,
> Federico



Re: Java EE Security API for EE 8

2018-12-28 Thread Roberto Cortez
Hi David,

Actually, the EE 8 Security spec tells you to use a JASPIC bridge underneath 
the implementation, so your code might be a good fit. Can you point me out to 
the sources so I can have a look?

Thank you!

Cheers,
Roberto

> On 28 Dec 2018, at 03:40, David Jencks  wrote:
> 
> IIRC I wrote a JASPIC form authentication for the geronimo server long ago. 
> Although the JASPIC deployment model was somewhat incomprehensibly bizarre, 
> the conversation model was very nice. Depending on what the EE 8 api is (I 
> haven’t looked) the JASPIC implementation might be a source for 
> webserver-independent code for from authentication that could be easily 
> adapted.
> 
> David Jencks
> 
>> On Dec 27, 2018, at 3:53 PM, Roberto Cortez  
>> wrote:
>> 
>> Update:
>> 
>> I’ve started the implementation of the FormAuthenticationMechanism. Is not 
>> as easy as it sounds, since it requires some conversation chat across 
>> requests. I thought about wrapping all the logic and use the Tomcat 
>> FormAuthenticator, since it does exactly what we need. Unfortunately, it is 
>> too tied to the Tomcat code and it would require to instantiate a lot to 
>> Tomcat objects to be able to use it. I’m not sure if it would be worth it. I 
>> ended up following the spec suggestion to use a CDI interceptor and I’m 
>> copying / reusing some pieces of the FormAuthentication when possible.
>> 
>> PR updated:
>> https://github.com/apache/tomee/pull/277 
>> 
>> 
>> Cheers,
>> Roberto
>> 
>>> On 26 Dec 2018, at 22:11, Roberto Cortez  
>>> wrote:
>>> 
>>> Hi folks,
>>> 
>>> I’ve updated the PR with new changes:
>>> 
>>> - I’ve implemented a CDI Extension to create AuthenticationMechanism beans 
>>> and a CDI class to keep track of the mapping between the authentication 
>>> mechanism and the servlet that should be checked. When a Servlet is 
>>> executed the mapping is checked and if there is and associated 
>>> AuthenticationMechanism, we validate the request with the associated type 
>>> (Basic, Form, etc).
>>> 
>>> - Implemented the BasicAuthenticationMechanism and all the plumbing 
>>> required to be executed. This required an HttpMessageContext to pass 
>>> information around, plus store some state to make decisions on things to 
>>> do, including the CallbackHandler to pass in additional Callbacks to create 
>>> the Principal and Groups
>>> 
>>> - A default IdentityStore, using the Tomcat UserDatabase, that reads user 
>>> data from tomcat-users.xml
>>> 
>>> I’ll probably move to implement the missing AuthenticationMechanisms (FORM 
>>> and Custom) next.
>>> 
>>> Any feedback, always welcomed :)
>>> 
>>> Cheers,
>>> Roberto
>>> 
 On 19 Dec 2018, at 10:00, Bruno Baptista  wrote:
 
 TomEE Security works for me.
 
 Bruno Baptista
 https://twitter.com/brunobat_
 
 
 On 19/12/18 00:20, Roberto Cortez wrote:
> Hi folks,
> 
> Work is progressing.
> 
> I’ve added a good chunk of the API (as needed) to allow me to proceed. 
> I’ve tried to use the Jakarta Security API jar. Unfortunately, it is full 
> of dependencies to the other Jakarta dependent projects, some not in 
> central yet, so I couldn’t even build the project.
> 
> At the moment, I’ve added the structure to register a JASPIC provider to 
> serve as a bride to the Security implementation code. With a CDI 
> extension, we can register the required AuthenticationMechanisms and then 
> look them up to delegate the authentication code.
> 
> I’ve also wrote a default IdentityStoreHandler to validate user 
> credentials and retrieve user groups. This is just going through the 
> container registered IdentityStores and using the spec rules to identify 
> the credentials.
> 
> Right now, I’m just calling this TomEE Security. If someone has a more 
> fancy idea for a name, feel free to suggest it :)
> 
> Cheers,
> Roberto
> 
>> On 14 Dec 2018, at 23:44, Roberto Cortez  
>> wrote:
>> 
>> Hi folks,
>> 
>> I’ve now created a PR to push the work:
>> https://github.com/apache/tomee/pull/277 
>> 
>> 
>> It is still in the early stages. I’ve just spent a good amount of time 
>> trying to understand the spec. The ideia here is that with a 
>> ServerAuthModule we could verify each of the spec authentication 
>> mechanisms that will be implemented with a CDI Bean and use a CDI 
>> Extension to create the bean depending on the annotation you use.
>> 
>> Cheers,
>> Roberto
>> 
>>> On 13 Dec 2018, at 16:06, Roberto Cortez  
>>> wrote:
>>> 
>>> Hi folks,
>>> 
>>> I’ve created https://jira.apache.org/jira/browse/TOMEE-2365 
>>>  to implement the Java 
>>> EE Security API that came up in EE 8. We are missing this spec 
>>> 

[GitHub] tomee pull request #320: TOMEE-2423 - migrating from markdown to adoc (CDI e...

2018-12-28 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/tomee/pull/320


---


[GitHub] tomee pull request #315: I add description for all IDE's available on https:...

2018-12-28 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/tomee/pull/315


---


[GitHub] tomee pull request #314: I add description for all IDE's available on https:...

2018-12-28 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/tomee/pull/314


---


[GitHub] tomee pull request #317: TOMEE-2405 Migrate MP README's to adoc and create M...

2018-12-28 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/tomee/pull/317


---


[GitHub] tomee pull request #295: TOMEE-2405 Migrate MP README's to adoc and create M...

2018-12-28 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/tomee/pull/295


---


[GitHub] tomee pull request #319: TOMEE-2405

2018-12-28 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/tomee/pull/319


---


MP example already assigned

2018-12-28 Thread Khalid HORRI
Hi,
I have question about MP example Tickets in this link:
https://issues.apache.org/jira/browse/TOMEE-2285
I see that all tickets are assigned to someone or a dev is already working
on it. So How can I help on those tickets?

-- 
*تحياتي*
Cordialement,
Best regards
---
*خالد حري*
Khalid HORRI
Consultant Technique en Java/JEE