[GitHub] tomee issue #176: TOMEE-2253 - tomee.sh -version not working properly with J...

2018-10-24 Thread rmannibucau
Github user rmannibucau commented on the issue: https://github.com/apache/tomee/pull/176 @danielsoro if you change the classloader it can impact the users relying on that (it can be the case if they tune java or use system classloader only libs. This is rare but already saw

[GitHub] tomee issue #176: TOMEE-2253 - tomee.sh -version not working properly with J...

2018-10-23 Thread rmannibucau
Github user rmannibucau commented on the issue: https://github.com/apache/tomee/pull/176 well some thoughts: 1. most of the time we dont need this dynamism so maybe we can just rework the distro and delete it 2. we already hack equals/hashcode in cxf container loader

[GitHub] tomee issue #176: TOMEE-2253 - tomee.sh -version not working properly with J...

2018-10-23 Thread rmannibucau
Github user rmannibucau commented on the issue: https://github.com/apache/tomee/pull/176 Yes, this is what i had in mind as well. That said if it is just for our CLI your hack is fine, we should just lock it for other cases like openejb-standalone ---

[GitHub] tomee issue #176: TOMEE-2253 - tomee.sh -version not working properly with J...

2018-10-23 Thread rmannibucau
Github user rmannibucau commented on the issue: https://github.com/apache/tomee/pull/176 Hope i didnt misread the diff (starts to be late ;)) but it misses a close and the urlclassloader cast will not work on all java versions right? ---

[GitHub] tomee issue #180: Apache BVal - BV certification feedback

2018-10-30 Thread rmannibucau
Github user rmannibucau commented on the issue: https://github.com/apache/tomee/pull/180 @gsmet updated master to pass the tck with bval 2.0.1-SNAPSHOT, do you care rebasing your PR and checking it works for you? ---

[GitHub] tomee issue #176: TOMEE-2253 - tomee.sh -version not working properly with J...

2018-10-25 Thread rmannibucau
Github user rmannibucau commented on the issue: https://github.com/apache/tomee/pull/176 Thnking to users having a java -cp command launching Cli (we have a few). Side note: i think you still close the classloader before it is finished to be used - after cli execution pby ---

[GitHub] tomee issue #176: TOMEE-2253 - tomee.sh -version not working properly with J...

2018-10-23 Thread rmannibucau
Github user rmannibucau commented on the issue: https://github.com/apache/tomee/pull/176 Hmm, you close the classloader before it is used so it is no more usable normally - or it will leak. Side question: any issue having an impl os ClassPath using the classloader to keep

[GitHub] tomee pull request #175: [tomee-7.0.x][TOMEE-2249] Fix EclipseLink NPE on in...

2018-09-30 Thread rmannibucau
Github user rmannibucau commented on a diff in the pull request: https://github.com/apache/tomee/pull/175#discussion_r221449894 --- Diff: container/openejb-jpa-integration/src/main/java/org/apache/openejb/jpa/integration/eclipselink/OpenEJBServerPlatform.java --- @@ -63,4 +65,11

[GitHub] tomee pull request #175: [tomee-7.0.x][TOMEE-2249] Fix EclipseLink NPE on in...

2018-09-30 Thread rmannibucau
Github user rmannibucau commented on a diff in the pull request: https://github.com/apache/tomee/pull/175#discussion_r221449834 --- Diff: container/openejb-jpa-integration/src/main/java/org/apache/openejb/jpa/integration/eclipselink/MBeanOpenEJBRuntimeServices.java --- @@ -0,0

[GitHub] tomee issue #176: TOMEE-2253 - tomee.sh -version not working properly with J...

2018-10-10 Thread rmannibucau
Github user rmannibucau commented on the issue: https://github.com/apache/tomee/pull/176 @danielsoro classloader.close() must be called to not leak and enable to read files after the end of the container. ---

[GitHub] tomee issue #176: TOMEE-2253 - tomee.sh -version not working properly with J...

2018-10-10 Thread rmannibucau
Github user rmannibucau commented on the issue: https://github.com/apache/tomee/pull/176 Java 6 didnt have that method but we should close all our classloaders once yes. ---

