Build failed in Jenkins: TomEE » tomee-8.x-deploy #405

2022-12-16 Thread Apache Jenkins Server
See 


Changes:


--
[...truncated 1.44 MB...]
[JENKINS] Archiving 

 to 
org.apache.tomee/arquillian-tomee-jaxrs-tests/8.0.14-SNAPSHOT/arquillian-tomee-jaxrs-tests-8.0.14-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.tomee/openejb-itests-client/8.0.14-SNAPSHOT/openejb-itests-client-8.0.14-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.tomee/openejb-itests-client/8.0.14-20221217.045437-77/openejb-itests-client-8.0.14-20221217.045437-77.jar
[JENKINS] Archiving 

 to 
org.apache.tomee/log4j2-tomee/8.0.14-SNAPSHOT/log4j2-tomee-8.0.14-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.tomee/log4j2-tomee/8.0.14-20221217.053628-77/log4j2-tomee-8.0.14-20221217.053628-77.jar
[JENKINS] Archiving 
 
to org.apache.tomee/tomee/8.0.14-SNAPSHOT/tomee-8.0.14-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.openejb.itests/failover/8.0.14-SNAPSHOT/failover-8.0.14-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.openejb.itests/failover/8.0.14-20221217.052426-77/failover-8.0.14-20221217.052426-77.jar
[JENKINS] Archiving 

 to 
org.apache.tomee/tomee-server-version/8.0.14-SNAPSHOT/tomee-server-version-8.0.14-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.tomee/tomee-server-version/8.0.14-20221217.051011-77/tomee-server-version-8.0.14-20221217.051011-77.jar
[JENKINS] Archiving 
 
to org.apache.tomee/server/8.0.14-SNAPSHOT/server-8.0.14-SNAPSHOT.pom
[JENKINS] Archiving 

 to org.apache.tomee.itests/ejb/8.0.14-SNAPSHOT/ejb-8.0.14-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.tomee/mbean-annotation-api/8.0.14-SNAPSHOT/mbean-annotation-api-8.0.14-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.tomee/mbean-annotation-api/8.0.14-20221217.045127-77/mbean-annotation-api-8.0.14-20221217.045127-77.jar
[JENKINS] Archiving 

 to 
org.apache.tomee/openejb-standalone/8.0.14-SNAPSHOT/openejb-standalone-8.0.14-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.tomee/openejb-standalone/8.0.14-20221217.052308-77/openejb-standalone-8.0.14-20221217.052308-77.zip
[JENKINS] Archiving 

 to 
org.apache.tomee/openejb-standalone/8.0.14-20221217.052308-77/openejb-standalone-8.0.14-20221217.052308-77.tar.gz
[Fast Archiver] Compressed 81.89 MB of artifacts by 35.0% relative to #404
[JENKINS] Archiving 

 to 
org.apache.tomee/arquillian-tomee-remote/8.0.14-SNAPSHOT/arquillian-tomee-remote-8.0.14-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.openejb.itests/legacy-client/8.0.14-SNAPSHOT/legacy-client-8.0.14-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.openejb.itests/legacy-client/8.0.14-20221217.052441-77/legacy-client-8.0.14-20221217.052441-77.jar
[JENKINS] Archiving 


Build failed in Jenkins: TomEE » tomee-8.x-deploy » TomEE :: TomEE :: Apache TomEE #405

2022-12-16 Thread Apache Jenkins Server
See 


Changes:


--
[...truncated 28.24 KB...]
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.reflect.InvocationTargetException
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.openejb.javaagent.Agent.dynamicLoadAgent(Agent.java:151)
at 
org.apache.openejb.javaagent.Agent.checkInitialization(Agent.java:102)
... 61 more
Caused by: java.io.IOException: Can not attach to current VM
at 
jdk.attach/sun.tools.attach.HotSpotVirtualMachine.(HotSpotVirtualMachine.java:75)
at 
jdk.attach/sun.tools.attach.VirtualMachineImpl.(VirtualMachineImpl.java:57)
at 
jdk.attach/sun.tools.attach.AttachProviderImpl.attachVirtualMachine(AttachProviderImpl.java:58)
at 
jdk.attach/com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:207)
... 67 more
Deleting: 

Deleting: 

Deleting: 

[INFO] Assigning execute privileges to scripts in Tomcat bin directory
Deleting directory 

Deleting directory 

[INFO] 
[INFO] --- groovy-maven-plugin:2.0:execute (execute-plume-installer) @ 
apache-tomee ---
[INFO] extracting 

Expanding: 

 into 

[INFO] Deploying the tomee war
Expanding: 
/home/jenkins/.m2/repository/org/apache/tomee/tomee-plume-webapp/8.0.14-SNAPSHOT/tomee-plume-webapp-8.0.14-SNAPSHOT.war
 into 

[INFO] Installing to: 

java.lang.IllegalStateException: Unable to initialize agent
at 
org.apache.openejb.javaagent.Agent.checkInitialization(Agent.java:104)
at org.apache.openejb.javaagent.Agent.getInstrumentation(Agent.java:94)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at 
org.apache.tomee.installer.InstallerTools.invokeStaticNoArgMethod(InstallerTools.java:28)
at org.apache.tomee.installer.Installer.(Installer.java:48)
at 
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
at 
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at 
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at 
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at 
org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
at 
org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105)
at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:60)
at 
org.codehaus.groovy.runtime.callsite.AbstractCal

Build failed in Jenkins: TomEE » master-sanity-checks #578

