Build failed in Jenkins: TomEE » master-build-quick #413

2022-08-30 Thread Apache Jenkins Server
See 


Changes:

[David Blevins] All tests now use standard MP-JWT config.  Vendor-specific 
config no longer needed.

[David Blevins] TOMEE-3947 Elliptic Curve ES256 signature algorithm


--
[...truncated 10.85 MB...]
- cxf-shade-9.0.0-M9-SNAPSHOT5.jar
- taglibs-shade-9.0.0-M9-SNAPSHOT7.jar
- activemq-broker-shade-9.0.0-M9-SNAPSHOT6.jar
- activemq-client-shade-9.0.0-M9-SNAPSHOT7.jar
- commons-dbcp2-shade-9.0.0-M9-SNAPSHOT7.jar

at org.apache.tomee.bootstrap.GenerateBoms.verify (GenerateBoms.java:165)
at org.apache.tomee.bootstrap.GenerateBoms.run (GenerateBoms.java:124)
at org.apache.tomee.bootstrap.GenerateBoms.main (GenerateBoms.java:103)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:254)
at java.lang.Thread.run (Thread.java:834)
[INFO] 
[INFO] Reactor Summary for Apache OpenEJB 9.0.0-M9-SNAPSHOT:
[INFO] 
[INFO] Apache OpenEJB . SUCCESS [  7.887 s]
[INFO] TomEE :: BOMs .. SUCCESS [  2.903 s]
[INFO] TomEE :: BOMs :: JAXB Runtime .. SUCCESS [  2.747 s]
[INFO] TomEE :: Container . SUCCESS [  2.585 s]
[INFO] TomEE :: Container :: Loader ... SUCCESS [ 55.333 s]
[INFO] TomEE :: Container :: MBean Annotation API . SUCCESS [ 15.581 s]
[INFO] TomEE :: Container :: JPA Integration .. SUCCESS [ 15.732 s]
[INFO] TomEE :: Container :: API .. SUCCESS [  4.920 s]
[INFO] TomEE :: Container :: Java Agent ... SUCCESS [ 15.066 s]
[INFO] TomEE :: Container :: Java EE .. SUCCESS [ 49.495 s]
[INFO] TomEE :: Container :: Java EE Accessors  SUCCESS [ 14.742 s]
[INFO] TomEE :: iTests  SUCCESS [  2.253 s]
[INFO] TomEE :: iTests :: Beans ... SUCCESS [ 23.089 s]
[INFO] TomEE :: iTests :: Interceptor Beans ... SUCCESS [  5.186 s]
[INFO] TomEE :: iTests :: Servlets  SUCCESS [  5.356 s]
[INFO] TomEE :: iTests :: Client .. SUCCESS [ 16.128 s]
[INFO] TomEE :: iTests :: App . SUCCESS [  6.002 s]
[INFO] TomEE :: iTests :: Failover EJB  SUCCESS [ 16.145 s]
[INFO] TomEE :: Container :: Core . SUCCESS [26:30 min]
[INFO] TomEE :: TomEE . SUCCESS [  3.581 s]
[INFO] TomEE :: TomEE :: Config ... SUCCESS [  4.918 s]
[INFO] TomEE :: Server  SUCCESS [  2.756 s]
[INFO] TomEE :: Server :: Client .. SUCCESS [ 49.600 s]
[INFO] TomEE :: TomEE :: Common ... SUCCESS [  8.112 s]
[INFO] TomEE :: TomEE :: Juli . SUCCESS [ 27.646 s]
[INFO] TomEE :: TomEE :: Loader ... SUCCESS [  7.945 s]
[INFO] TomEE :: TomEE :: JDBC . SUCCESS [ 21.844 s]
[INFO] TomEE :: Server :: Core  SUCCESS [ 12.808 s]
[INFO] TomEE :: Server :: Multicast Discovery . SUCCESS [ 37.251 s]
[INFO] TomEE :: Server :: EJBd  SUCCESS [05:20 min]
[INFO] TomEE :: Server :: Http  SUCCESS [01:01 min]
[INFO] TomEE :: TomEE :: Catalina . SUCCESS [  8.066 s]
[INFO] TomEE :: Server :: REST  SUCCESS [  6.668 s]
[INFO] TomEE :: Server :: CXF Transport ... SUCCESS [  9.691 s]
[INFO] TomEE :: Server :: CXF RS .. SUCCESS [04:27 min]
[INFO] TomEE :: Microprofile JWT .. SUCCESS [ 17.790 s]
[INFO] TomEE :: TomEE :: MicroProfile . SUCCESS [  3.908 s]
[INFO] TomEE :: TomEE :: MicroProfile Common .. SUCCESS [ 10.467 s]
[INFO] TomEE :: Server :: Webservices . SUCCESS [  8.440 s]
[INFO] TomEE :: Server :: CXF . SUCCESS [01:08 min]
[INFO] TomEE :: Server :: Hsql  SUCCESS [ 13.563 s]
[INFO] TomEE :: TomEE :: RS Web Services .. SUCCESS [  9.255 s]
[INFO] TomEE :: TomEE :: Mojarra .. SUCCESS [  5.880 s]
[INFO] TomEE :: TomEE :: MyFaces .. SUCCESS [  6.019 s]
[INFO] TomEE :: TomEE :: Util . SUCCESS [  5.406 s]
[INFO] TomEE :: TomEE :: Web Services . SUCCESS [  6.967 s]
[INFO] TomEE :: TomEE :: TomEE Embedded ... SUCCESS [02:00 min]
[INFO] TomEE :: TomEE :: Security . SUCCESS [ 45.824 s]
[INFO] TomEE :: TomEE :: MicroProfile Webapp .. SUCCESS [ 13

Jenkins build is still unstable: TomEE » master-build-quick » TomEE :: Server :: EJBd #413

2022-08-30 Thread Apache Jenkins Server
See 




Build failed in Jenkins: TomEE » master-build-quick » TomEE :: TomEE :: Apache TomEE #413

2022-08-30 Thread Apache Jenkins Server
See 


Changes:


--
[INFO] 
[INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ 
tomee-webapp ---
[INFO] Installing 
/home/jenkins/jenkins-agent/workspace/Tomee/master-build-quick/tomee/tomee-webapp/target/tomee-webapp-9.0.0-M9-SNAPSHOT.jar
 to 
/home/jenkins/.m2/repository/org/apache/tomee/tomee-webapp/9.0.0-M9-SNAPSHOT/tomee-webapp-9.0.0-M9-SNAPSHOT.jar
[INFO] Installing 
/home/jenkins/jenkins-agent/workspace/Tomee/master-build-quick/tomee/tomee-webapp/pom.xml
 to 
/home/jenkins/.m2/repository/org/apache/tomee/tomee-webapp/9.0.0-M9-SNAPSHOT/tomee-webapp-9.0.0-M9-SNAPSHOT.pom
[INFO] Installing 
/home/jenkins/jenkins-agent/workspace/Tomee/master-build-quick/tomee/tomee-webapp/target/tomee-webapp-9.0.0-M9-SNAPSHOT.war
 to 
/home/jenkins/.m2/repository/org/apache/tomee/tomee-webapp/9.0.0-M9-SNAPSHOT/tomee-webapp-9.0.0-M9-SNAPSHOT.war
[INFO] 
[INFO] ---< org.apache.tomee:apache-tomee >
[INFO] Building TomEE :: TomEE :: Apache TomEE 9.0.0-M9-SNAPSHOT[55/55]
[INFO] [ jar ]-
[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 :: TomEE 
:: Apache TomEE:
[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) @ apache-tomee ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-version) @ 
apache-tomee ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-java-version) @ 
apache-tomee ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) 
@ apache-tomee ---
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ 
apache-tomee ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 18 resources
[INFO] Copying 19 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (filter-resources) @ 
apache-tomee ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 18 resources
[INFO] Copying 19 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-dependency-plugin:3.3.0:copy (copy-tomcat-for-webprofile) @ 
apache-tomee ---
[INFO] Configured Artifact: org.apache.tomcat:tomcat:10.0.22:zip
[INFO] Copying tomcat-10.0.22.zip to 

