Re: Ejemplos en Español

2019-01-08 Thread César Hernández Mendoza
Got it, I'm going to work on updating my PR to enable the proposed changes. I'll keep this thread updated as I move forward. but one approach might be to break up this method > https://github.com/apache/tomee-site-generator/blob/master/src/main/java/org/apache/tomee/website/Sources.java#L117 Yes,

Re: TOMEE-2452 - Translate examples/access-timeout to Spanish

2019-01-08 Thread César Hernández Mendoza
PR is ready for review: https://github.com/apache/tomee/pull/367 Notice that this PR is harmless to current tomee-site-generator master since the generator currently only check for README. pattern. But this PR will allow easy integration when TOMEE-2444 gets completed. https://github.com/apache/t

Re: Ejemplos en Español

2019-01-08 Thread David Blevins
> On Jan 8, 2019, at 12:32 PM, César Hernández Mendoza > wrote: > > tomee-8.0 (latest) > Documentation > Examples [es] > Javadoc > > tomee-7.1 > Examples [es] [fr] > Javadoc We could still do that regardless of the url pattern change. There's a little bit of jumping already happening on the

Re: Performance issue with JMS on Tomee 7.0.5

2019-01-08 Thread Jonathan Gallimore
Cool, I managed to get a heap dump, taking a look. Jon On Tue, Jan 8, 2019 at 9:25 PM exabrial12 wrote: > I've got a project that can reproduce the issue in about 45s. From there, > you > can take your own heap dump and see the issue. Follow the directions here: > > https://github.com/exabrial/

Re: Performance issue with JMS on Tomee 7.0.5