[GitHub] tomee pull request #175: [tomee-7.0.x][TOMEE-2249] Fix EclipseLink NPE on in...

2018-10-08 Thread rmannibucau
Github user rmannibucau commented on a diff in the pull request: https://github.com/apache/tomee/pull/175#discussion_r223478552 --- Diff: container/openejb-jpa-integration/src/main/java/org/apache/openejb/jpa/integration/eclipselink/OpenEJBServerPlatform.java --- @@ -26,13 +27,14

[GitHub] tomee pull request #175: [tomee-7.0.x][TOMEE-2249] Fix EclipseLink NPE on in...

2018-10-08 Thread rmannibucau
Github user rmannibucau commented on a diff in the pull request: https://github.com/apache/tomee/pull/175#discussion_r223478337 --- Diff: container/openejb-jpa-integration/src/main/java/org/apache/openejb/jpa/integration/eclipselink/MBeanOpenEJBRuntimeServices.java --- @@ -0,0

[GitHub] tomee issue #171: [Master Branch] TOMEE-2240 ManagedScheduledExecutorService...

2018-09-26 Thread rmannibucau
Github user rmannibucau commented on the issue: https://github.com/apache/tomee/pull/171 No issue, thanks for taking time to PR and recheck it. ---

[GitHub] tomee issue #171: [Master Branch] TOMEE-2240 ManagedScheduledExecutorService...

2018-09-26 Thread rmannibucau
Github user rmannibucau commented on the issue: https://github.com/apache/tomee/pull/171 Isnt 5s too small? Also, dont forget to add new params to service-jar.xml in openejb-core. Otherwise looks good! ---

[GitHub] tomee pull request #218: TOMEE-2290 - Metrics timer example

2018-11-26 Thread rmannibucau
Github user rmannibucau commented on a diff in the pull request: https://github.com/apache/tomee/pull/218#discussion_r236249672 --- Diff: examples/mp-metrics-timed/src/test/java/WeatherServiceTest.java --- @@ -0,0 +1,151 @@ +/** + * Licensed to the Apache Software

[GitHub] tomee pull request #218: TOMEE-2290 - Metrics timer example

2018-11-26 Thread rmannibucau
Github user rmannibucau commented on a diff in the pull request: https://github.com/apache/tomee/pull/218#discussion_r236248226 --- Diff: examples/mp-metrics-timed/src/test/java/WeatherServiceTest.java --- @@ -0,0 +1,151 @@ +/** + * Licensed to the Apache Software

[GitHub] tomee pull request #218: TOMEE-2290 - Metrics timer example

2018-11-26 Thread rmannibucau
Github user rmannibucau commented on a diff in the pull request: https://github.com/apache/tomee/pull/218#discussion_r236248396 --- Diff: examples/mp-metrics-timed/src/test/java/WeatherServiceTest.java --- @@ -0,0 +1,151 @@ +/** + * Licensed to the Apache Software

[GitHub] tomee pull request #218: TOMEE-2290 - Metrics timer example

2018-11-26 Thread rmannibucau
Github user rmannibucau commented on a diff in the pull request: https://github.com/apache/tomee/pull/218#discussion_r236248868 --- Diff: examples/mp-metrics-timed/src/test/java/WeatherServiceTest.java --- @@ -0,0 +1,151 @@ +/** + * Licensed to the Apache Software

[GitHub] tomee pull request #218: TOMEE-2290 - Metrics timer example

2018-11-26 Thread rmannibucau
Github user rmannibucau commented on a diff in the pull request: https://github.com/apache/tomee/pull/218#discussion_r236314041 --- Diff: examples/mp-metrics-timed/src/test/java/WeatherServiceTest.java --- @@ -0,0 +1,151 @@ +/** + * Licensed to the Apache Software

[GitHub] tomee pull request #218: TOMEE-2290 - Metrics timer example

2018-11-26 Thread rmannibucau
Github user rmannibucau commented on a diff in the pull request: https://github.com/apache/tomee/pull/218#discussion_r236342694 --- Diff: examples/mp-metrics-timed/pom.xml --- @@ -0,0 +1,71 @@ + --- End diff -- header ;) ---