[INFO] 
[INFO] --- maven-dependency-plugin:3.3.0:copy (copy-tomcat-for-plus) @ 
apache-tomee ---
[INFO] Configured Artifact: org.apache.tomcat:tomcat:10.0.22:zip
[INFO] Copying tomcat-10.0.22.zip to 

[INFO] 
[INFO] --- maven-dependency-plugin:3.3.0:copy (copy-tomcat-for-plume) @ 
apache-tomee ---
[INFO] Configured Artifact: org.apache.tomcat:tomcat:10.0.22:zip
[INFO] Copying tomcat-10.0.22.zip to 

[INFO] 
[INFO] --- maven-dependency-plugin:3.3.0:copy (copy-tomcat-for-microprofile) @ 
apache-tomee ---
[INFO] Configured Artifact: org.apache.tomcat:tomcat:10.0.22:zip
[INFO] Copying tomcat-10.0.22.zip to 

[INFO] 
[INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ apache-tomee 
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to 

[INFO] 
[INFO] --- dependency-report-plugin:1.0.2:report (default) @ apache-tomee ---
[INFO] Couldn't find parent for org.codehaus.swizzle:swizzle-stream:j

[tomee] 02/02: TOMEE-3947 Elliptic Curve ES256 signature algorithm

2022-08-30 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 27ba03dc9a46d4775eb160add4cb77902db6898c
Author: David Blevins 
AuthorDate: Tue Aug 30 13:43:28 2022 -0700

TOMEE-3947 Elliptic Curve ES256 signature algorithm
---
 boms/tomee-microprofile/pom.xml|  11 +
 boms/tomee-plume/pom.xml   |  11 +
 boms/tomee-plus/pom.xml|  11 +
 .../jwt/itest/PublicKeyLocationTest.java   |   1 +
 mp-jwt/pom.xml |   5 +
 .../apache/tomee/microprofile/jwt/MPJWTFilter.java |   5 +-
 .../jwt/config/JWTAuthConfigurationProperties.java |  17 +-
 .../microprofile/jwt/config/PublicKeyResolver.java | 228 ++---
 pom.xml|   2 +-
 9 files changed, 109 insertions(+), 182 deletions(-)

diff --git a/boms/tomee-microprofile/pom.xml b/boms/tomee-microprofile/pom.xml
index 4af267bce1..996d744a03 100644
--- a/boms/tomee-microprofile/pom.xml
+++ b/boms/tomee-microprofile/pom.xml
@@ -210,6 +210,17 @@
 
   
 
+
+  io.churchkey
+  churchkey
+  1.22
+  
+
+  *
+  *
+
+  
+
 
   io.opentracing.contrib
   opentracing-concurrent
diff --git a/boms/tomee-plume/pom.xml b/boms/tomee-plume/pom.xml
index f4a48441b8..247953c7e2 100644
--- a/boms/tomee-plume/pom.xml
+++ b/boms/tomee-plume/pom.xml
@@ -221,6 +221,17 @@
 
   
 
+
+  io.churchkey
+  churchkey
+  1.22
+  
+
+  *
+  *
+
+  
+
 
   io.opentracing.contrib
   opentracing-concurrent
diff --git a/boms/tomee-plus/pom.xml b/boms/tomee-plus/pom.xml
index 51e84ce84b..91e16806b6 100644
--- a/boms/tomee-plus/pom.xml
+++ b/boms/tomee-plus/pom.xml
@@ -232,6 +232,17 @@
 
   
 
+
+  io.churchkey
+  churchkey
+  1.22
+  
+
+  *
+  *
+
+  
+
 
   io.opentracing.contrib
   opentracing-concurrent
diff --git 
a/itests/microprofile-jwt-itests/src/test/java/org/apache/tomee/microprofile/jwt/itest/PublicKeyLocationTest.java
 
b/itests/microprofile-jwt-itests/src/test/java/org/apache/tomee/microprofile/jwt/itest/PublicKeyLocationTest.java
index 4cd49c1e87..453bf1686f 100644
--- 
a/itests/microprofile-jwt-itests/src/test/java/org/apache/tomee/microprofile/jwt/itest/PublicKeyLocationTest.java
+++ 
b/itests/microprofile-jwt-itests/src/test/java/org/apache/tomee/microprofile/jwt/itest/PublicKeyLocationTest.java
@@ -82,6 +82,7 @@ public class PublicKeyLocationTest {
 .asJar();
 
 final TomEE tomee = TomEE.microprofile()
+//.update()
 .add("webapps/test/WEB-INF/beans.xml", "")
 .add("webapps/test/WEB-INF/lib/app.jar", appJar)
 .build();
diff --git a/mp-jwt/pom.xml b/mp-jwt/pom.xml
index cad40a98d7..183868b28d 100644
--- a/mp-jwt/pom.xml
+++ b/mp-jwt/pom.xml
@@ -84,6 +84,11 @@
   jose4j
   0.7.9
 
+
+  io.churchkey
+  churchkey
+  1.22
+
 
   junit
   junit
diff --git 
a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java 
b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java
index ea6a1de6eb..3ded1ff31b 100644
--- a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java
+++ b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java
@@ -335,7 +335,10 @@ public class MPJWTFilter implements Filter {
 new 
AlgorithmConstraints(AlgorithmConstraints.ConstraintType.WHITELIST,
 AlgorithmIdentifiers.RSA_USING_SHA256,
 AlgorithmIdentifiers.RSA_USING_SHA384,
-AlgorithmIdentifiers.RSA_USING_SHA512
+AlgorithmIdentifiers.RSA_USING_SHA512,
+
AlgorithmIdentifiers.ECDSA_USING_P256_CURVE_AND_SHA256,
+
AlgorithmIdentifiers.ECDSA_USING_P384_CURVE_AND_SHA384,
+
AlgorithmIdentifiers.ECDSA_USING_P521_CURVE_AND_SHA512
 ));
 
 if (!authContextInfo.isAllowNoExpiryClaim()) {
diff --git 
a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/config/JWTAuthConfigurationProperties.java
 
b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/config/JWTAuthConfigurationProperties.java
index 47050a6885..87a8350d6b 100644
--- 
a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/config/JWTAuthConfigurationProperties.java
+++ 
b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/config/JWTAuthConfigurationProperties.java
@@ -16,17 +16,15 @@
 

[tomee] branch main updated (d4d9d9916d -> 27ba03dc9a)

2022-08-30 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 d4d9d9916d Merge branch 'main' of github.com:apache/tomee into main
 new 3f3524bee3 All tests now use standard MP-JWT config.  Vendor-specific 
config no longer needed.
 new 27ba03dc9a TOMEE-3947 Elliptic Curve ES256 signature algorithm

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:
 boms/tomee-microprofile/pom.xml|  11 +
 boms/tomee-plume/pom.xml   |  11 +
 boms/tomee-plus/pom.xml|  11 +
 .../jwt/itest/PublicKeyLocationTest.java   |   1 +
 mp-jwt/pom.xml |   5 +
 .../apache/tomee/microprofile/jwt/MPJWTFilter.java |   5 +-
 .../jwt/config/JWTAuthConfigurationProperties.java |  17 +-
 .../microprofile/jwt/config/PublicKeyResolver.java | 228 ++---
 pom.xml|   2 +-
 .../tck/jwt/JWTAuthContextInfoProvider.java|  56 -
 .../jwt/MicroProfileJWTTCKArchiveProcessor.java|  35 +---
 .../tck/jwt/jwk/PublicKeyAsJWKSTest.java   |  85 
 12 files changed, 119 insertions(+), 348 deletions(-)
 delete mode 100644 
tck/microprofile-tck/jwt/src/test/java/org/apache/tomee/microprofile/tck/jwt/JWTAuthContextInfoProvider.java
 delete mode 100644 
tck/microprofile-tck/jwt/src/test/java/org/apache/tomee/microprofile/tck/jwt/jwk/PublicKeyAsJWKSTest.java



[tomee] 01/02: All tests now use standard MP-JWT config. Vendor-specific config no longer needed.

2022-08-30 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 3f3524bee3b64a049bbc39b8b4ca2de547a25b57
Author: David Blevins 
AuthorDate: Tue Aug 30 07:05:22 2022 -0700

All tests now use standard MP-JWT config.  Vendor-specific config no longer 
needed.
---
 .../tck/jwt/JWTAuthContextInfoProvider.java| 56 --
 .../jwt/MicroProfileJWTTCKArchiveProcessor.java| 35 +++--
 .../tck/jwt/jwk/PublicKeyAsJWKSTest.java   | 85 --
 3 files changed, 10 insertions(+), 166 deletions(-)

diff --git 
a/tck/microprofile-tck/jwt/src/test/java/org/apache/tomee/microprofile/tck/jwt/JWTAuthContextInfoProvider.java
 
b/tck/microprofile-tck/jwt/src/test/java/org/apache/tomee/microprofile/tck/jwt/JWTAuthContextInfoProvider.java
deleted file mode 100644
index 4e3ddba4bf..00
--- 
a/tck/microprofile-tck/jwt/src/test/java/org/apache/tomee/microprofile/tck/jwt/JWTAuthContextInfoProvider.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.tomee.microprofile.tck.jwt;
-
-import org.apache.tomee.microprofile.jwt.config.JWTAuthConfiguration;
-
-import jakarta.enterprise.context.Dependent;
-import jakarta.enterprise.inject.Produces;
-import java.security.KeyFactory;
-import java.security.NoSuchAlgorithmException;
-import java.security.interfaces.RSAPublicKey;
-import java.security.spec.InvalidKeySpecException;
-import java.security.spec.X509EncodedKeySpec;
-import java.util.Base64;
-import java.util.Optional;
-
-@Dependent
-public class JWTAuthContextInfoProvider {
-
-@Produces
-Optional getOptionalContextInfo() throws 
NoSuchAlgorithmException, InvalidKeySpecException {
-final String pemEncoded = 
"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlivFI8qB4D0y2jy0CfEq" +
-
"Fyy46R0o7S8TKpsx5xbHKoU1VWg6QkQm+ntyIv1p4kE1sPEQO73+HY8+Bzs75XwR" +
-
"TYL1BmR1w8J5hmjVWjc6R2BTBGAYRPFRhor3kpM6ni2SPmNNhurEAHw7TaqszP5e" +
-
"UF/F9+KEBWkwVta+PZ37bwqSE4sCb1soZFrVz/UT/LF4tYpuVYt3YbqToZ3pZOZ9" +
-
"AX2o1GCG3xwOjkc4x0W7ezbQZdC9iftPxVHR8irOijJRRjcPDtA6vPKpzLl6CyYn" +
-
"sIYPd99ltwxTHjr3npfv/3Lw50bAkbT4HeLFxTx4flEoZLKO/g0bAoV2uqBhkA9x" +
-"nQIDAQAB";
-byte[] encodedBytes = Base64.getDecoder().decode(pemEncoded);
-
-final X509EncodedKeySpec spec = new X509EncodedKeySpec(encodedBytes);
-final KeyFactory kf = KeyFactory.getInstance("RSA");
-final RSAPublicKey pk = (RSAPublicKey) kf.generatePublic(spec);
-
-return Optional.of(JWTAuthConfiguration.authConfiguration(pk, 
"https://server.example.com";, false));
-}
-
-@Produces
-JWTAuthConfiguration getContextInfo() throws InvalidKeySpecException, 
NoSuchAlgorithmException {
-return getOptionalContextInfo().get();
-}
-}
diff --git 
a/tck/microprofile-tck/jwt/src/test/java/org/apache/tomee/microprofile/tck/jwt/MicroProfileJWTTCKArchiveProcessor.java
 
b/tck/microprofile-tck/jwt/src/test/java/org/apache/tomee/microprofile/tck/jwt/MicroProfileJWTTCKArchiveProcessor.java
index d156a589c4..c451d66b90 100644
--- 
a/tck/microprofile-tck/jwt/src/test/java/org/apache/tomee/microprofile/tck/jwt/MicroProfileJWTTCKArchiveProcessor.java
+++ 
b/tck/microprofile-tck/jwt/src/test/java/org/apache/tomee/microprofile/tck/jwt/MicroProfileJWTTCKArchiveProcessor.java
@@ -23,7 +23,16 @@ import 
org.apache.tomee.arquillian.remote.RemoteTomEEContainer;
 import 
org.apache.tomee.microprofile.tck.jwt.validation.ExpClaimAllowMissingExpValidationTest;
 import org.apache.tomee.microprofile.tck.jwt.validation.ExpClaimValidationTest;
 import org.eclipse.microprofile.jwt.tck.arquillian.BaseWarArchiveProcessor;
-import org.eclipse.microprofile.jwt.tck.config.*;
+import org.eclipse.microprofile.jwt.tck.config.IssValidationTest;
+import org.eclipse.microprofile.jwt.tck.config.PublicKeyAsBase64JWKTest;
+import org.eclipse.microprofile.jwt.tck.config.PublicKeyAsFileLocationURLTest;
+import org.eclipse.microprofile.jwt.tck.config.PublicKeyAsJWKLocationTest;

[jira] [Created] (TOMEE-4031) Improve TomEE Jmx Mbean Support for Parameter Names

2022-08-30 Thread Jonathan S. Fisher (Jira)
Jonathan S. Fisher created TOMEE-4031:
-

 Summary: Improve TomEE Jmx Mbean Support for Parameter Names
 Key: TOMEE-4031
 URL: https://issues.apache.org/jira/browse/TOMEE-4031
 Project: TomEE
  Issue Type: Bug
Affects Versions: 8.0.12
Reporter: Jonathan S. Fisher
Assignee: Jonathan S. Fisher


Currently, if you annotate a method with @ManagedOperation, the parameters in 
your JMX console appear as arg0, arg1, etc. 

If the java source is compiled with debug information, javac retains actual 
parameter names in the classfile and they are available via reflection.  It'd 
be nice to use those parameter names in the JMX console.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (TOMEE-2781) ActiveMQ producer not closed or destroyed

2022-08-30 Thread Jonathan S. Fisher (Jira)


[ 
https://issues.apache.org/jira/browse/TOMEE-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17598032#comment-17598032
 ] 

Jonathan S. Fisher commented on TOMEE-2781:
---

Francois:

Try this out on the latest version of TomEE (8.0.12). Make sure your connection 
pool is set to transactionSupport=None. Should hopefully be fixed!

> ActiveMQ producer not closed or destroyed
> -
>
> Key: TOMEE-2781
> URL: https://issues.apache.org/jira/browse/TOMEE-2781
> Project: TomEE
>  Issue Type: Bug
>  Components: TomEE Core Server
>Affects Versions: 8.0.0-Final, 8.0.1
>Reporter: François Courtault
>Priority: Blocker
>
> Hello,
> This issue is linked to 
> TOMEE-2770[.|https://issues.apache.org/jira/projects/TOMEE/issues/TOMEE-2770?filter=allopenissues]
> We have the same kind of issue.
> Sample to repoduce the issue:
> @Stateless
> @Path("v1/notifications")
> public class NotificationResource {
> public static final String QUEUE_NAME = "jms/myQueue";
>  
> @Resource(name = QUEUE_NAME)
> private Queue messageQueue;
>  
> {color:#808000}@Resource
> {color}{color:#80}private {color}ConnectionFactory 
> {color:#660e7a}connectionFactory{color};
>  
> @GET
> @Path("downloadInfo")
>  public Response postDownloadInfoJMS() {
> {color:#172b4d}    try (final Connection connection = 
> connectionFactory.createConnection()) {
>     final Session session = connection.createSession();
>     final MessageProducer messageProducer = 
> session.createProducer(messageQueue);
>     messageProducer.setDeliveryMode(DeliveryMode.PERSISTENT);{color}
> {color:#172b4d}
>     final Message message = session.createTextMessage("Test");
>    messageProducer.send(message);
>    System.out.println("Message sent !");
>     } catch (JMSException e) {
>    e.printStackTrace();
>     }{color}
>  return Response.accepted().build();
>  }
> }
>  
> And a beans.xml with bean-discovery-mode="all".
>  
> Then perform several GET calls with a browser and you will see the number of 
> Producer increasing (1 per call).
>  
> We have the same issue if we change the postDownloadInfoJMS method 
> implementation by:
>     {color:#172b4d}Connection connection ={color} null;
>     try {
> {color:#172b4d}   try {{color}
> {color:#172b4d}   connection = connectionFactory.createConnection();
>    final Session session = connection.createSession();
>    final MessageProducer messageProducer = 
> session.createProducer(messageQueue);
>    messageProducer.setDeliveryMode(DeliveryMode.PERSISTENT);{color}
> {color:#172b4d}
>    final Message message = session.createTextMessage("Test");
>    messageProducer.send(message);
>   System.out.println("Message sent !");
>    } finally {{color}
> {color:#172b4d} connection.close();{color}
> {color:#172b4d}   }{color}
> {color:#172b4d}    } {color}{color:#172b4d}catch (JMSException e) {
>    e.printStackTrace();
>     }{color}
>  return Response.accepted().build();
>  }
> }
>  
> The only way to fix that is, in the finally bock to close everything
> messageProducer.close();
>  session.close();
> connection.close();
>  
> But it's not acceptable because the try with resource should work and closing 
> a connection, as per spec, should close message producers and sessions.  
>  
>  Best Regards.
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


Jenkins build is still unstable: TomEE » master-build-full » TomEE :: Examples :: MP REST JWT PRINCIPAL #721

2022-08-30 Thread Apache Jenkins Server
See 




Jenkins build became unstable: TomEE » master-build-full » TomEE :: Examples :: Simple Stateful Pojo Callbacks #721

2022-08-30 Thread Apache Jenkins Server
See 




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

2022-08-30 Thread Apache Jenkins Server
See 




Jenkins build is back to stable : TomEE » master-build-full » TomEE :: Examples :: Custom HealthCheck #721

2022-08-30 Thread Apache Jenkins Server
See 




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

2022-08-30 Thread Apache Jenkins Server
See 




Jenkins build is still unstable: TomEE » master-build-full » TomEE :: Examples :: MP REST JWT #721

2022-08-30 Thread Apache Jenkins Server
See 




Jenkins build is still unstable: TomEE » master-build-full » TomEE :: Examples :: Simple Remote tomcat-users.xml #721

2022-08-30 Thread Apache Jenkins Server
See 




Jenkins build is still unstable: TomEE » master-build-full » TomEE :: TCK :: Bean Validation TomEE #721

2022-08-30 Thread Apache Jenkins Server
See 




Jenkins build is still unstable: TomEE » master-build-full » TomEE :: Web Examples :: EJB WebService with WS-Security #721

2022-08-30 Thread Apache Jenkins Server
See 




Jenkins build is still unstable: TomEE » master-build-full » TomEE :: Examples :: MP REST JWT Public Key #721

2022-08-30 Thread Apache Jenkins Server
See 




Jenkins build is still unstable: TomEE » master-build-full » TomEE :: TCK :: MicroProfile Config TCK #721

2022-08-30 Thread Apache Jenkins Server
See 




Jenkins build is still unstable: TomEE » master-build-full » TomEE :: Examples :: MVC (RestEasy-based) #721

2022-08-30 Thread Apache Jenkins Server
See 




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

2022-08-30 Thread Apache Jenkins Server
See 




Jenkins build is still unstable: TomEE » master-build-full » TomEE :: Examples :: MTOM #721

2022-08-30 Thread Apache Jenkins Server
See 




Jenkins build is still unstable: TomEE » master-build-full » TomEE :: Examples :: MP REST JWT JWK #721

2022-08-30 Thread Apache Jenkins Server
See 




Jenkins build is still unstable: TomEE » master-build-full » TomEE :: TCK :: MicroProfile JWT TCK #721

2022-08-30 Thread Apache Jenkins Server
See