2022-12-16 Thread Apache Jenkins Server
See 


Changes:

[Jean-Louis Monteiro] Using an interface seems to make it slower to make 
StatelessInvocationStatsTest


--
[...truncated 2.99 MB...]
[JENKINS] Archiving 

 to 
org.superbiz/client-resource-lookup-preview/9.0.0-SNAPSHOT/client-resource-lookup-preview-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.superbiz/client-resource-lookup-preview/9.0.0-SNAPSHOT/client-resource-lookup-preview-9.0.0-SNAPSHOT.jar
[JENKINS] Archiving 

 to 
org.apache.openejb.itests/legacy-client/9.0.0-SNAPSHOT/legacy-client-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.openejb.itests/legacy-client/9.0.0-SNAPSHOT/legacy-client-9.0.0-SNAPSHOT.jar
[JENKINS] Archiving 

 to org.apache.tomee/openejb-ssh/9.0.0-SNAPSHOT/openejb-ssh-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to org.apache.tomee/openejb-ssh/9.0.0-SNAPSHOT/openejb-ssh-9.0.0-SNAPSHOT.jar
[JENKINS] Archiving 

 to 
org.apache.tomee/openejb-ssh/9.0.0-SNAPSHOT/openejb-ssh-9.0.0-SNAPSHOT.tar.gz
[JENKINS] Archiving 

 to org.apache.tomee/openejb-ssh/9.0.0-SNAPSHOT/openejb-ssh-9.0.0-SNAPSHOT.zip
[Fast Archiver] Compressed 4.80 MB of artifacts by 41.7% relative to #577
[JENKINS] Archiving 

 to 
org.superbiz/webservice-ws-with-resources-config/9.0.0-SNAPSHOT/webservice-ws-with-resources-config-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.superbiz/webservice-ws-with-resources-config/9.0.0-SNAPSHOT/webservice-ws-with-resources-config-9.0.0-SNAPSHOT.jar
[JENKINS] Archiving 

 to org.superbiz/scala-basic/9.0.0-SNAPSHOT/scala-basic-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to org.superbiz/scala-basic/9.0.0-SNAPSHOT/scala-basic-9.0.0-SNAPSHOT.jar
[JENKINS] Archiving 

 to 
org.superbiz/lookup-of-ejbs-with-descriptor/9.0.0-SNAPSHOT/lookup-of-ejbs-with-descriptor-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.superbiz/lookup-of-ejbs-with-descriptor/9.0.0-SNAPSHOT/lookup-of-ejbs-with-descriptor-9.0.0-SNAPSHOT.jar
[JENKINS] Archiving 

 to 
org.superbiz/mp-custom-healthcheck/9.0.0-SNAPSHOT/mp-custom-healthcheck-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.superbiz/mp-custom-healthcheck/9.0.0-SNAPSHOT/mp-custom-healthcheck-9.0.0-SNAPSHOT.war
[JENKINS] Archiving 

 to 
org.apache.tomee/openejb-core-hibernate/9.0.0-SNAPSHOT/openejb-core-hibernate-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to org.superbiz/jpa-hibernate/9.0.0-SNAPSHOT/jpa-hibernate-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to org.superbiz/jpa-hibernate/9.0.0-SNAPSHOT/jpa-hibernate-9.0.0-SNAPSHOT.jar
[JENKINS] Archiving 


Build failed in Jenkins: TomEE » master-sanity-checks » TomEE :: Examples #578

2022-12-16 Thread Apache Jenkins Server
See 


Changes:


--
[INFO] 
[INFO] ---< org.apache.tomee.gradle:gradle >---
[INFO] Building TomEE :: Gradle Plugins 9.0.0-SNAPSHOT [18/345]
[INFO] [ pom ]-
[WARNING] *
[WARNING] * Your build is requesting parallel execution, but this *
[WARNING] * project contains the following plugin(s) that have goals not  *
[WARNING] * marked as thread-safe to support parallel execution.  *
[WARNING] * While this /may/ work fine, please look for plugin updates*
[WARNING] * and/or request plugins be made thread-safe.   *
[WARNING] * If reporting an issue, report it against the plugin in*
[WARNING] * question, not against Apache Maven.   *
[WARNING] *
[WARNING] The following plugins are not marked as thread-safe in TomEE :: 
Gradle Plugins:
[WARNING]   org.codehaus.swizzle:dependency-report-plugin:1.0.2
[WARNING] 
[WARNING] Enable debug to see precisely which goals are not marked as 
thread-safe.
[WARNING] *
[INFO] 
[INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ gradle ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
business-model ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ 
connector-sample-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to 

[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
moviefun-business-model ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] 
[INFO] -< org.apache.tomee:examples >--
[INFO] Building TomEE :: Examples 9.0.0-SNAPSHOT   [19/345]
[INFO] [ pom ]-


Jenkins build is still unstable: TomEE » master-build-quick #491

2022-12-16 Thread Apache Jenkins Server
See 




Jenkins build is back to stable : TomEE » master-build-quick » TomEE :: Server :: EJBd #491

2022-12-16 Thread Apache Jenkins Server
See 




Jenkins build is still unstable: TomEE » master-build-quick » TomEE :: Container :: Core #491

2022-12-16 Thread Apache Jenkins Server
See 




Jenkins build is back to stable : TomEE » master-build-quick » TomEE :: Server :: Http #491

2022-12-16 Thread Apache Jenkins Server
See 




Jenkins build is back to normal : TomEE » master-deploy #4078

2022-12-16 Thread Apache Jenkins Server
See 




Jenkins build is back to normal : TomEE » master-deploy » TomEE :: TomEE :: Plus Webapp #4078

2022-12-16 Thread Apache Jenkins Server
See 




Build failed in Jenkins: TomEE » master-sanity-checks #577

2022-12-16 Thread Apache Jenkins Server
See 


Changes:

[David Blevins] Update tomee-patch-plugin to 0.10-SNAPSHOT so we can get 
updated source jars

[David Blevins] Use response from WebApplicationException


--
[...truncated 3.06 MB...]
[JENKINS] Archiving 

 to 
org.apache.tomee/openejb-bonecp/9.0.0-SNAPSHOT/openejb-bonecp-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.tomee/openejb-bonecp/9.0.0-SNAPSHOT/openejb-bonecp-9.0.0-SNAPSHOT.jar
[JENKINS] Archiving 

 to 
org.apache.tomee/cxf-rt-rs-mp-client-shade/9.0.0-SNAPSHOT/cxf-rt-rs-mp-client-shade-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.tomee/cxf-rt-rs-mp-client-shade/9.0.0-SNAPSHOT/cxf-rt-rs-mp-client-shade-9.0.0-SNAPSHOT.jar
[JENKINS] Archiving 

 to 
org.apache.tomee/cxf-rt-rs-mp-client-shade/9.0.0-SNAPSHOT/cxf-rt-rs-mp-client-shade-9.0.0-SNAPSHOT-sources.jar
[JENKINS] Archiving 

 to 
org.apache.tomee.maven/maven-util/9.0.0-SNAPSHOT/maven-util-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.tomee.maven/maven-util/9.0.0-SNAPSHOT/maven-util-9.0.0-SNAPSHOT.jar
[JENKINS] Archiving 

 to 
org.apache.tomee/openejb-junit5-backward/9.0.0-SNAPSHOT/openejb-junit5-backward-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.tomee/openejb-junit5-backward/9.0.0-SNAPSHOT/openejb-junit5-backward-9.0.0-SNAPSHOT.jar
[JENKINS] Archiving 

 to 
org.apache.tomee/tomee-mojarra/9.0.0-SNAPSHOT/tomee-mojarra-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.tomee/tomee-mojarra/9.0.0-SNAPSHOT/tomee-mojarra-9.0.0-SNAPSHOT.jar
[JENKINS] Archiving 

 to 
org.apache.tomee.bom/tomee-webprofile/9.0.0-SNAPSHOT/tomee-webprofile-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.tomee.bom/tomee-webprofile/9.0.0-SNAPSHOT/tomee-webprofile-9.0.0-SNAPSHOT.jar
[JENKINS] Archiving 

 to org.apache.tomee/openejb-rest/9.0.0-SNAPSHOT/openejb-rest-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to org.apache.tomee/openejb-rest/9.0.0-SNAPSHOT/openejb-rest-9.0.0-SNAPSHOT.jar
[JENKINS] Archiving 

 to 
org.superbiz/mp-metrics-histogram/9.0.0-SNAPSHOT/mp-metrics-histogram-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.superbiz/mp-metrics-histogram/9.0.0-SNAPSHOT/mp-metrics-histogram-9.0.0-SNAPSHOT.war
[Fast Archiver] No prior successful build to compare, so performing full copy 
of artifacts
[JENKINS] Archiving 

 to 
org.superbiz/jsonb-custom-serializer/9.0.0-SNAPSHOT/jsonb-custom-serializer-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.superbiz/jsonb-custom-serializer/9.0.0-SNAPSHOT/jsonb-custom-serializer-9.0.0-SNAPSHOT.war
[Fast Archiver] No prior successful build to compar

Build failed in Jenkins: TomEE » master-sanity-checks » TomEE :: Examples #577

2022-12-16 Thread Apache Jenkins Server
See 


Changes:


--
[INFO] 
[INFO] ---< org.apache.tomee.gradle:gradle >---
[INFO] Building TomEE :: Gradle Plugins 9.0.0-SNAPSHOT [21/345]
[INFO] [ pom ]-
[WARNING] *
[WARNING] * Your build is requesting parallel execution, but this *
[WARNING] * project contains the following plugin(s) that have goals not  *
[WARNING] * marked as thread-safe to support parallel execution.  *
[WARNING] * While this /may/ work fine, please look for plugin updates*
[WARNING] * and/or request plugins be made thread-safe.   *
[WARNING] * If reporting an issue, report it against the plugin in*
[WARNING] * question, not against Apache Maven.   *
[WARNING] *
[WARNING] The following plugins are not marked as thread-safe in TomEE :: 
Gradle Plugins:
[WARNING]   org.codehaus.swizzle:dependency-report-plugin:1.0.2
[WARNING] 
[WARNING] Enable debug to see precisely which goals are not marked as 
thread-safe.
[WARNING] *
[INFO] Building war: 

[INFO] Building war: 

[INFO] Building war: 

[INFO] Building war: 

[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ business-model 
---
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/superbiz/business-model/9.0.0-SNAPSHOT/business-model-9.0.0-SNAPSHOT.jar
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/superbiz/business-model/9.0.0-SNAPSHOT/business-model-9.0.0-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-version) @ 
container ---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ ejb-webservice 
---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-version) @ maven 
---
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/superbiz/ejb-webservice/9.0.0-SNAPSHOT/ejb-webservice-9.0.0-SNAPSHOT.war
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-version) @ tck ---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ jsf-cdi-and-ejb 
---
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/superbiz/jsf/jsf-cdi-and-ejb/9.0.0-SNAPSHOT/jsf-cdi-and-ejb-9.0.0-SNAPSHOT.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/superbiz/ejb-webservice/9.0.0-SNAPSHOT/ejb-webservice-9.0.0-SNAPSHOT.pom
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/superbiz/jsf/jsf-cdi-and-ejb/9.0.0-SNAPSHOT/jsf-cdi-and-ejb-9.0.0-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ struts ---
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/superbiz/struts/struts/9.0.0-SNAPSHOT/struts-9.0.0-SNAPSHOT.war
[INFO] 
[INFO] -< org.apache.tomee:examples >--
[INFO] Building TomEE :: Examples 9.0.0-SNAPSHOT   [22/345]
[INFO] [ pom ]-