2019-01-08 Thread exabrial12
Well... this might be a PEBKAC error If you change this method: public void disposeSession(@Disposes @Any Session session) { try { session.close(); } catch (JMSException e) { throw new RuntimeException(e);

Re: Performance issue with JMS on Tomee 7.0.5

2019-01-08 Thread exabrial12
I've got a project that can reproduce the issue in about 45s. From there, you can take your own heap dump and see the issue. Follow the directions here: https://github.com/exabrial/tomee-jms-perf cheers, -Jonathan [American version of Jonathan] -- Sent from: http://tomee-openejb.979440.n4.na

TOMEE-2452 - Translate examples/access-timeout to Spanish

2019-01-08 Thread César Hernández Mendoza
While in the other thread we finalize the details about the website content distribution, I want to start adding a couple of example translation into Spanish. Can some JIRA admin please assign https://issues.apache.org/jira/browse/TOMEE-2452 to me. -- Atentamente: César Hernández Mendoza.

Re: Ejemplos en Español

2019-01-08 Thread César Hernández Mendoza
Thank you for the feedback. I have one question regarding the navigation: Currently from the homepage, one can go to http://tomee.apache.org/docs.html by clicking the Documentation button. The resulting page has the following structure: tomee-8.0 (latest) Documentation Examples [es] Javadoc

Re: Ejemplos en Español

2019-01-08 Thread Carlos Chacín
+1 On Tue, Jan 8, 2019 at 12:00 PM Bruno Baptista wrote: > +1 > > Bruno Baptista > https://twitter.com/brunobat_ > > > On 08/01/19 19:22, David Blevins wrote: > > My perspective is we should switch this around from: > > > > -http://localhost:8080/tomee-8.0/examples/fr/ > > > > To: > > > > -h

Re: Ejemplos en Español

2019-01-08 Thread Bruno Baptista
+1 Bruno Baptista https://twitter.com/brunobat_ On 08/01/19 19:22, David Blevins wrote: My perspective is we should switch this around from: -http://localhost:8080/tomee-8.0/examples/fr/ To: -http://localhost:8080/tomee-8.0/fr/examples/

Re: Ejemplos en Español

2019-01-08 Thread David Blevins
> On Jan 4, 2019, at 6:47 PM, César Hernández Mendoza > wrote: > > When you click [fr] or [es], then the page for the translated examples > appears: http://localhost:8080/tomee-8.0/examples/es/ or > http://localhost:8080/tomee-8.0/examples/fr/ > Keeping the link for `Examples` the default in Eng

Re: Upgrade to Safeguard 1.2

2019-01-08 Thread Bruno Baptista
I think I found the problem. The old version uses a different lifecycle event to declare the errors: public void throwExceptions(@Observes AfterBeanDiscovery afterBeanDiscovery) { microProfileValidator.forThrowable(afterBeanDiscovery::addDefinitionError); } The new one: void addDefinitionEr

Re: Upgrade to Safeguard 1.2

2019-01-08 Thread Roberto Cortez
Yes, it was using a DefinitionException, but it shouldn’t matter that much, since the problem should happen anyway as you describe. > On 8 Jan 2019, at 17:27, Bruno Baptista wrote: > > Correct, but on the TCK, the FaultToleranceDefinitionException has not been > released yet... > > I was also

Re: Upgrade to Safeguard 1.2

2019-01-08 Thread Bruno Baptista
Correct, but on the TCK, the FaultToleranceDefinitionException has not been released yet... I was also wondering about the old version while I was going for some tea... I'll run the same test on the old version and see want happens. Bruno Baptista https://twitter.com/brunobat_ On 08/01/19

Re: Upgrade to Safeguard 1.2

2019-01-08 Thread Roberto Cortez
Hum, I wonder how was that working before with the old version? Are the expected exceptions new in the TCK? Looking into the code, it seems they are there since 2017, and actually you changed the expect from DefinitionException to FaultToleranceDefinitionException. Anyway, in the previous Safeg

Upgrade to Safeguard 1.2

2019-01-08 Thread Bruno Baptista
Hi folks, This is a status update on the upgrade of Safeguard. I was able to fix most issues, but a deeper problem remains. When an app is being deployed, the /SafeguardExtension/ goes over it's annotations and if something wrong is detected, a /DefinitionException/ is thrown, as expected. Th

Re: Performance issue with JMS on Tomee 7.0.5

2019-01-08 Thread Jonathan Gallimore
One of the things on my todo list is to try and strip sensitive information out of heap dumps using this library: https://github.com/eaftan/hprof-parser. I'll have to try and get back to that. Jon On Tue, Jan 8, 2019 at 4:11 PM exabrial12 wrote: > Hey Bruno, > > I'll contact you privately to ge

Building with Java 11

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

Re: Performance issue with JMS on Tomee 7.0.5

2019-01-08 Thread Doychin Bondzhev
Hi Jonathan, You can also try this: Download memory Analyzer Tool https://www.eclipse.org/mat/ Use it to process your heap dump and check the leak suspect report for biggest leak suspects. You can provide the result of the reports here to. Another tool you can use is JProfiler which is comme

Re: Performance issue with JMS on Tomee 7.0.5

2019-01-08 Thread Bruno Baptista
That's fine. I now use the Eclipse Analyzer: https://www.eclipse.org/mat/ I found it recently from Matthew Broadhead, here on the list. It's much faster than jVisualVM. Just sort by the retained memory values. Cheers Bruno Baptista https://twitter.com/brunobat_ On 08/01/19 16:11, exabrial

Re: Performance issue with JMS on Tomee 7.0.5

2019-01-08 Thread exabrial12
Hey Bruno, I'll contact you privately to get it to you. The heap is a little more sensitive than the jstack :) You'll have to describe the process you're doing with it though so we can all learn -- Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html

Re: Javadoc is online / How deployment works

2019-01-08 Thread Jonathan Gallimore
Hi Gurkan I'll assign those to you. I also saw a PR come in with some documentation. I'll review and merge shortly. Thanks Jon On Tue, Jan 8, 2019 at 3:14 PM Gurkan Erdogdu wrote: > Hello team > I have just opened an issue, > https://issues.apache.org/jira/browse/TOMEE-2450 to track all Java

Re: Java EE Security API for EE 8

2019-01-08 Thread Gurkan Erdogdu
Hello Roberto, Thank you for initiating this integration. Can you prepare a small documentation (and also send to here) which helps contributors to understand the internals about your current commit. Regards. Gurkan On Tue, Jan 8, 2019 at 6:14 PM Roberto Cortez wrote: > Hi folks, > > I think I’

Re: Javadoc is online / How deployment works

2019-01-08 Thread Gurkan Erdogdu
Hello team I have just opened an issue, https://issues.apache.org/jira/browse/TOMEE-2450 to track all Java source code comments. This will be the parent issue to track all sub-tasks. If you want to work on Java Source file to update with comments, please open a sub-task under this issue. I have alr

Re: Java EE Security API for EE 8

2019-01-08 Thread Roberto Cortez
Hi folks, I think I’m now done with the FormAuthentication. There are still things left to implement. At the moment, the code is part of the project but is not part of the binary. I would like to merge the current PR: https://github.com/apache/tomee/pull/277

Re: Performance issue with JMS on Tomee 7.0.5

2019-01-08 Thread Bruno Baptista
Hi Jon, I'd like to have a look at the memory heap dump when available. Cheers Bruno Baptista https://twitter.com/brunobat_ On 07/01/19 14:35, exabrial12 wrote: Thanks, Issue opened here: https://issues.apache.org/jira/projects/TOMEE/issues/TOMEE-2449 We'll try and create a project that de

Re: MicroProfile Fault Tolerance 1.1?

2019-01-08 Thread Bruno Baptista
Hi Doychin, The jitter issue has been fixed in the latest snapshot. Cheers Bruno Baptista https://twitter.com/brunobat_ On 07/01/19 14:31, Doychin Bondzhev wrote: I see now two issues. I will try to report the the problem I found with jitter now. On 7.1.2019 г. 15:05, Roberto Cortez [via T