[tomee] branch main updated: Using an interface seems to make it slower to make StatelessInvocationStatsTest

2022-12-16 Thread jlmonteiro
This is an automated email from the ASF dual-hosted git repository.

jlmonteiro pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomee.git


The following commit(s) were added to refs/heads/main by this push:
 new d76fbd589e Using an interface seems to make it slower to make 
StatelessInvocationStatsTest
d76fbd589e is described below

commit d76fbd589e39010af3978ce6dcd5df0c1d2346f4
Author: Jean-Louis Monteiro 
AuthorDate: Fri Dec 16 23:29:44 2022 +0100

Using an interface seems to make it slower to make 
StatelessInvocationStatsTest
---
 .../interceptor/ReflectionInvocationContext.java   | 49 +-
 .../openejb/monitoring/StatsInterceptor.java   |  3 --
 2 files changed, 29 insertions(+), 23 deletions(-)

diff --git 
a/container/openejb-core/src/main/java/org/apache/openejb/core/interceptor/ReflectionInvocationContext.java
 
b/container/openejb-core/src/main/java/org/apache/openejb/core/interceptor/ReflectionInvocationContext.java
index 39c087935e..2879742cfc 100644
--- 
a/container/openejb-core/src/main/java/org/apache/openejb/core/interceptor/ReflectionInvocationContext.java
+++ 
b/container/openejb-core/src/main/java/org/apache/openejb/core/interceptor/ReflectionInvocationContext.java
@@ -195,55 +195,64 @@ public class ReflectionInvocationContext implements 
InvocationContext {
 }
 }
 
-public interface Invocation {
-Object invoke() throws Exception;
-}
-protected abstract static class InvocationBase implements Invocation {
-private final Executable executable;
+protected abstract static class Invocation {
+private final Method method;
 private final Object[] args;
 private final Object target;
 
-public InvocationBase(final Object target, final Executable 
executable, final Object[] args) {
+public Invocation(final Object target, final Method method, final 
Object[] args) {
 this.target = target;
-this.executable = executable;
+this.method = method;
 this.args = args;
 }
 
 public Object invoke() throws Exception {
 
-if (executable instanceof Method) {
-return ((Method) executable).invoke(target, args);
-
-} else {
-return ((Constructor) executable).newInstance(args);
-}
+final Object value = method.invoke(target, args);
+return value;
 }
 
 
 public String toString() {
-return executable.getDeclaringClass().getName() + "." + 
executable.getName();
+return method.getDeclaringClass().getName() + "." + 
method.getName();
 }
 }
 
-private static class BeanInvocation extends InvocationBase {
+private static class BeanInvocation extends Invocation {
 public BeanInvocation(final Object target, final Method method, final 
Object[] args) {
 super(target, method, args);
 }
 }
 
-protected static class ConstructorInvocation extends InvocationBase {
+protected static class ConstructorInvocation extends Invocation {
+private final Constructor constructor;
+private final Object[] args;
+
 public ConstructorInvocation(final Constructor constructor, final 
Object[] args) {
-super(null, constructor, args);
+super(null, null, args);
+this.args = args;
+this.constructor = constructor;
+}
+
+@Override
+public Object invoke() throws Exception {
+final Object value = constructor.newInstance(args);
+return value;
+}
+
+
+public String toString() {
+return constructor.getDeclaringClass().getName() + "." + 
constructor.getName();
 }
 }
 
-private static class InterceptorInvocation extends InvocationBase {
+private static class InterceptorInvocation extends Invocation {
 public InterceptorInvocation(final Object target, final Method method, 
final InvocationContext invocationContext) {
 super(target, method, new Object[]{invocationContext});
 }
 }
 
-private static class LifecycleInvocation extends InvocationBase {
+private static class LifecycleInvocation extends Invocation {
 private final InvocationContext invocationContext;
 
 public LifecycleInvocation(final Object target, final Method method, 
final InvocationContext invocationContext, final Object[] args) {
@@ -261,7 +270,7 @@ public class ReflectionInvocationContext implements 
InvocationContext {
 }
 }
 
-private static class NoOpInvocation extends InvocationBase {
+private static class NoOpInvocation extends Invocation {
 public NoOpInvocation() {
 super(null, null, null);
 }
diff --git 
a/container/openejb-core/src/main/java/org/apache/openejb/monitoring/StatsInterceptor.java
 
b/container/openejb-core/sr

[tomee] 02/02: Use response from WebApplicationException

2022-12-16 Thread dblevins
This is an automated email from the ASF dual-hosted git repository.

dblevins pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomee.git

commit bff9c22bb39bba1ada98541c87f4a76acbac9148
Author: David Blevins 
AuthorDate: Fri Dec 16 13:20:23 2022 -0800

Use response from WebApplicationException
---
 .../opentracing/MicroProfileOpenTracingExceptionMapper.java | 6 ++
 1 file changed, 6 insertions(+)

diff --git 
a/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile/opentracing/MicroProfileOpenTracingExceptionMapper.java
 
b/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile/opentracing/MicroProfileOpenTracingExceptionMapper.java
index 40dd5ea0e6..5e80474dcd 100644
--- 
a/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile/opentracing/MicroProfileOpenTracingExceptionMapper.java
+++ 
b/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile/opentracing/MicroProfileOpenTracingExceptionMapper.java
@@ -16,6 +16,7 @@
  */
 package org.apache.tomee.microprofile.opentracing;
 
+import jakarta.ws.rs.WebApplicationException;
 import jakarta.ws.rs.core.Response;
 import jakarta.ws.rs.ext.Provider;
 
@@ -24,6 +25,11 @@ public class MicroProfileOpenTracingExceptionMapper 
implements jakarta.ws.rs.ext
 
 @Override
 public Response toResponse(final RuntimeException exception) {
+if (exception instanceof WebApplicationException) {
+final WebApplicationException o = (WebApplicationException) 
exception;
+return o.getResponse();
+}
+
 return Response.status(Response.Status.INTERNAL_SERVER_ERROR)
.entity(exception.getMessage())
.build();



[tomee] 01/02: Update tomee-patch-plugin to 0.10-SNAPSHOT so we can get updated source jars

2022-12-16 Thread dblevins
This is an automated email from the ASF dual-hosted git repository.

dblevins pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomee.git

commit c0202f0b0472b4771fedae6f0ea773b74181df57
Author: David Blevins 
AuthorDate: Tue Dec 13 10:34:17 2022 -0800

Update tomee-patch-plugin to 0.10-SNAPSHOT so we can get updated source jars
---
 pom.xml | 18 +-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index c19014fa6e..ab130a1b31 100644
--- a/pom.xml
+++ b/pom.xml
@@ -99,7 +99,7 @@
 
 
 9.1-M2
-0.9
+0.10-SNAPSHOT
 
 
 UTF-8
@@ -633,6 +633,22 @@
   
 
   
+  
+deps
+boms
+itests
+maven
+gradle
+container
+server
+mp-jwt
+examples
+assembly
+tck
+arquillian
+utils
+tomee
+  
 
   
 



[tomee] branch main updated (d97c43ad72 -> bff9c22bb3)

2022-12-16 Thread dblevins
This is an automated email from the ASF dual-hosted git repository.

dblevins pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tomee.git


from d97c43ad72 Rollback BeanContext refactoring until we solve the 
StatelessInvocationStatsTest. It's breaking itests as it's currently
 new c0202f0b04 Update tomee-patch-plugin to 0.10-SNAPSHOT so we can get 
updated source jars
 new bff9c22bb3 Use response from WebApplicationException

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 pom.xml| 18 +-
 .../MicroProfileOpenTracingExceptionMapper.java|  6 ++
 2 files changed, 23 insertions(+), 1 deletion(-)



Jenkins build is still unstable: TomEE » master-build-full #850

2022-12-16 Thread Apache Jenkins Server
See 




Jenkins build is still unstable: TomEE » master-build-full » TomEE :: Server :: EJBd #850

2022-12-16 Thread Apache Jenkins Server
See 




Jenkins build is still unstable: TomEE » master-build-full » TomEE :: Container :: Core #850

2022-12-16 Thread Apache Jenkins Server
See 




Jenkins build is still unstable: TomEE » master-build-full » TomEE :: Server :: Http #850

2022-12-16 Thread Apache Jenkins Server
See 




Jenkins build is still unstable: TomEE » master-build-full » TomEE :: Arquillian Adaptors Parent :: Tests :: JAXRS #850

2022-12-16 Thread Apache Jenkins Server
See 




[tomee] branch main updated: Rollback BeanContext refactoring until we solve the StatelessInvocationStatsTest. It's breaking itests as it's currently

2022-12-16 Thread jlmonteiro
This is an automated email from the ASF dual-hosted git repository.

jlmonteiro pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomee.git


The following commit(s) were added to refs/heads/main by this push:
 new d97c43ad72 Rollback BeanContext refactoring until we solve the 
StatelessInvocationStatsTest. It's breaking itests as it's currently
d97c43ad72 is described below

commit d97c43ad72449e491d40c50d4534a5720f0c5c35
Author: Jean-Louis Monteiro 
AuthorDate: Fri Dec 16 18:42:14 2022 +0100

Rollback BeanContext refactoring until we solve the 
StatelessInvocationStatsTest. It's breaking itests as it's currently
---
 .../main/java/org/apache/openejb/BeanContext.java  | 321 +++--
 1 file changed, 110 insertions(+), 211 deletions(-)

diff --git 
a/container/openejb-core/src/main/java/org/apache/openejb/BeanContext.java 
b/container/openejb-core/src/main/java/org/apache/openejb/BeanContext.java
index 9353679c40..2e53e13b03 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/BeanContext.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/BeanContext.java
@@ -1571,21 +1571,10 @@ public class BeanContext extends DeploymentContext {
 
 @SuppressWarnings("unchecked")
 public InstanceContext newInstance() throws Exception {
-final WebBeansContext webBeansContext = getWebBeansContext();
-final CdiEjbBean cdiEjbBean = get(CdiEjbBean.class);
-final boolean isCdi = webBeansContext != null && cdiEjbBean != null;
-
-if (isCdi) {
-return doCdiBeanInstance();
-} else {
-return doBeanInstance();
-}
-}
-
-@SuppressWarnings("unchecked")
-public InstanceContext doBeanInstance() throws Exception {
 final boolean dynamicallyImplemented = isDynamicallyImplemented();
 
+final WebBeansContext webBeansContext = getWebBeansContext();
+
 if (dynamicallyImplemented) {
 if (!InvocationHandler.class.isAssignableFrom(getProxyClass())) {
 throw new OpenEJBException("proxy class can only be 
InvocationHandler");
@@ -1599,6 +1588,19 @@ public class BeanContext extends DeploymentContext {
 final Context ctx = getJndiEnc();
 final Class beanClass = getBeanClass();
 
+final CurrentCreationalContext currentCreationalContext = 
get(CurrentCreationalContext.class);
+CreationalContext creationalContext = 
currentCreationalContext != null ? currentCreationalContext.get() : null;
+
+final CdiEjbBean cdiEjbBean = get(CdiEjbBean.class);
+
+if (!CreationalContextImpl.class.isInstance(creationalContext) && 
webBeansContext != null) {
+if (creationalContext == null) {
+creationalContext = 
webBeansContext.getCreationalContextFactory().getCreationalContext(cdiEjbBean);
+} else {
+creationalContext = 
webBeansContext.getCreationalContextFactory().wrappedCreationalContext(creationalContext,
 cdiEjbBean);
+}
+}
+
 // Create interceptors
 final Map interceptorInstances = new 
LinkedHashMap<>();
 
@@ -1608,31 +1610,87 @@ public class BeanContext extends DeploymentContext {
 interceptorInstances.put(clazz.getName(), 
interceptorInstance.getInterceptor());
 }
 
+final Collection> createdDependents 
= getDependents(creationalContext);
 for (final InterceptorData interceptorData : 
this.getInstanceScopedInterceptors()) {
 if (interceptorData.getInterceptorClass().equals(beanClass)) {
 continue;
 }
 
 final Class clazz = interceptorData.getInterceptorClass();
-final Object iInstance = clazz.newInstance();
+
+final Object iInstance;
+if (webBeansContext != null) {
+Object preInstantiated = null;
+if (createdDependents != null) {
+for (final DependentCreationalContext dcc : 
createdDependents) {
+if (clazz.isInstance(dcc.getInstance())) { // is 
that enough? do we have more to match?
+preInstantiated = dcc.getInstance();
+break;
+}
+}
+}
+if (preInstantiated != null) {
+iInstance = preInstantiated;
+} else {
+ConstructorInjectionBean interceptorConstructor = 
interceptorData.get(ConstructorInjectionBean.class);
+if (interceptorConstructor == null) {
+synchronized (this) {
+interceptorConstructor = 
interceptorData.get(ConstructorInjectionBean.class);
+if (int

Jenkins build became unstable: TomEE » master-build-full #849

2022-12-16 Thread Apache Jenkins Server
See 




Jenkins build became unstable: TomEE » master-build-full » TomEE :: Server :: EJBd #849

2022-12-16 Thread Apache Jenkins Server
See 




Jenkins build became unstable: TomEE » master-build-full » TomEE :: Container :: Core #849

2022-12-16 Thread Apache Jenkins Server
See 




Jenkins build became unstable: TomEE » master-build-full » TomEE :: Arquillian Adaptors Parent :: Tests :: JAXRS #849

2022-12-16 Thread Apache Jenkins Server
See 




Jenkins build became unstable: TomEE » master-build-full » TomEE :: Server :: Http #849

2022-12-16 Thread Apache Jenkins Server
See 




Jenkins build became unstable: TomEE » master-build-quick » TomEE :: Server :: EJBd #490

2022-12-16 Thread Apache Jenkins Server
See 




Jenkins build is still unstable: TomEE » master-build-quick #490

2022-12-16 Thread Apache Jenkins Server
See 




Jenkins build is still unstable: TomEE » master-build-quick » TomEE :: Container :: Core #490

2022-12-16 Thread Apache Jenkins Server
See 




Jenkins build became unstable: TomEE » master-build-quick » TomEE :: Server :: Http #490

2022-12-16 Thread Apache Jenkins Server
See 




Build failed in Jenkins: TomEE » master-deploy #4077

2022-12-16 Thread Apache Jenkins Server
See 


Changes:

[Jean-Louis Monteiro] Start preparing the model and a basic happy path test to 
support Interceptor 1.2 @AroundConstruct lifecycle callback

[Jean-Louis Monteiro] First draft for the runtime

[Jean-Louis Monteiro] Add around construct to XML Binding propOrder

[Jean-Louis Monteiro] Unused import

[Jean-Louis Monteiro] Make sur toString does not fail because of a null Target

[Jean-Louis Monteiro] No aroundConstructMethods to clean in OpenWebBeans

[Jean-Louis Monteiro] Do not change DynamicProxy handling

[Jean-Louis Monteiro] TOMEE-4124 Remove timings of timings for the sake of 
logging. Another interceptor can be added to drill down if necessary.

[Jean-Louis Monteiro] Split CDI versus EJB logic. Still needs some cleanup and 
work

[Jean-Louis Monteiro] Make sure it's tested will all containers


--
[...truncated 1.59 MB...]
[JENKINS] Archiving 

 to 
org.apache.tomee/openejb-standalone/9.0.0-SNAPSHOT/openejb-standalone-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.tomee/openejb-standalone/9.0.0-20221216.095612-493/openejb-standalone-9.0.0-20221216.095612-493.zip
[JENKINS] Archiving 

 to 
org.apache.tomee/openejb-standalone/9.0.0-20221216.095612-493/openejb-standalone-9.0.0-20221216.095612-493.tar.gz
[Fast Archiver] Compressed 100.48 MB of artifacts by 36.1% relative to #4076
[JENKINS] Archiving 

 to 
org.apache.tomee/arquillian-tomee-remote/9.0.0-SNAPSHOT/arquillian-tomee-remote-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.openejb.itests/legacy-client/9.0.0-SNAPSHOT/legacy-client-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.openejb.itests/legacy-client/9.0.0-20221216.095612-492/legacy-client-9.0.0-20221216.095612-492.jar
[JENKINS] Archiving 

 to org.apache.tomee/openejb-ssh/9.0.0-SNAPSHOT/openejb-ssh-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.tomee/openejb-ssh/9.0.0-20221216.095612-494/openejb-ssh-9.0.0-20221216.095612-494.jar
[JENKINS] Archiving 

 to 
org.apache.tomee/openejb-ssh/9.0.0-20221216.095612-494/openejb-ssh-9.0.0-20221216.095612-494.tar.gz
[JENKINS] Archiving 

 to 
org.apache.tomee/openejb-ssh/9.0.0-20221216.095612-494/openejb-ssh-9.0.0-20221216.095612-494.zip
[Fast Archiver] Compressed 4.81 MB of artifacts by 42.3% relative to #4076
[JENKINS] Archiving 

 to org.apache.tomee/bval-tomee/9.0.0-SNAPSHOT/bval-tomee-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to org.apache.tomee/tomee-common/9.0.0-SNAPSHOT/tomee-common-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.tomee/tomee-common/9.0.0-20221216.095612-495/tomee-common-9.0.0-20221216.095612-495.jar
[JENKINS] Archiving 

 to 
org.apache.tomee.bom/tomee-microprofile-api/9.0.0-SNAPSHOT/tomee-microprofile-api-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.tomee.bom/tomee-microprofile-api/9.0.0-20221216.095612-495/tomee-microprofile-api-9.0.0-20221216.095612-495.jar
[JENKINS] Archiving 

 to 
org.apache.tomee/openejb-core-hibernate/9.0.0-SNAPSHOT/openejb-core-hibernate-9.0.0-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.tomee/

Build failed in Jenkins: TomEE » master-deploy » TomEE :: TomEE :: Plus Webapp #4077

2022-12-16 Thread Apache Jenkins Server
See 


Changes:


--
[...truncated 10.20 KB...]
at org.eclipse.aether.transport.wagon.WagonTransporter.put 
(WagonTransporter.java:413)
at 
org.eclipse.aether.connector.basic.BasicRepositoryConnector$PutTaskRunner.uploadChecksum
 (BasicRepositoryConnector.java:610)
at 
org.eclipse.aether.connector.basic.BasicRepositoryConnector$PutTaskRunner.uploadChecksums
 (BasicRepositoryConnector.java:593)
at 
org.eclipse.aether.connector.basic.BasicRepositoryConnector$PutTaskRunner.runTask
 (BasicRepositoryConnector.java:557)
at 
org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run 
(BasicRepositoryConnector.java:364)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector.put 
(BasicRepositoryConnector.java:288)
at org.eclipse.aether.internal.impl.DefaultDeployer.deploy 
(DefaultDeployer.java:295)
at org.eclipse.aether.internal.impl.DefaultDeployer.deploy 
(DefaultDeployer.java:213)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy 
(DefaultRepositorySystem.java:386)
at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy 
(DefaultArtifactDeployer.java:142)
at org.apache.maven.plugin.deploy.AbstractDeployMojo.deploy 
(AbstractDeployMojo.java:171)
at org.apache.maven.plugin.deploy.DeployMojo.deployProject 
(DeployMojo.java:250)
at org.apache.maven.plugin.deploy.DeployMojo.execute (DeployMojo.java:169)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
(DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 
(MojoExecutor.java:370)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
(MojoExecutor.java:351)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:171)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:163)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:81)
at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
 (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.jvnet.hudson.maven3.launcher.Maven35Launcher.main 
(Maven35Launcher.java:130)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
(Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:225)
at jenkins.maven3.agent.Maven35Main.launch (Maven35Main.java:178)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at hudson.maven.Maven3Builder.call (Maven3Builder.java:139)
at hudson.maven.Maven3Builder.call (Maven3Builder.java:70)
at hudson.remoting.UserRequest.perform (UserRequest.java:211)
at hudson.remoting.UserRequest.perform (UserRequest.java:54)
at hudson.remoting.Request$2.run (Request.java:376)
at hudson.remoting.InterceptingExecutorService.lambda$wrap$0 
(InterceptingExecutorService.java:78)
at java.util.concurrent.FutureTask.run (FutureTask.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker 
(ThreadPoolExecutor.java:1128)
at java.util.concurrent.ThreadPoolExecutor$Worker.run 
(ThreadPoolExecutor.java:628)
at java.lang.Thread.run (Thread.java:829)
Caused by: 
org.apache.maven.wagon.providers.http.httpclient.client.ClientProtocolException
at 
org.apache.maven.wagon.providers.http.httpclient.impl.client.InternalHttpClient.doExecute
 (InternalHttpClient.java:187)
at 
org.apache.maven.wagon.providers.http.httpclient.impl.client.CloseableHttpClient.execute
 (CloseableHttpClient.java:83)
at 
org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.execute
 (AbstractHttpClientWagon.java:1005)
at 
org.a

Jenkins build is still unstable: TomEE » master-pull-request #78

2022-12-16 Thread Apache Jenkins Server
See 




Jenkins build is still unstable: TomEE » master-pull-request » TomEE :: Arquillian Adaptors Parent :: Tests :: JAXRS #78

2022-12-16 Thread Apache Jenkins Server
See 




[tomee] 01/01: Merge pull request #983 from apache/TOMEE-4123_AroundConstruct

2022-12-16 Thread jlmonteiro
This is an automated email from the ASF dual-hosted git repository.

jlmonteiro pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomee.git

commit 04e5c0d6b879a18491789c8176a13680517ac62d
Merge: 0d52fe9e8f 007413bb6c
Author: Jean-Louis Monteiro 
AuthorDate: Fri Dec 16 09:38:12 2022 +0100

Merge pull request #983 from apache/TOMEE-4123_AroundConstruct

Start preparing the model and a basic happy path test to support 
Interceptor 1.2 @AroundConstruct lifecycle callback

 .../main/java/org/apache/openejb/BeanContext.java  | 344 +++--
 .../openejb/assembler/classic/Assembler.java   |   4 +-
 .../classic/InterceptorBindingBuilder.java |   3 +
 .../openejb/assembler/classic/InterceptorInfo.java |   1 +
 .../java/org/apache/openejb/cdi/CdiBeanInfo.java   |   8 +
 .../apache/openejb/config/AnnotationDeployer.java  |  12 +
 .../apache/openejb/config/EjbJarInfoBuilder.java   |   1 +
 .../java/org/apache/openejb/core/Operation.java|   1 +
 .../openejb/core/interceptor/InterceptorData.java  |  21 +-
 .../openejb/core/interceptor/InterceptorStack.java |  20 +-
 .../core/interceptor/JaxWsInvocationContext.java   |   2 +-
 .../interceptor/ReflectionInvocationContext.java   |  58 ++--
 .../openejb/monitoring/StatsInterceptor.java   |  10 +
 .../core/stateful/StatefulInterceptorTest.java |  29 +-
 .../AroundConstructInterceptorTest.java}   | 104 +--
 .../EjbModuleOnlyInterceptorsTest.java |  18 +-
 .../java/org/apache/openejb/jee/Interceptor.java   |  11 +
 .../microprofile/jwt/bval/BValInterceptor.java |   2 +-
 18 files changed, 492 insertions(+), 157 deletions(-)



[tomee] branch main updated (0d52fe9e8f -> 04e5c0d6b8)

2022-12-16 Thread jlmonteiro
This is an automated email from the ASF dual-hosted git repository.

jlmonteiro pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tomee.git


from 0d52fe9e8f Merge pull request #987 from apache/opentracing-provider
 add 4f23fe1568 Start preparing the model and a basic happy path test to 
support Interceptor 1.2 @AroundConstruct lifecycle callback
 add 74fad9f83c First draft for the runtime
 add 1d58a6f5f4 Add around construct to XML Binding propOrder
 add 24f5c12b2f Unused import
 add febc9acaab Make sur toString does not fail because of a null Target
 add 733cbc4062 No aroundConstructMethods to clean in OpenWebBeans Make 
sure to return the Target in the InvocationContext after Constructor invocation
 add 591b935bcf Do not change DynamicProxy handling
 add 7db84f06a6 TOMEE-4124 Remove timings of timings for the sake of 
logging. Another interceptor can be added to drill down if necessary. Make the 
map thread safe
 add d855da21bf Split CDI versus EJB logic. Still needs some cleanup and 
work
 add 007413bb6c Make sure it's tested will all containers
 new 04e5c0d6b8 Merge pull request #983 from 
apache/TOMEE-4123_AroundConstruct

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../main/java/org/apache/openejb/BeanContext.java  | 344 +++--
 .../openejb/assembler/classic/Assembler.java   |   4 +-
 .../classic/InterceptorBindingBuilder.java |   3 +
 .../openejb/assembler/classic/InterceptorInfo.java |   1 +
 .../java/org/apache/openejb/cdi/CdiBeanInfo.java   |   8 +
 .../apache/openejb/config/AnnotationDeployer.java  |  12 +
 .../apache/openejb/config/EjbJarInfoBuilder.java   |   1 +
 .../java/org/apache/openejb/core/Operation.java|   1 +
 .../openejb/core/interceptor/InterceptorData.java  |  21 +-
 .../openejb/core/interceptor/InterceptorStack.java |  20 +-
 .../core/interceptor/JaxWsInvocationContext.java   |   2 +-
 .../interceptor/ReflectionInvocationContext.java   |  58 ++--
 .../openejb/monitoring/StatsInterceptor.java   |  10 +
 .../core/stateful/StatefulInterceptorTest.java |  29 +-
 .../AroundConstructInterceptorTest.java}   | 104 +--
 .../EjbModuleOnlyInterceptorsTest.java |  18 +-
 .../java/org/apache/openejb/jee/Interceptor.java   |  11 +
 .../microprofile/jwt/bval/BValInterceptor.java |   2 +-
 18 files changed, 492 insertions(+), 157 deletions(-)
 copy 
container/openejb-core/src/test/java/org/apache/openejb/{core/stateful/StatefulInterceptorTest.java
 => interceptors/AroundConstructInterceptorTest.java} (71%)