[jira] [Work logged] (TOMEE-4351) Jakarta Security 3.0

2024-06-06 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4351?focusedWorklogId=922298=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-922298
 ]

ASF GitHub Bot logged work on TOMEE-4351:
-

Author: ASF GitHub Bot
Created on: 06/Jun/24 07:03
Start Date: 06/Jun/24 07:03
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on code in PR #1178:
URL: https://github.com/apache/tomee/pull/1178#discussion_r1628883109


##
examples/security-openid/pom.xml:
##
@@ -0,0 +1,119 @@
+
+
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;>
+4.0.0
+org.superbiz
+security-openid
+10.0.0-M2-SNAPSHOT
+war
+
+TomEE :: Examples :: Jakarta Security OpenID Connect
+
+
+UTF-8
+10.0.0-M2-SNAPSHOT
+3.0.2
+5.8.2

Review Comment:
   Yep. Let's leave it as is and update everything later ;-)





Issue Time Tracking
---

Worklog Id: (was: 922298)
Time Spent: 1h  (was: 50m)

> Jakarta Security 3.0
> 
>
> Key: TOMEE-4351
> URL: https://issues.apache.org/jira/browse/TOMEE-4351
> Project: TomEE
>  Issue Type: New Feature
>Reporter: Richard Zowalla
>Assignee: Markus Jung
>Priority: Major
> Fix For: 10.0.0-M2
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> as the title says. Mainly OIDC



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


[jira] [Work logged] (TOMEE-4351) Jakarta Security 3.0

2024-06-06 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4351?focusedWorklogId=922295=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-922295
 ]

ASF GitHub Bot logged work on TOMEE-4351:
-

Author: ASF GitHub Bot
Created on: 06/Jun/24 06:46
Start Date: 06/Jun/24 06:46
Worklog Time Spent: 10m 
  Work Description: jungm commented on code in PR #1178:
URL: https://github.com/apache/tomee/pull/1178#discussion_r1628865306


##
examples/security-openid/pom.xml:
##
@@ -0,0 +1,119 @@
+
+
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;>
+4.0.0
+org.superbiz
+security-openid
+10.0.0-M2-SNAPSHOT
+war
+
+TomEE :: Examples :: Jakarta Security OpenID Connect
+
+
+UTF-8
+10.0.0-M2-SNAPSHOT
+3.0.2
+5.8.2

Review Comment:
   No reason as to why i chose this other than all the other examples being on 
5.8.2 as well (even on main)





Issue Time Tracking
---

Worklog Id: (was: 922295)
Time Spent: 50m  (was: 40m)

> Jakarta Security 3.0
> 
>
> Key: TOMEE-4351
> URL: https://issues.apache.org/jira/browse/TOMEE-4351
> Project: TomEE
>  Issue Type: New Feature
>Reporter: Richard Zowalla
>Assignee: Markus Jung
>Priority: Major
> Fix For: 10.0.0-M2
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> as the title says. Mainly OIDC



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


[jira] [Work logged] (TOMEE-4351) Jakarta Security 3.0

2024-06-06 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4351?focusedWorklogId=922294=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-922294
 ]

ASF GitHub Bot logged work on TOMEE-4351:
-

Author: ASF GitHub Bot
Created on: 06/Jun/24 06:45
Start Date: 06/Jun/24 06:45
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on code in PR #1178:
URL: https://github.com/apache/tomee/pull/1178#discussion_r1628863998


##
examples/security-openid/pom.xml:
##
@@ -0,0 +1,119 @@
+
+
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;>
+4.0.0
+org.superbiz
+security-openid
+10.0.0-M2-SNAPSHOT
+war
+
+TomEE :: Examples :: Jakarta Security OpenID Connect
+
+
+UTF-8
+10.0.0-M2-SNAPSHOT
+3.0.2
+5.8.2
+1.7.0.Final

Review Comment:
   
https://github.com/apache/tomee/commit/1e1df457855c37420e231a1a825052941dc2af1d





Issue Time Tracking
---

Worklog Id: (was: 922294)
Time Spent: 40m  (was: 0.5h)

> Jakarta Security 3.0
> 
>
> Key: TOMEE-4351
> URL: https://issues.apache.org/jira/browse/TOMEE-4351
> Project: TomEE
>  Issue Type: New Feature
>Reporter: Richard Zowalla
>Assignee: Markus Jung
>Priority: Major
> Fix For: 10.0.0-M2
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> as the title says. Mainly OIDC



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


[jira] [Work logged] (TOMEE-4351) Jakarta Security 3.0

2024-06-06 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4351?focusedWorklogId=922293=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-922293
 ]

ASF GitHub Bot logged work on TOMEE-4351:
-

Author: ASF GitHub Bot
Created on: 06/Jun/24 06:44
Start Date: 06/Jun/24 06:44
Worklog Time Spent: 10m 
  Work Description: jungm commented on code in PR #1178:
URL: https://github.com/apache/tomee/pull/1178#discussion_r1628863010


##
examples/security-openid/pom.xml:
##
@@ -0,0 +1,119 @@
+
+
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;>
+4.0.0
+org.superbiz
+security-openid
+10.0.0-M2-SNAPSHOT
+war
+
+TomEE :: Examples :: Jakarta Security OpenID Connect
+
+
+UTF-8
+10.0.0-M2-SNAPSHOT
+3.0.2
+5.8.2
+1.7.0.Final

Review Comment:
   1.7.1.Final apparently 
https://github.com/apache/tomee/commit/92c924671d0cb1b1029e6b046a37b101efbc1e8a,
 my branch just didn't contain this commit yet that's why I used 1.7.0.Final
   I'll rebase/merge and update it
   





Issue Time Tracking
---

Worklog Id: (was: 922293)
Time Spent: 0.5h  (was: 20m)

> Jakarta Security 3.0
> 
>
> Key: TOMEE-4351
> URL: https://issues.apache.org/jira/browse/TOMEE-4351
> Project: TomEE
>  Issue Type: New Feature
>Reporter: Richard Zowalla
>Assignee: Markus Jung
>Priority: Major
> Fix For: 10.0.0-M2
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> as the title says. Mainly OIDC



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


[jira] [Work logged] (TOMEE-4351) Jakarta Security 3.0

2024-06-06 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4351?focusedWorklogId=922292=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-922292
 ]

ASF GitHub Bot logged work on TOMEE-4351:
-

Author: ASF GitHub Bot
Created on: 06/Jun/24 06:43
Start Date: 06/Jun/24 06:43
Worklog Time Spent: 10m 
  Work Description: jungm commented on code in PR #1178:
URL: https://github.com/apache/tomee/pull/1178#discussion_r1628861342


##
tomee/tomee-security/pom.xml:
##
@@ -94,13 +94,25 @@
   bval-jsr
 
 
+
+  org.bitbucket.b_c
+  jose4j
+  0.9.6

Review Comment:
   yeah absolutely makes sense





Issue Time Tracking
---

Worklog Id: (was: 922292)
Time Spent: 20m  (was: 10m)

> Jakarta Security 3.0
> 
>
> Key: TOMEE-4351
> URL: https://issues.apache.org/jira/browse/TOMEE-4351
> Project: TomEE
>  Issue Type: New Feature
>Reporter: Richard Zowalla
>Assignee: Markus Jung
>Priority: Major
> Fix For: 10.0.0-M2
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> as the title says. Mainly OIDC



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


[jira] [Work logged] (TOMEE-4351) Jakarta Security 3.0

2024-06-06 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4351?focusedWorklogId=922287=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-922287
 ]

ASF GitHub Bot logged work on TOMEE-4351:
-

Author: ASF GitHub Bot
Created on: 06/Jun/24 06:22
Start Date: 06/Jun/24 06:22
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on code in PR #1178:
URL: https://github.com/apache/tomee/pull/1178#discussion_r1625899112


##
examples/security-openid/pom.xml:
##
@@ -0,0 +1,119 @@
+
+
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;>
+4.0.0
+org.superbiz
+security-openid
+10.0.0-M2-SNAPSHOT
+war
+
+TomEE :: Examples :: Jakarta Security OpenID Connect
+
+
+UTF-8
+10.0.0-M2-SNAPSHOT
+3.0.2
+5.8.2
+1.7.0.Final

Review Comment:
   Think we are on `1.8.0.Final`.



##
tomee/tomee-security/pom.xml:
##
@@ -94,13 +94,25 @@
   bval-jsr
 
 
+
+  org.bitbucket.b_c
+  jose4j
+  0.9.6

Review Comment:
   Might be good to have this as a property (as well as the same one in 
`mp-jwt` to avoid version ambiquity?



##
examples/security-openid/pom.xml:
##
@@ -0,0 +1,119 @@
+
+
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;>
+4.0.0
+org.superbiz
+security-openid
+10.0.0-M2-SNAPSHOT
+war
+
+TomEE :: Examples :: Jakarta Security OpenID Connect
+
+
+UTF-8
+10.0.0-M2-SNAPSHOT
+3.0.2
+5.8.2

Review Comment:
   `5.10.2` ?





Issue Time Tracking
---

Worklog Id: (was: 922287)
Remaining Estimate: 0h
Time Spent: 10m

> Jakarta Security 3.0
> 
>
> Key: TOMEE-4351
> URL: https://issues.apache.org/jira/browse/TOMEE-4351
> Project: TomEE
>  Issue Type: New Feature
>Reporter: Richard Zowalla
>Assignee: Markus Jung
>Priority: Major
> Fix For: 10.0.0-M2
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> as the title says. Mainly OIDC



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


[jira] [Work logged] (TOMEE-4350) mp-jwt: Add qualifier for produced Jsonb

2024-06-06 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4350?focusedWorklogId=922284=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-922284
 ]

ASF GitHub Bot logged work on TOMEE-4350:
-

Author: ASF GitHub Bot
Created on: 06/Jun/24 06:15
Start Date: 06/Jun/24 06:15
Worklog Time Spent: 10m 
  Work Description: rzo1 merged PR #1190:
URL: https://github.com/apache/tomee/pull/1190




Issue Time Tracking
---

Worklog Id: (was: 922284)
Time Spent: 0.5h  (was: 20m)

> mp-jwt: Add qualifier for produced Jsonb
> 
>
> Key: TOMEE-4350
> URL: https://issues.apache.org/jira/browse/TOMEE-4350
> Project: TomEE
>  Issue Type: Improvement
>  Components: TomEE Core Server
>Affects Versions: 10.0.0-M1, 9.1.3
>Reporter: Markus Jung
>Assignee: Markus Jung
>Priority: Minor
> Attachments: reproducer.zip
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> JsonbProducer currently produces an unqalified Jsonb, making it impossible 
> for the application to define its own producer: 
> [https://github.com/apache/tomee/blob/tomee-project-10.0.0-M1/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/cdi/JsonbProducer.java]
>  
> This results in the following deployment error when OWB starts up (reproducer 
> attached):
> {code:java}
> 05-Jun-2024 15:48:31.010 SEVERE [main] 
> org.apache.openejb.cdi.OpenEJBLifecycle.startApplication CDI Beans module 
> deployment failed
>     org.apache.webbeans.exception.WebBeansDeploymentException: 
> jakarta.enterprise.inject.AmbiguousResolutionException: There is more than 
> one Bean with type jakarta.json.bind.Jsonb Qualifiers: 
> [@jakarta.enterprise.inject.Default()]
> for injection into Field Injection Point, field name :  jsonb, Bean Owner : 
> [ExampleBean, WebBeansType:MANAGED, Name:null, API 
> Types:[java.lang.Object,org.example.ExampleBean], 
> Qualifiers:[jakarta.enterprise.inject.Default,jakarta.enter
> prise.inject.Any]]
> found beans:  
> Jsonb, WebBeansType:PRODUCERMETHOD, Name:null, API 
> Types:[java.lang.Object,jakarta.json.bind.Jsonb,java.lang.AutoCloseable], 
> Qualifiers:[jakarta.enterprise.inject.Default,jakarta.enterprise.inject.Any], 
> Producer Method: public jakarta.j
> son.bind.Jsonb org.example.JsonbProducer.createJsonb() from 
> file:/home/markus/tmp/tomee-jsonb-unqalified/target/apache-tomee/webapps/tomee-embedded-mp-1.0-SNAPSHOT/WEB-INF/classes/org/example/JsonbProducer.class
> Jsonb, WebBeansType:PRODUCERMETHOD, Name:null, API 
> Types:[java.lang.Object,jakarta.json.bind.Jsonb,java.lang.AutoCloseable], 
> Qualifiers:[jakarta.enterprise.inject.Default,jakarta.enterprise.inject.Any], 
> Producer Method: public jakarta.j
> son.bind.Jsonb org.apache.tomee.microprofile.jwt.cdi.JsonbProducer.create() 
> from 
> jar:file:/home/markus/tmp/tomee-jsonb-unqalified/target/apache-tomee/lib/mp-jwt-10.0.0-M1.jar!/org/apache/tomee/microprofile/jwt/cdi/JsonbProducer.class
>  {code}



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


[jira] [Work logged] (TOMEE-4350) mp-jwt: Add qualifier for produced Jsonb

2024-06-06 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4350?focusedWorklogId=922285=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-922285
 ]

ASF GitHub Bot logged work on TOMEE-4350:
-

Author: ASF GitHub Bot
Created on: 06/Jun/24 06:15
Start Date: 06/Jun/24 06:15
Worklog Time Spent: 10m 
  Work Description: rzo1 merged PR #1189:
URL: https://github.com/apache/tomee/pull/1189




Issue Time Tracking
---

Worklog Id: (was: 922285)
Time Spent: 40m  (was: 0.5h)

> mp-jwt: Add qualifier for produced Jsonb
> 
>
> Key: TOMEE-4350
> URL: https://issues.apache.org/jira/browse/TOMEE-4350
> Project: TomEE
>  Issue Type: Improvement
>  Components: TomEE Core Server
>Affects Versions: 10.0.0-M1, 9.1.3
>Reporter: Markus Jung
>Assignee: Markus Jung
>Priority: Minor
> Attachments: reproducer.zip
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> JsonbProducer currently produces an unqalified Jsonb, making it impossible 
> for the application to define its own producer: 
> [https://github.com/apache/tomee/blob/tomee-project-10.0.0-M1/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/cdi/JsonbProducer.java]
>  
> This results in the following deployment error when OWB starts up (reproducer 
> attached):
> {code:java}
> 05-Jun-2024 15:48:31.010 SEVERE [main] 
> org.apache.openejb.cdi.OpenEJBLifecycle.startApplication CDI Beans module 
> deployment failed
>     org.apache.webbeans.exception.WebBeansDeploymentException: 
> jakarta.enterprise.inject.AmbiguousResolutionException: There is more than 
> one Bean with type jakarta.json.bind.Jsonb Qualifiers: 
> [@jakarta.enterprise.inject.Default()]
> for injection into Field Injection Point, field name :  jsonb, Bean Owner : 
> [ExampleBean, WebBeansType:MANAGED, Name:null, API 
> Types:[java.lang.Object,org.example.ExampleBean], 
> Qualifiers:[jakarta.enterprise.inject.Default,jakarta.enter
> prise.inject.Any]]
> found beans:  
> Jsonb, WebBeansType:PRODUCERMETHOD, Name:null, API 
> Types:[java.lang.Object,jakarta.json.bind.Jsonb,java.lang.AutoCloseable], 
> Qualifiers:[jakarta.enterprise.inject.Default,jakarta.enterprise.inject.Any], 
> Producer Method: public jakarta.j
> son.bind.Jsonb org.example.JsonbProducer.createJsonb() from 
> file:/home/markus/tmp/tomee-jsonb-unqalified/target/apache-tomee/webapps/tomee-embedded-mp-1.0-SNAPSHOT/WEB-INF/classes/org/example/JsonbProducer.class
> Jsonb, WebBeansType:PRODUCERMETHOD, Name:null, API 
> Types:[java.lang.Object,jakarta.json.bind.Jsonb,java.lang.AutoCloseable], 
> Qualifiers:[jakarta.enterprise.inject.Default,jakarta.enterprise.inject.Any], 
> Producer Method: public jakarta.j
> son.bind.Jsonb org.apache.tomee.microprofile.jwt.cdi.JsonbProducer.create() 
> from 
> jar:file:/home/markus/tmp/tomee-jsonb-unqalified/target/apache-tomee/lib/mp-jwt-10.0.0-M1.jar!/org/apache/tomee/microprofile/jwt/cdi/JsonbProducer.class
>  {code}



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


[jira] [Work logged] (TOMEE-4350) mp-jwt: Add qualifier for produced Jsonb

2024-06-05 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4350?focusedWorklogId=922280=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-922280
 ]

ASF GitHub Bot logged work on TOMEE-4350:
-

Author: ASF GitHub Bot
Created on: 06/Jun/24 05:15
Start Date: 06/Jun/24 05:15
Worklog Time Spent: 10m 
  Work Description: jungm opened a new pull request, #1190:
URL: https://github.com/apache/tomee/pull/1190

   resolves https://issues.apache.org/jira/browse/TOMEE-4350 by backporting 
#1189 to tomee-9.x




Issue Time Tracking
---

Worklog Id: (was: 922280)
Time Spent: 20m  (was: 10m)

> mp-jwt: Add qualifier for produced Jsonb
> 
>
> Key: TOMEE-4350
> URL: https://issues.apache.org/jira/browse/TOMEE-4350
> Project: TomEE
>  Issue Type: Improvement
>  Components: TomEE Core Server
>Affects Versions: 10.0.0-M1, 9.1.3
>Reporter: Markus Jung
>Priority: Minor
> Attachments: reproducer.zip
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> JsonbProducer currently produces an unqalified Jsonb, making it impossible 
> for the application to define its own producer: 
> [https://github.com/apache/tomee/blob/tomee-project-10.0.0-M1/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/cdi/JsonbProducer.java]
>  
> This results in the following deployment error when OWB starts up (reproducer 
> attached):
> {code:java}
> 05-Jun-2024 15:48:31.010 SEVERE [main] 
> org.apache.openejb.cdi.OpenEJBLifecycle.startApplication CDI Beans module 
> deployment failed
>     org.apache.webbeans.exception.WebBeansDeploymentException: 
> jakarta.enterprise.inject.AmbiguousResolutionException: There is more than 
> one Bean with type jakarta.json.bind.Jsonb Qualifiers: 
> [@jakarta.enterprise.inject.Default()]
> for injection into Field Injection Point, field name :  jsonb, Bean Owner : 
> [ExampleBean, WebBeansType:MANAGED, Name:null, API 
> Types:[java.lang.Object,org.example.ExampleBean], 
> Qualifiers:[jakarta.enterprise.inject.Default,jakarta.enter
> prise.inject.Any]]
> found beans:  
> Jsonb, WebBeansType:PRODUCERMETHOD, Name:null, API 
> Types:[java.lang.Object,jakarta.json.bind.Jsonb,java.lang.AutoCloseable], 
> Qualifiers:[jakarta.enterprise.inject.Default,jakarta.enterprise.inject.Any], 
> Producer Method: public jakarta.j
> son.bind.Jsonb org.example.JsonbProducer.createJsonb() from 
> file:/home/markus/tmp/tomee-jsonb-unqalified/target/apache-tomee/webapps/tomee-embedded-mp-1.0-SNAPSHOT/WEB-INF/classes/org/example/JsonbProducer.class
> Jsonb, WebBeansType:PRODUCERMETHOD, Name:null, API 
> Types:[java.lang.Object,jakarta.json.bind.Jsonb,java.lang.AutoCloseable], 
> Qualifiers:[jakarta.enterprise.inject.Default,jakarta.enterprise.inject.Any], 
> Producer Method: public jakarta.j
> son.bind.Jsonb org.apache.tomee.microprofile.jwt.cdi.JsonbProducer.create() 
> from 
> jar:file:/home/markus/tmp/tomee-jsonb-unqalified/target/apache-tomee/lib/mp-jwt-10.0.0-M1.jar!/org/apache/tomee/microprofile/jwt/cdi/JsonbProducer.class
>  {code}



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


[jira] [Work logged] (TOMEE-4350) mp-jwt: Add qualifier for produced Jsonb

2024-06-05 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4350?focusedWorklogId=922203=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-922203
 ]

ASF GitHub Bot logged work on TOMEE-4350:
-

Author: ASF GitHub Bot
Created on: 05/Jun/24 14:38
Start Date: 05/Jun/24 14:38
Worklog Time Spent: 10m 
  Work Description: jungm opened a new pull request, #1189:
URL: https://github.com/apache/tomee/pull/1189

   resolves https://issues.apache.org/jira/browse/TOMEE-4350




Issue Time Tracking
---

Worklog Id: (was: 922203)
Remaining Estimate: 0h
Time Spent: 10m

> mp-jwt: Add qualifier for produced Jsonb
> 
>
> Key: TOMEE-4350
> URL: https://issues.apache.org/jira/browse/TOMEE-4350
> Project: TomEE
>  Issue Type: Improvement
>  Components: TomEE Core Server
>Affects Versions: 10.0.0-M1, 9.1.3
>Reporter: Markus Jung
>Priority: Minor
> Attachments: reproducer.zip
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> JsonbProducer currently produces an unqalified Jsonb, making it impossible 
> for the application to define its own producer: 
> [https://github.com/apache/tomee/blob/tomee-project-10.0.0-M1/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/cdi/JsonbProducer.java]
>  
> This results in the following deployment error when OWB starts up (reproducer 
> attached):
> {code:java}
> 05-Jun-2024 15:48:31.010 SEVERE [main] 
> org.apache.openejb.cdi.OpenEJBLifecycle.startApplication CDI Beans module 
> deployment failed
>     org.apache.webbeans.exception.WebBeansDeploymentException: 
> jakarta.enterprise.inject.AmbiguousResolutionException: There is more than 
> one Bean with type jakarta.json.bind.Jsonb Qualifiers: 
> [@jakarta.enterprise.inject.Default()]
> for injection into Field Injection Point, field name :  jsonb, Bean Owner : 
> [ExampleBean, WebBeansType:MANAGED, Name:null, API 
> Types:[java.lang.Object,org.example.ExampleBean], 
> Qualifiers:[jakarta.enterprise.inject.Default,jakarta.enter
> prise.inject.Any]]
> found beans:  
> Jsonb, WebBeansType:PRODUCERMETHOD, Name:null, API 
> Types:[java.lang.Object,jakarta.json.bind.Jsonb,java.lang.AutoCloseable], 
> Qualifiers:[jakarta.enterprise.inject.Default,jakarta.enterprise.inject.Any], 
> Producer Method: public jakarta.j
> son.bind.Jsonb org.example.JsonbProducer.createJsonb() from 
> file:/home/markus/tmp/tomee-jsonb-unqalified/target/apache-tomee/webapps/tomee-embedded-mp-1.0-SNAPSHOT/WEB-INF/classes/org/example/JsonbProducer.class
> Jsonb, WebBeansType:PRODUCERMETHOD, Name:null, API 
> Types:[java.lang.Object,jakarta.json.bind.Jsonb,java.lang.AutoCloseable], 
> Qualifiers:[jakarta.enterprise.inject.Default,jakarta.enterprise.inject.Any], 
> Producer Method: public jakarta.j
> son.bind.Jsonb org.apache.tomee.microprofile.jwt.cdi.JsonbProducer.create() 
> from 
> jar:file:/home/markus/tmp/tomee-jsonb-unqalified/target/apache-tomee/lib/mp-jwt-10.0.0-M1.jar!/org/apache/tomee/microprofile/jwt/cdi/JsonbProducer.class
>  {code}



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


[jira] [Work logged] (TOMEE-4349) ECJ 3.37.0

2024-06-03 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4349?focusedWorklogId=921701=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-921701
 ]

ASF GitHub Bot logged work on TOMEE-4349:
-

Author: ASF GitHub Bot
Created on: 03/Jun/24 08:27
Start Date: 03/Jun/24 08:27
Worklog Time Spent: 10m 
  Work Description: rzo1 merged PR #1185:
URL: https://github.com/apache/tomee/pull/1185




Issue Time Tracking
---

Worklog Id: (was: 921701)
Remaining Estimate: 0h
Time Spent: 10m

> ECJ 3.37.0
> --
>
> Key: TOMEE-4349
> URL: https://issues.apache.org/jira/browse/TOMEE-4349
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 10.0.0-M1
>Reporter: Richard Zowalla
>Assignee: Richard Zowalla
>Priority: Major
> Fix For: 10.0.0-M2
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>




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


[jira] [Work logged] (TOMEE-4348) Smallrye Config 3.8.2

2024-06-03 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4348?focusedWorklogId=921699=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-921699
 ]

ASF GitHub Bot logged work on TOMEE-4348:
-

Author: ASF GitHub Bot
Created on: 03/Jun/24 08:20
Start Date: 03/Jun/24 08:20
Worklog Time Spent: 10m 
  Work Description: rzo1 merged PR #1184:
URL: https://github.com/apache/tomee/pull/1184




Issue Time Tracking
---

Worklog Id: (was: 921699)
Remaining Estimate: 0h
Time Spent: 10m

> Smallrye Config 3.8.2
> -
>
> Key: TOMEE-4348
> URL: https://issues.apache.org/jira/browse/TOMEE-4348
> Project: TomEE
>  Issue Type: Dependency upgrade
>Reporter: Richard Zowalla
>Assignee: Richard Zowalla
>Priority: Major
> Fix For: 10.0.0-M2
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>




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


[jira] [Work logged] (TOMEE-4346) Commons Lang 3.14.0

2024-05-30 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4346?focusedWorklogId=921425=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-921425
 ]

ASF GitHub Bot logged work on TOMEE-4346:
-

Author: ASF GitHub Bot
Created on: 30/May/24 17:59
Start Date: 30/May/24 17:59
Worklog Time Spent: 10m 
  Work Description: rzo1 merged PR #1174:
URL: https://github.com/apache/tomee/pull/1174




Issue Time Tracking
---

Worklog Id: (was: 921425)
Remaining Estimate: 0h
Time Spent: 10m

> Commons Lang 3.14.0
> ---
>
> Key: TOMEE-4346
> URL: https://issues.apache.org/jira/browse/TOMEE-4346
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 10.0.0-M1
>Reporter: Richard Zowalla
>Assignee: Richard Zowalla
>Priority: Major
> Fix For: 10.0.0-M2
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>




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


[jira] [Work logged] (TOMEE-4344) MP6: OpenAPI 3.1

2024-05-30 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4344?focusedWorklogId=921424=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-921424
 ]

ASF GitHub Bot logged work on TOMEE-4344:
-

Author: ASF GitHub Bot
Created on: 30/May/24 17:57
Start Date: 30/May/24 17:57
Worklog Time Spent: 10m 
  Work Description: rzo1 merged PR #1177:
URL: https://github.com/apache/tomee/pull/1177




Issue Time Tracking
---

Worklog Id: (was: 921424)
Time Spent: 20m  (was: 10m)

> MP6: OpenAPI 3.1
> 
>
> Key: TOMEE-4344
> URL: https://issues.apache.org/jira/browse/TOMEE-4344
> Project: TomEE
>  Issue Type: Task
>Affects Versions: 10.0.0-M1
>Reporter: Richard Zowalla
>Assignee: Richard Zowalla
>Priority: Major
> Fix For: 10.0.0-M2
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




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


[jira] [Work logged] (TOMEE-4344) MP6: OpenAPI 3.1

2024-05-28 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4344?focusedWorklogId=921024=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-921024
 ]

ASF GitHub Bot logged work on TOMEE-4344:
-

Author: ASF GitHub Bot
Created on: 28/May/24 09:15
Start Date: 28/May/24 09:15
Worklog Time Spent: 10m 
  Work Description: rzo1 opened a new pull request, #1177:
URL: https://github.com/apache/tomee/pull/1177

   ```
   [INFO] Results:
   [INFO] 
   [INFO] Tests run: 317, Failures: 0, Errors: 0, Skipped: 0
   [INFO] 
   ```




Issue Time Tracking
---

Worklog Id: (was: 921024)
Remaining Estimate: 0h
Time Spent: 10m

> MP6: OpenAPI 3.1
> 
>
> Key: TOMEE-4344
> URL: https://issues.apache.org/jira/browse/TOMEE-4344
> Project: TomEE
>  Issue Type: Task
>Affects Versions: 10.0.0-M1
>Reporter: Richard Zowalla
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>




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


[jira] [Work logged] (TOMEE-4342) ApplicationComposer should inject declared custom resources into tests

2024-05-26 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4342?focusedWorklogId=920911=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-920911
 ]

ASF GitHub Bot logged work on TOMEE-4342:
-

Author: ASF GitHub Bot
Created on: 26/May/24 18:29
Start Date: 26/May/24 18:29
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #1167:
URL: https://github.com/apache/tomee/pull/1167#issuecomment-2132321489

   Thx for checking it, @mawiesne and @rmannibucau for pointing out the 
limitations of the single instance in suites.




Issue Time Tracking
---

Worklog Id: (was: 920911)
Time Spent: 1.5h  (was: 1h 20m)

> ApplicationComposer should inject declared custom resources into tests
> --
>
> Key: TOMEE-4342
> URL: https://issues.apache.org/jira/browse/TOMEE-4342
> Project: TomEE
>  Issue Type: Improvement
>Affects Versions: 10.0.0-M1, 9.1.3
>Reporter: Martin Wiesner
>Assignee: Richard Zowalla
>Priority: Minor
> Fix For: 10.0.0-M2
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Right now, {{ApplicationComposer}} driven tests (via 
> {{@RunWithApplicationComposer(mode = ExtensionMode.PER_JVM}}) do not inject 
> @Resource beans, declared via Properties in an {{@Application}} App class. 
> Those Resouce instances (carrying custom config values) are, however, 
> injected correctly into EJBs or into the App itself.
> Interestingly, such resources are injected perfectly fine if the Test is run 
> via {{@RunWithEjbContainer}}.
> The improvement will enhance ApplicationComposer to act exactly the same as 
> tests driven by @RunWithEjbContainer, with respect to handling resource 
> injections.
> A reproducer examples is available here: 
> [https://github.com/rzo1/ac-app|https://github.com/rzo1/ac-app]
> It demonstrates the scenario and shows that 10.0-M1 is affected. 
> An enhancement on 10.0-M2-SNAPSHOT  is ready on a local basis to cure the 
> pain. I've assigned @rzo1, as he will provide the patch.



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


[jira] [Work logged] (TOMEE-4342) ApplicationComposer should inject declared custom resources into tests

2024-05-26 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4342?focusedWorklogId=920910=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-920910
 ]

ASF GitHub Bot logged work on TOMEE-4342:
-

Author: ASF GitHub Bot
Created on: 26/May/24 18:27
Start Date: 26/May/24 18:27
Worklog Time Spent: 10m 
  Work Description: rzo1 merged PR #1167:
URL: https://github.com/apache/tomee/pull/1167




Issue Time Tracking
---

Worklog Id: (was: 920910)
Time Spent: 1h 20m  (was: 1h 10m)

> ApplicationComposer should inject declared custom resources into tests
> --
>
> Key: TOMEE-4342
> URL: https://issues.apache.org/jira/browse/TOMEE-4342
> Project: TomEE
>  Issue Type: Improvement
>Affects Versions: 10.0.0-M1, 9.1.3
>Reporter: Martin Wiesner
>Assignee: Richard Zowalla
>Priority: Minor
> Fix For: 10.0.0-M2
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Right now, {{ApplicationComposer}} driven tests (via 
> {{@RunWithApplicationComposer(mode = ExtensionMode.PER_JVM}}) do not inject 
> @Resource beans, declared via Properties in an {{@Application}} App class. 
> Those Resouce instances (carrying custom config values) are, however, 
> injected correctly into EJBs or into the App itself.
> Interestingly, such resources are injected perfectly fine if the Test is run 
> via {{@RunWithEjbContainer}}.
> The improvement will enhance ApplicationComposer to act exactly the same as 
> tests driven by @RunWithEjbContainer, with respect to handling resource 
> injections.
> A reproducer examples is available here: 
> [https://github.com/rzo1/ac-app|https://github.com/rzo1/ac-app]
> It demonstrates the scenario and shows that 10.0-M1 is affected. 
> An enhancement on 10.0-M2-SNAPSHOT  is ready on a local basis to cure the 
> pain. I've assigned @rzo1, as he will provide the patch.



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


[jira] [Work logged] (TOMEE-4342) ApplicationComposer should inject declared custom resources into tests

2024-05-26 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4342?focusedWorklogId=920906=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-920906
 ]

ASF GitHub Bot logged work on TOMEE-4342:
-

Author: ASF GitHub Bot
Created on: 26/May/24 11:42
Start Date: 26/May/24 11:42
Worklog Time Spent: 10m 
  Work Description: mawiesne commented on PR #1167:
URL: https://github.com/apache/tomee/pull/1167#issuecomment-2132189148

   I can confirm that adding the test class `@Classes` helps, for example:
   
   ```
   @Module
   @Classes(cdi = true, value = {MyTest.class, App.class})
 public EjbJar modules() {
   return new EjbJar();
 }
   ```
   
   Thx @rmannibucau for clarification. Thx @rzo1 for updating the docs - so 
community can better understand what is required in such a scenario.




Issue Time Tracking
---

Worklog Id: (was: 920906)
Time Spent: 1h 10m  (was: 1h)

> ApplicationComposer should inject declared custom resources into tests
> --
>
> Key: TOMEE-4342
> URL: https://issues.apache.org/jira/browse/TOMEE-4342
> Project: TomEE
>  Issue Type: Improvement
>Affects Versions: 10.0.0-M1, 9.1.3
>Reporter: Martin Wiesner
>Assignee: Richard Zowalla
>Priority: Minor
> Fix For: 10.0.0-M2
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Right now, {{ApplicationComposer}} driven tests (via 
> {{@RunWithApplicationComposer(mode = ExtensionMode.PER_JVM}}) do not inject 
> @Resource beans, declared via Properties in an {{@Application}} App class. 
> Those Resouce instances (carrying custom config values) are, however, 
> injected correctly into EJBs or into the App itself.
> Interestingly, such resources are injected perfectly fine if the Test is run 
> via {{@RunWithEjbContainer}}.
> The improvement will enhance ApplicationComposer to act exactly the same as 
> tests driven by @RunWithEjbContainer, with respect to handling resource 
> injections.
> A reproducer examples is available here: 
> [https://github.com/rzo1/ac-app|https://github.com/rzo1/ac-app]
> It demonstrates the scenario and shows that 10.0-M1 is affected. 
> An enhancement on 10.0-M2-SNAPSHOT  is ready on a local basis to cure the 
> pain. I've assigned @rzo1, as he will provide the patch.



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


[jira] [Work logged] (TOMEE-4342) ApplicationComposer should inject declared custom resources into tests

2024-05-26 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4342?focusedWorklogId=920902=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-920902
 ]

ASF GitHub Bot logged work on TOMEE-4342:
-

Author: ASF GitHub Bot
Created on: 26/May/24 08:35
Start Date: 26/May/24 08:35
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #1167:
URL: https://github.com/apache/tomee/pull/1167#issuecomment-2132136589

   Thx @rmannibucau for clarification - I will update the test, verify it works 
and than remove my changes and update the docs, so it is clear how to use from 
user perspective.




Issue Time Tracking
---

Worklog Id: (was: 920902)
Time Spent: 1h  (was: 50m)

> ApplicationComposer should inject declared custom resources into tests
> --
>
> Key: TOMEE-4342
> URL: https://issues.apache.org/jira/browse/TOMEE-4342
> Project: TomEE
>  Issue Type: Improvement
>Affects Versions: 10.0.0-M1, 9.1.3
>Reporter: Martin Wiesner
>Assignee: Richard Zowalla
>Priority: Minor
> Fix For: 10.0.0-M2
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Right now, {{ApplicationComposer}} driven tests (via 
> {{@RunWithApplicationComposer(mode = ExtensionMode.PER_JVM}}) do not inject 
> @Resource beans, declared via Properties in an {{@Application}} App class. 
> Those Resouce instances (carrying custom config values) are, however, 
> injected correctly into EJBs or into the App itself.
> Interestingly, such resources are injected perfectly fine if the Test is run 
> via {{@RunWithEjbContainer}}.
> The improvement will enhance ApplicationComposer to act exactly the same as 
> tests driven by @RunWithEjbContainer, with respect to handling resource 
> injections.
> A reproducer examples is available here: 
> [https://github.com/rzo1/ac-app|https://github.com/rzo1/ac-app]
> It demonstrates the scenario and shows that 10.0-M1 is affected. 
> An enhancement on 10.0-M2-SNAPSHOT  is ready on a local basis to cure the 
> pain. I've assigned @rzo1, as he will provide the patch.



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


[jira] [Work logged] (TOMEE-4342) ApplicationComposer should inject declared custom resources into tests

2024-05-26 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4342?focusedWorklogId=920896=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-920896
 ]

ASF GitHub Bot logged work on TOMEE-4342:
-

Author: ASF GitHub Bot
Created on: 26/May/24 08:13
Start Date: 26/May/24 08:13
Worklog Time Spent: 10m 
  Work Description: rmannibucau commented on PR #1167:
URL: https://github.com/apache/tomee/pull/1167#issuecomment-2132126218

   Test classes are injected and resources already handled.
   Limit for single instance for suites is that classes must be scanned for 
injections to be prepared as any bean so test classes must be scanned.
   Can be adding it in classes or marking test classes to be a cdi bean 
(`@Dependent`)




Issue Time Tracking
---

Worklog Id: (was: 920896)
Time Spent: 50m  (was: 40m)

> ApplicationComposer should inject declared custom resources into tests
> --
>
> Key: TOMEE-4342
> URL: https://issues.apache.org/jira/browse/TOMEE-4342
> Project: TomEE
>  Issue Type: Improvement
>Affects Versions: 10.0.0-M1, 9.1.3
>Reporter: Martin Wiesner
>Assignee: Richard Zowalla
>Priority: Minor
> Fix For: 10.0.0-M2
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> Right now, {{ApplicationComposer}} driven tests (via 
> {{@RunWithApplicationComposer(mode = ExtensionMode.PER_JVM}}) do not inject 
> @Resource beans, declared via Properties in an {{@Application}} App class. 
> Those Resouce instances (carrying custom config values) are, however, 
> injected correctly into EJBs or into the App itself.
> Interestingly, such resources are injected perfectly fine if the Test is run 
> via {{@RunWithEjbContainer}}.
> The improvement will enhance ApplicationComposer to act exactly the same as 
> tests driven by @RunWithEjbContainer, with respect to handling resource 
> injections.
> A reproducer examples is available here: 
> [https://github.com/rzo1/ac-app|https://github.com/rzo1/ac-app]
> It demonstrates the scenario and shows that 10.0-M1 is affected. 
> An enhancement on 10.0-M2-SNAPSHOT  is ready on a local basis to cure the 
> pain. I've assigned @rzo1, as he will provide the patch.



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


[jira] [Work logged] (TOMEE-4342) ApplicationComposer should inject declared custom resources into tests

2024-05-26 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4342?focusedWorklogId=920895=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-920895
 ]

ASF GitHub Bot logged work on TOMEE-4342:
-

Author: ASF GitHub Bot
Created on: 26/May/24 07:40
Start Date: 26/May/24 07:40
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #1167:
URL: https://github.com/apache/tomee/pull/1167#issuecomment-2132115318

   > Shouldnt it use injector if cdi is disabled and nothing else 
(owbinjector)? Can mean scanning is wrongly configured for tests no?
   
   We don't have a lot of tests with `@Application`and docs are sparse in that 
area, so might not get it correctly.
   
   Adding the actual test class to `@Classes` of the `@Application` will inject 
the `@Resource` into the test otherwise it seems, that` @Resource` is not 
scanned anywhere else (and the fallbacks only inject `@Inject` fields).
   
   Would that be the actual way to solve it with application composer? (If so, 
we just need to update the docs).




Issue Time Tracking
---

Worklog Id: (was: 920895)
Time Spent: 40m  (was: 0.5h)

> ApplicationComposer should inject declared custom resources into tests
> --
>
> Key: TOMEE-4342
> URL: https://issues.apache.org/jira/browse/TOMEE-4342
> Project: TomEE
>  Issue Type: Improvement
>Affects Versions: 10.0.0-M1, 9.1.3
>Reporter: Martin Wiesner
>Assignee: Richard Zowalla
>Priority: Minor
> Fix For: 10.0.0-M2
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Right now, {{ApplicationComposer}} driven tests (via 
> {{@RunWithApplicationComposer(mode = ExtensionMode.PER_JVM}}) do not inject 
> @Resource beans, declared via Properties in an {{@Application}} App class. 
> Those Resouce instances (carrying custom config values) are, however, 
> injected correctly into EJBs or into the App itself.
> Interestingly, such resources are injected perfectly fine if the Test is run 
> via {{@RunWithEjbContainer}}.
> The improvement will enhance ApplicationComposer to act exactly the same as 
> tests driven by @RunWithEjbContainer, with respect to handling resource 
> injections.
> A reproducer examples is available here: 
> [https://github.com/rzo1/ac-app|https://github.com/rzo1/ac-app]
> It demonstrates the scenario and shows that 10.0-M1 is affected. 
> An enhancement on 10.0-M2-SNAPSHOT  is ready on a local basis to cure the 
> pain. I've assigned @rzo1, as he will provide the patch.



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


[jira] [Work logged] (TOMEE-4342) ApplicationComposer should inject declared custom resources into tests

2024-05-26 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4342?focusedWorklogId=920891=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-920891
 ]

ASF GitHub Bot logged work on TOMEE-4342:
-

Author: ASF GitHub Bot
Created on: 26/May/24 06:54
Start Date: 26/May/24 06:54
Worklog Time Spent: 10m 
  Work Description: rmannibucau commented on PR #1167:
URL: https://github.com/apache/tomee/pull/1167#issuecomment-2132093070

   Shouldnt it use injector if cdi is disabled and nothing else (owbinjector)?
   Can mean scanning is wrongly configured for tests no?




Issue Time Tracking
---

Worklog Id: (was: 920891)
Time Spent: 0.5h  (was: 20m)

> ApplicationComposer should inject declared custom resources into tests
> --
>
> Key: TOMEE-4342
> URL: https://issues.apache.org/jira/browse/TOMEE-4342
> Project: TomEE
>  Issue Type: Improvement
>Affects Versions: 10.0.0-M1, 9.1.3
>Reporter: Martin Wiesner
>Assignee: Richard Zowalla
>Priority: Minor
> Fix For: 10.0.0-M2
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Right now, {{ApplicationComposer}} driven tests (via 
> {{@RunWithApplicationComposer(mode = ExtensionMode.PER_JVM}}) do not inject 
> @Resource beans, declared via Properties in an {{@Application}} App class. 
> Those Resouce instances (carrying custom config values) are, however, 
> injected correctly into EJBs or into the App itself.
> Interestingly, such resources are injected perfectly fine if the Test is run 
> via {{@RunWithEjbContainer}}.
> The improvement will enhance ApplicationComposer to act exactly the same as 
> tests driven by @RunWithEjbContainer, with respect to handling resource 
> injections.
> A reproducer examples is available here: 
> [https://github.com/rzo1/ac-app|https://github.com/rzo1/ac-app]
> It demonstrates the scenario and shows that 10.0-M1 is affected. 
> An enhancement on 10.0-M2-SNAPSHOT  is ready on a local basis to cure the 
> pain. I've assigned @rzo1, as he will provide the patch.



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


[jira] [Work logged] (TOMEE-4342) ApplicationComposer should inject declared custom resources into tests

2024-05-25 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4342?focusedWorklogId=920885=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-920885
 ]

ASF GitHub Bot logged work on TOMEE-4342:
-

Author: ASF GitHub Bot
Created on: 25/May/24 21:12
Start Date: 25/May/24 21:12
Worklog Time Spent: 10m 
  Work Description: mawiesne commented on PR #1167:
URL: https://github.com/apache/tomee/pull/1167#issuecomment-2131459057

   Once merged, could this be  picked to 9.1.x maintenance branch for a 
potential 9.1.4 release? @rzo1 




Issue Time Tracking
---

Worklog Id: (was: 920885)
Time Spent: 20m  (was: 10m)

> ApplicationComposer should inject declared custom resources into tests
> --
>
> Key: TOMEE-4342
> URL: https://issues.apache.org/jira/browse/TOMEE-4342
> Project: TomEE
>  Issue Type: Improvement
>Affects Versions: 10.0.0-M1, 9.1.3
>Reporter: Martin Wiesner
>Assignee: Richard Zowalla
>Priority: Minor
> Fix For: 10.0.0-M2
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Right now, {{ApplicationComposer}} driven tests (via 
> {{@RunWithApplicationComposer(mode = ExtensionMode.PER_JVM}}) do not inject 
> @Resource beans, declared via Properties in an {{@Application}} App class. 
> Those Resouce instances (carrying custom config values) are, however, 
> injected correctly into EJBs or into the App itself.
> Interestingly, such resources are injected perfectly fine if the Test is run 
> via {{@RunWithEjbContainer}}.
> The improvement will enhance ApplicationComposer to act exactly the same as 
> tests driven by @RunWithEjbContainer, with respect to handling resource 
> injections.
> A reproducer examples is available here: 
> [https://github.com/rzo1/ac-app|https://github.com/rzo1/ac-app]
> It demonstrates the scenario and shows that 10.0-M1 is affected. 
> An enhancement on 10.0-M2-SNAPSHOT  is ready on a local basis to cure the 
> pain. I've assigned @rzo1, as he will provide the patch.



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


[jira] [Work logged] (TOMEE-4342) ApplicationComposer should inject declared custom resources into tests

2024-05-25 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4342?focusedWorklogId=920877=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-920877
 ]

ASF GitHub Bot logged work on TOMEE-4342:
-

Author: ASF GitHub Bot
Created on: 25/May/24 19:49
Start Date: 25/May/24 19:49
Worklog Time Spent: 10m 
  Work Description: rzo1 opened a new pull request, #1167:
URL: https://github.com/apache/tomee/pull/1167

   (no comment)




Issue Time Tracking
---

Worklog Id: (was: 920877)
Remaining Estimate: 0h
Time Spent: 10m

> ApplicationComposer should inject declared custom resources into tests
> --
>
> Key: TOMEE-4342
> URL: https://issues.apache.org/jira/browse/TOMEE-4342
> Project: TomEE
>  Issue Type: Improvement
>Affects Versions: 10.0.0-M1, 9.1.3
>Reporter: Martin Wiesner
>Assignee: Richard Zowalla
>Priority: Minor
> Fix For: 10.0.0-M2
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Right now, {{ApplicationComposer}} driven tests (via 
> {{@RunWithApplicationComposer(mode = ExtensionMode.PER_JVM}}) do not inject 
> @Resource beans, declared via Properties in an {{@Application}} App class. 
> Those Resouce instances (carrying custom config values) are, however, 
> injected correctly into EJBs or into the App itself.
> Interestingly, such resources are injected perfectly fine if the Test is run 
> via {{@RunWithEjbContainer}}.
> The improvement will enhance ApplicationComposer to act exactly the same as 
> tests driven by @RunWithEjbContainer, with respect to handling resource 
> injections.
> A reproducer examples is available here: 
> [https://github.com/rzo1/ac-app|https://github.com/rzo1/ac-app]
> It demonstrates the scenario and shows that 10.0-M1 is affected. 
> An enhancement on 10.0-M2-SNAPSHOT  is ready on a local basis to cure the 
> pain. I've assigned @rzo1, as he will provide the patch.



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


[jira] [Work logged] (TOMEE-4332) Using JAX-RS endpoints with a Spring Application fails

2024-05-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4332?focusedWorklogId=920641=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-920641
 ]

ASF GitHub Bot logged work on TOMEE-4332:
-

Author: ASF GitHub Bot
Created on: 23/May/24 11:57
Start Date: 23/May/24 11:57
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on code in PR #1165:
URL: https://github.com/apache/tomee/pull/1165#discussion_r1611564278


##
arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/spring/GreetingController.java:
##
@@ -0,0 +1,19 @@
+package org.apache.openejb.arquillian.tests.jaxrs.spring;

Review Comment:
   Missing header



##
arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/spring/DemoApplication.java:
##
@@ -0,0 +1,13 @@
+package org.apache.openejb.arquillian.tests.jaxrs.spring;

Review Comment:
   Missing header



##
arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/spring/AlternativeGreeter.java:
##
@@ -0,0 +1,22 @@
+package org.apache.openejb.arquillian.tests.jaxrs.spring;

Review Comment:
   Missing header



##
arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/spring/ServletInitializer.java:
##
@@ -0,0 +1,13 @@
+package org.apache.openejb.arquillian.tests.jaxrs.spring;

Review Comment:
   Missing header



##
arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/resources/spring-webmvc-pom.xml:
##
@@ -0,0 +1,44 @@
+

Review Comment:
   Missing header



##
arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/resources/spring-webmvc-pom.xml:
##
@@ -0,0 +1,44 @@
+
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
https://maven.apache.org/xsd/maven-4.0.0.xsd;>
+4.0.0
+
+org.springframework.boot
+spring-boot-starter-parent
+3.1.11

Review Comment:
   Spring Boot 3 has a Java 17 baseline, so this will likely fail the Java 11 
based build. I think, that we would need to build an exclusion for that test if 
we run with a runtime below 17.





Issue Time Tracking
---

Worklog Id: (was: 920641)
Time Spent: 2h 40m  (was: 2.5h)

> Using JAX-RS endpoints with a Spring Application fails
> --
>
> Key: TOMEE-4332
> URL: https://issues.apache.org/jira/browse/TOMEE-4332
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 9.1.3
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
> Fix For: 10.0.0-M2, 9.1.4
>
> Attachments: demo.tar.gz
>
>  Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> Consider a Spring application that uses Spring Web MVC, and also makes use of 
> JAX-RS endpoints using CXF in TomEE (reproducer attached).
> In TomEE 9.1.3, invoking the JAX-RS endpoint will fail with the following 
> exception:
>  
> java.lang.NoClassDefFoundError: 
> org/springframework/web/filter/ServerHttpObservationFilter
>     at 
> org.apache.cxf.jaxrs.springmvc.SpringWebUtils.setHttpRequestURI(SpringWebUtils.java:51)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.utils.HttpUtils.setHttpRequestURI(HttpUtils.java:380) 
> ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.setExchangeProperties(JAXRSInInterceptor.java:246)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:183)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:78)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)
>  ~[cxf-rt-transports-http-4.0.4.jar:4.0.4]
>     at 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.doInvoke(CxfRsHttpListener.java:266)
>  ~[openejb-cxf-rs-9.1.3.jar:9.1.3]
>     at 
> org.apache.tomee.webservices.CXFJAXRSFilter.doFilter(CXFJAXRSFilter.java:99) 
> ~[tomee-jaxrs-9.1.3.jar:9.1.3]
>     at 
> 

[jira] [Work logged] (TOMEE-4332) Using JAX-RS endpoints with a Spring Application fails

2024-05-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4332?focusedWorklogId=920640=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-920640
 ]

ASF GitHub Bot logged work on TOMEE-4332:
-

Author: ASF GitHub Bot
Created on: 23/May/24 11:55
Start Date: 23/May/24 11:55
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on code in PR #1166:
URL: https://github.com/apache/tomee/pull/1166#discussion_r1611559629


##
arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/spring/ServletInitializer.java:
##
@@ -0,0 +1,13 @@
+package org.apache.openejb.arquillian.tests.jaxrs.spring;

Review Comment:
   License header



##
arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/spring/AlternativeGreeter.java:
##
@@ -0,0 +1,22 @@
+package org.apache.openejb.arquillian.tests.jaxrs.spring;

Review Comment:
   License header



##
arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/spring/DemoApplication.java:
##
@@ -0,0 +1,13 @@
+package org.apache.openejb.arquillian.tests.jaxrs.spring;

Review Comment:
   License header



##
arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/resources/spring-webmvc-pom.xml:
##
@@ -0,0 +1,44 @@
+

Review Comment:
   missing header



##
arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/spring/SpringWebappTest.java:
##
@@ -0,0 +1,158 @@
+/**
+ * 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.openejb.arquillian.tests.jaxrs.spring;
+
+import org.apache.ziplock.WebModule;
+import org.jboss.arquillian.container.test.api.Deployment;
+import org.jboss.arquillian.junit.Arquillian;
+import org.jboss.arquillian.test.api.ArquillianResource;
+import org.jboss.shrinkwrap.api.ShrinkWrap;
+import org.jboss.shrinkwrap.api.exporter.ZipExporter;
+import org.jboss.shrinkwrap.api.spec.WebArchive;
+import org.jboss.shrinkwrap.resolver.api.ResolutionException;
+import org.jboss.shrinkwrap.resolver.api.ResolvedArtifact;
+import org.jboss.shrinkwrap.resolver.api.maven.Maven;
+import org.jboss.shrinkwrap.resolver.api.maven.MavenResolvedArtifact;
+import org.jboss.shrinkwrap.resolver.api.maven.ScopeType;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.springframework.boot.loader.tools.Libraries;
+import org.springframework.boot.loader.tools.Library;
+import org.springframework.boot.loader.tools.LibraryCallback;
+import org.springframework.boot.loader.tools.LibraryScope;
+import org.springframework.boot.loader.tools.Repackager;
+
+import java.io.ByteArrayOutputStream;
+import java.io.File;
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.URL;
+import java.util.Arrays;
+import java.util.stream.Collectors;
+
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+
+@RunWith(Arquillian.class)
+public class SpringWebappTest {
+
+@ArquillianResource
+private URL url;
+
+@Deployment(testable = false)
+public static WebArchive getArchive() throws Exception {
+MavenResolvedArtifact[] dependencies;
+try { // try offline first since it is generally faster
+dependencies = Maven.configureResolver()
+.workOffline()
+
.loadPomFromFile("src/test/resources/spring-webmvc-pom.xml")
+
.importCompileAndRuntimeDependencies().resolve().withTransitivity()
+.asResolvedArtifact();
+} catch (ResolutionException re) { // try on central
+dependencies = Maven.resolver()
+
.loadPomFromFile("src/test/resources/spring-webmvc-pom.xml")
+
.importCompileAndRuntimeDependencies().resolve().withTransitivity()
+.asResolvedArtifact();
+}
+
+
+final WebArchive archive = new 

[jira] [Work logged] (TOMEE-4332) Using JAX-RS endpoints with a Spring Application fails

2024-05-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4332?focusedWorklogId=920618=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-920618
 ]

ASF GitHub Bot logged work on TOMEE-4332:
-

Author: ASF GitHub Bot
Created on: 23/May/24 10:03
Start Date: 23/May/24 10:03
Worklog Time Spent: 10m 
  Work Description: jgallimore commented on PR #1165:
URL: https://github.com/apache/tomee/pull/1165#issuecomment-2126716747

   @venkat9 Your best bet is to join the users mailing list, and ask your 
question there. Best suggestion I can give concisely is to use TomEE, and if 
you identify bugs, discuss them on the mailing list with a view to fixing. 
Similarly, if you can see a feature you'd enjoy implementing, discuss that on 
the mailing list.




Issue Time Tracking
---

Worklog Id: (was: 920618)
Time Spent: 2h 20m  (was: 2h 10m)

> Using JAX-RS endpoints with a Spring Application fails
> --
>
> Key: TOMEE-4332
> URL: https://issues.apache.org/jira/browse/TOMEE-4332
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 9.1.3
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
> Fix For: 10.0.0-M2, 9.1.4
>
> Attachments: demo.tar.gz
>
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> Consider a Spring application that uses Spring Web MVC, and also makes use of 
> JAX-RS endpoints using CXF in TomEE (reproducer attached).
> In TomEE 9.1.3, invoking the JAX-RS endpoint will fail with the following 
> exception:
>  
> java.lang.NoClassDefFoundError: 
> org/springframework/web/filter/ServerHttpObservationFilter
>     at 
> org.apache.cxf.jaxrs.springmvc.SpringWebUtils.setHttpRequestURI(SpringWebUtils.java:51)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.utils.HttpUtils.setHttpRequestURI(HttpUtils.java:380) 
> ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.setExchangeProperties(JAXRSInInterceptor.java:246)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:183)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:78)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)
>  ~[cxf-rt-transports-http-4.0.4.jar:4.0.4]
>     at 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.doInvoke(CxfRsHttpListener.java:266)
>  ~[openejb-cxf-rs-9.1.3.jar:9.1.3]
>     at 
> org.apache.tomee.webservices.CXFJAXRSFilter.doFilter(CXFJAXRSFilter.java:99) 
> ~[tomee-jaxrs-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) 
> ~[tomcat-websocket.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.openejb.server.httpd.EEFilter.doFilter(EEFilter.java:67) 
> ~[openejb-http-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
>  ~[spring-web-6.0.19.jar:6.0.19]
>    

[jira] [Work logged] (TOMEE-4332) Using JAX-RS endpoints with a Spring Application fails

2024-05-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4332?focusedWorklogId=920616=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-920616
 ]

ASF GitHub Bot logged work on TOMEE-4332:
-

Author: ASF GitHub Bot
Created on: 23/May/24 10:00
Start Date: 23/May/24 10:00
Worklog Time Spent: 10m 
  Work Description: jgallimore commented on PR #1165:
URL: https://github.com/apache/tomee/pull/1165#issuecomment-2126710887

   Further detail on the CXF list is here: 
https://lists.apache.org/thread/coxrst45zm8gqmf1hhx5g7bqzbsldkhh




Issue Time Tracking
---

Worklog Id: (was: 920616)
Time Spent: 2h  (was: 1h 50m)

> Using JAX-RS endpoints with a Spring Application fails
> --
>
> Key: TOMEE-4332
> URL: https://issues.apache.org/jira/browse/TOMEE-4332
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 9.1.3
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
> Fix For: 10.0.0-M2, 9.1.4
>
> Attachments: demo.tar.gz
>
>  Time Spent: 2h
>  Remaining Estimate: 0h
>
> Consider a Spring application that uses Spring Web MVC, and also makes use of 
> JAX-RS endpoints using CXF in TomEE (reproducer attached).
> In TomEE 9.1.3, invoking the JAX-RS endpoint will fail with the following 
> exception:
>  
> java.lang.NoClassDefFoundError: 
> org/springframework/web/filter/ServerHttpObservationFilter
>     at 
> org.apache.cxf.jaxrs.springmvc.SpringWebUtils.setHttpRequestURI(SpringWebUtils.java:51)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.utils.HttpUtils.setHttpRequestURI(HttpUtils.java:380) 
> ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.setExchangeProperties(JAXRSInInterceptor.java:246)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:183)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:78)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)
>  ~[cxf-rt-transports-http-4.0.4.jar:4.0.4]
>     at 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.doInvoke(CxfRsHttpListener.java:266)
>  ~[openejb-cxf-rs-9.1.3.jar:9.1.3]
>     at 
> org.apache.tomee.webservices.CXFJAXRSFilter.doFilter(CXFJAXRSFilter.java:99) 
> ~[tomee-jaxrs-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) 
> ~[tomcat-websocket.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.openejb.server.httpd.EEFilter.doFilter(EEFilter.java:67) 
> ~[openejb-http-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> 

[jira] [Work logged] (TOMEE-4332) Using JAX-RS endpoints with a Spring Application fails

2024-05-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4332?focusedWorklogId=920617=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-920617
 ]

ASF GitHub Bot logged work on TOMEE-4332:
-

Author: ASF GitHub Bot
Created on: 23/May/24 10:00
Start Date: 23/May/24 10:00
Worklog Time Spent: 10m 
  Work Description: jgallimore commented on PR #1166:
URL: https://github.com/apache/tomee/pull/1166#issuecomment-2126711412

   Further detail on the CXF list is here: 
https://lists.apache.org/thread/coxrst45zm8gqmf1hhx5g7bqzbsldkhh




Issue Time Tracking
---

Worklog Id: (was: 920617)
Time Spent: 2h 10m  (was: 2h)

> Using JAX-RS endpoints with a Spring Application fails
> --
>
> Key: TOMEE-4332
> URL: https://issues.apache.org/jira/browse/TOMEE-4332
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 9.1.3
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
> Fix For: 10.0.0-M2, 9.1.4
>
> Attachments: demo.tar.gz
>
>  Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Consider a Spring application that uses Spring Web MVC, and also makes use of 
> JAX-RS endpoints using CXF in TomEE (reproducer attached).
> In TomEE 9.1.3, invoking the JAX-RS endpoint will fail with the following 
> exception:
>  
> java.lang.NoClassDefFoundError: 
> org/springframework/web/filter/ServerHttpObservationFilter
>     at 
> org.apache.cxf.jaxrs.springmvc.SpringWebUtils.setHttpRequestURI(SpringWebUtils.java:51)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.utils.HttpUtils.setHttpRequestURI(HttpUtils.java:380) 
> ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.setExchangeProperties(JAXRSInInterceptor.java:246)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:183)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:78)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)
>  ~[cxf-rt-transports-http-4.0.4.jar:4.0.4]
>     at 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.doInvoke(CxfRsHttpListener.java:266)
>  ~[openejb-cxf-rs-9.1.3.jar:9.1.3]
>     at 
> org.apache.tomee.webservices.CXFJAXRSFilter.doFilter(CXFJAXRSFilter.java:99) 
> ~[tomee-jaxrs-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) 
> ~[tomcat-websocket.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.openejb.server.httpd.EEFilter.doFilter(EEFilter.java:67) 
> ~[openejb-http-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> 

[jira] [Work logged] (TOMEE-4332) Using JAX-RS endpoints with a Spring Application fails

2024-05-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4332?focusedWorklogId=920614=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-920614
 ]

ASF GitHub Bot logged work on TOMEE-4332:
-

Author: ASF GitHub Bot
Created on: 23/May/24 09:59
Start Date: 23/May/24 09:59
Worklog Time Spent: 10m 
  Work Description: jgallimore closed pull request #1131: TOMEE-4332 Patch 
SpringWebUtils for class loader issue
URL: https://github.com/apache/tomee/pull/1131




Issue Time Tracking
---

Worklog Id: (was: 920614)
Time Spent: 1h 40m  (was: 1.5h)

> Using JAX-RS endpoints with a Spring Application fails
> --
>
> Key: TOMEE-4332
> URL: https://issues.apache.org/jira/browse/TOMEE-4332
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 9.1.3
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
> Fix For: 10.0.0-M2, 9.1.4
>
> Attachments: demo.tar.gz
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Consider a Spring application that uses Spring Web MVC, and also makes use of 
> JAX-RS endpoints using CXF in TomEE (reproducer attached).
> In TomEE 9.1.3, invoking the JAX-RS endpoint will fail with the following 
> exception:
>  
> java.lang.NoClassDefFoundError: 
> org/springframework/web/filter/ServerHttpObservationFilter
>     at 
> org.apache.cxf.jaxrs.springmvc.SpringWebUtils.setHttpRequestURI(SpringWebUtils.java:51)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.utils.HttpUtils.setHttpRequestURI(HttpUtils.java:380) 
> ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.setExchangeProperties(JAXRSInInterceptor.java:246)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:183)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:78)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)
>  ~[cxf-rt-transports-http-4.0.4.jar:4.0.4]
>     at 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.doInvoke(CxfRsHttpListener.java:266)
>  ~[openejb-cxf-rs-9.1.3.jar:9.1.3]
>     at 
> org.apache.tomee.webservices.CXFJAXRSFilter.doFilter(CXFJAXRSFilter.java:99) 
> ~[tomee-jaxrs-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) 
> ~[tomcat-websocket.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.openejb.server.httpd.EEFilter.doFilter(EEFilter.java:67) 
> ~[openejb-http-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> 

[jira] [Work logged] (TOMEE-4332) Using JAX-RS endpoints with a Spring Application fails

2024-05-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4332?focusedWorklogId=920615=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-920615
 ]

ASF GitHub Bot logged work on TOMEE-4332:
-

Author: ASF GitHub Bot
Created on: 23/May/24 09:59
Start Date: 23/May/24 09:59
Worklog Time Spent: 10m 
  Work Description: jgallimore commented on PR #1131:
URL: https://github.com/apache/tomee/pull/1131#issuecomment-2126707943

   Closed and replaced with #1166 




Issue Time Tracking
---

Worklog Id: (was: 920615)
Time Spent: 1h 50m  (was: 1h 40m)

> Using JAX-RS endpoints with a Spring Application fails
> --
>
> Key: TOMEE-4332
> URL: https://issues.apache.org/jira/browse/TOMEE-4332
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 9.1.3
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
> Fix For: 10.0.0-M2, 9.1.4
>
> Attachments: demo.tar.gz
>
>  Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Consider a Spring application that uses Spring Web MVC, and also makes use of 
> JAX-RS endpoints using CXF in TomEE (reproducer attached).
> In TomEE 9.1.3, invoking the JAX-RS endpoint will fail with the following 
> exception:
>  
> java.lang.NoClassDefFoundError: 
> org/springframework/web/filter/ServerHttpObservationFilter
>     at 
> org.apache.cxf.jaxrs.springmvc.SpringWebUtils.setHttpRequestURI(SpringWebUtils.java:51)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.utils.HttpUtils.setHttpRequestURI(HttpUtils.java:380) 
> ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.setExchangeProperties(JAXRSInInterceptor.java:246)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:183)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:78)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)
>  ~[cxf-rt-transports-http-4.0.4.jar:4.0.4]
>     at 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.doInvoke(CxfRsHttpListener.java:266)
>  ~[openejb-cxf-rs-9.1.3.jar:9.1.3]
>     at 
> org.apache.tomee.webservices.CXFJAXRSFilter.doFilter(CXFJAXRSFilter.java:99) 
> ~[tomee-jaxrs-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) 
> ~[tomcat-websocket.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.openejb.server.httpd.EEFilter.doFilter(EEFilter.java:67) 
> ~[openejb-http-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> 

[jira] [Work logged] (TOMEE-4332) Using JAX-RS endpoints with a Spring Application fails

2024-05-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4332?focusedWorklogId=920612=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-920612
 ]

ASF GitHub Bot logged work on TOMEE-4332:
-

Author: ASF GitHub Bot
Created on: 23/May/24 09:57
Start Date: 23/May/24 09:57
Worklog Time Spent: 10m 
  Work Description: jgallimore closed pull request #1130: TOMEE-4332 Patch 
SpringWebUtils for class loader issue
URL: https://github.com/apache/tomee/pull/1130




Issue Time Tracking
---

Worklog Id: (was: 920612)
Time Spent: 1h 20m  (was: 1h 10m)

> Using JAX-RS endpoints with a Spring Application fails
> --
>
> Key: TOMEE-4332
> URL: https://issues.apache.org/jira/browse/TOMEE-4332
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 9.1.3
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
> Fix For: 10.0.0-M2, 9.1.4
>
> Attachments: demo.tar.gz
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Consider a Spring application that uses Spring Web MVC, and also makes use of 
> JAX-RS endpoints using CXF in TomEE (reproducer attached).
> In TomEE 9.1.3, invoking the JAX-RS endpoint will fail with the following 
> exception:
>  
> java.lang.NoClassDefFoundError: 
> org/springframework/web/filter/ServerHttpObservationFilter
>     at 
> org.apache.cxf.jaxrs.springmvc.SpringWebUtils.setHttpRequestURI(SpringWebUtils.java:51)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.utils.HttpUtils.setHttpRequestURI(HttpUtils.java:380) 
> ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.setExchangeProperties(JAXRSInInterceptor.java:246)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:183)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:78)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)
>  ~[cxf-rt-transports-http-4.0.4.jar:4.0.4]
>     at 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.doInvoke(CxfRsHttpListener.java:266)
>  ~[openejb-cxf-rs-9.1.3.jar:9.1.3]
>     at 
> org.apache.tomee.webservices.CXFJAXRSFilter.doFilter(CXFJAXRSFilter.java:99) 
> ~[tomee-jaxrs-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) 
> ~[tomcat-websocket.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.openejb.server.httpd.EEFilter.doFilter(EEFilter.java:67) 
> ~[openejb-http-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> 

[jira] [Work logged] (TOMEE-4332) Using JAX-RS endpoints with a Spring Application fails

2024-05-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4332?focusedWorklogId=920613=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-920613
 ]

ASF GitHub Bot logged work on TOMEE-4332:
-

Author: ASF GitHub Bot
Created on: 23/May/24 09:57
Start Date: 23/May/24 09:57
Worklog Time Spent: 10m 
  Work Description: jgallimore commented on PR #1130:
URL: https://github.com/apache/tomee/pull/1130#issuecomment-2126704507

   Closing and replacing with #1165




Issue Time Tracking
---

Worklog Id: (was: 920613)
Time Spent: 1.5h  (was: 1h 20m)

> Using JAX-RS endpoints with a Spring Application fails
> --
>
> Key: TOMEE-4332
> URL: https://issues.apache.org/jira/browse/TOMEE-4332
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 9.1.3
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
> Fix For: 10.0.0-M2, 9.1.4
>
> Attachments: demo.tar.gz
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Consider a Spring application that uses Spring Web MVC, and also makes use of 
> JAX-RS endpoints using CXF in TomEE (reproducer attached).
> In TomEE 9.1.3, invoking the JAX-RS endpoint will fail with the following 
> exception:
>  
> java.lang.NoClassDefFoundError: 
> org/springframework/web/filter/ServerHttpObservationFilter
>     at 
> org.apache.cxf.jaxrs.springmvc.SpringWebUtils.setHttpRequestURI(SpringWebUtils.java:51)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.utils.HttpUtils.setHttpRequestURI(HttpUtils.java:380) 
> ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.setExchangeProperties(JAXRSInInterceptor.java:246)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:183)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:78)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)
>  ~[cxf-rt-transports-http-4.0.4.jar:4.0.4]
>     at 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.doInvoke(CxfRsHttpListener.java:266)
>  ~[openejb-cxf-rs-9.1.3.jar:9.1.3]
>     at 
> org.apache.tomee.webservices.CXFJAXRSFilter.doFilter(CXFJAXRSFilter.java:99) 
> ~[tomee-jaxrs-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) 
> ~[tomcat-websocket.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.openejb.server.httpd.EEFilter.doFilter(EEFilter.java:67) 
> ~[openejb-http-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> 

[jira] [Work logged] (TOMEE-4332) Using JAX-RS endpoints with a Spring Application fails

2024-05-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4332?focusedWorklogId=920611=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-920611
 ]

ASF GitHub Bot logged work on TOMEE-4332:
-

Author: ASF GitHub Bot
Created on: 23/May/24 09:57
Start Date: 23/May/24 09:57
Worklog Time Spent: 10m 
  Work Description: venkat9 commented on PR #1165:
URL: https://github.com/apache/tomee/pull/1165#issuecomment-2126704134

   may i know how to contribute something to this project.. any project setup
   guide etc.
   
   On Thu, May 23, 2024 at 3:25 PM Jonathan Gallimore ***@***.***>
   wrote:
   
   > …hen the cxf-rs service is initialized
   > --
   > You can view, comment on, or merge this pull request online at:
   >
   >   https://github.com/apache/tomee/pull/1165
   > Commit Summary
   >
   >- ff60d0d
   >

   >TOMEE-4332 Load SpringWebUtils in the context class loader in TomEE when
   >the cxf-rs service is initialized
   >
   > File Changes
   >
   > (9 files )
   >
   >- *M*
   >arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/pom.xml
   >

   >(22)
   >- *A*
   >
arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/spring/AlternativeGreeter.java
   >

   >(22)
   >- *A*
   >
arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/spring/DemoApplication.java
   >

   >(13)
   >- *A*
   >
arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/spring/GreetingController.java
   >

   >(19)
   >- *A*
   >
arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/spring/ServletInitializer.java
   >

   >(13)
   >- *A*
   >
arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxrs/spring/SpringWebappTest.java
   >

   >(158)
   >- *A*
   >
arquillian/arquillian-tomee-tests/arquillian-tomee-jaxrs-tests/src/test/resources/spring-webmvc-pom.xml
   >

   >(44)
   >- *M* arquillian/arquillian-tomee-tests/pom.xml
   >

   >(1)
   >- *M*
   >
server/openejb-cxf-rs/src/main/java/org/apache/openejb/server/cxf/rs/CxfRSService.java
   >

   >(6)
   >
   > Patch Links:
   >
   >- https://github.com/apache/tomee/pull/1165.patch
   >- https://github.com/apache/tomee/pull/1165.diff
   >
   > —
   > Reply to this email directly, view it on GitHub
   > , or unsubscribe
   > 

   > .
   > You are receiving this because you are subscribed to this thread.Message
   > ID: ***@***.***>
   >
   




Issue Time Tracking
---

Worklog Id: (was: 920611)
Time Spent: 1h 10m  (was: 1h)

> Using JAX-RS endpoints with a Spring Application fails
> --
>
> Key: TOMEE-4332
> URL: https://issues.apache.org/jira/browse/TOMEE-4332
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 9.1.3
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
> Fix For: 10.0.0-M2, 9.1.4
>
> Attachments: demo.tar.gz
>
>  Time Spent: 1h 10m
>  Remaining 

[jira] [Work logged] (TOMEE-4332) Using JAX-RS endpoints with a Spring Application fails

2024-05-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4332?focusedWorklogId=920610=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-920610
 ]

ASF GitHub Bot logged work on TOMEE-4332:
-

Author: ASF GitHub Bot
Created on: 23/May/24 09:56
Start Date: 23/May/24 09:56
Worklog Time Spent: 10m 
  Work Description: jgallimore opened a new pull request, #1166:
URL: https://github.com/apache/tomee/pull/1166

   …hen the cxf-rs service is initialized




Issue Time Tracking
---

Worklog Id: (was: 920610)
Time Spent: 1h  (was: 50m)

> Using JAX-RS endpoints with a Spring Application fails
> --
>
> Key: TOMEE-4332
> URL: https://issues.apache.org/jira/browse/TOMEE-4332
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 9.1.3
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
> Fix For: 10.0.0-M2, 9.1.4
>
> Attachments: demo.tar.gz
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Consider a Spring application that uses Spring Web MVC, and also makes use of 
> JAX-RS endpoints using CXF in TomEE (reproducer attached).
> In TomEE 9.1.3, invoking the JAX-RS endpoint will fail with the following 
> exception:
>  
> java.lang.NoClassDefFoundError: 
> org/springframework/web/filter/ServerHttpObservationFilter
>     at 
> org.apache.cxf.jaxrs.springmvc.SpringWebUtils.setHttpRequestURI(SpringWebUtils.java:51)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.utils.HttpUtils.setHttpRequestURI(HttpUtils.java:380) 
> ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.setExchangeProperties(JAXRSInInterceptor.java:246)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:183)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:78)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)
>  ~[cxf-rt-transports-http-4.0.4.jar:4.0.4]
>     at 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.doInvoke(CxfRsHttpListener.java:266)
>  ~[openejb-cxf-rs-9.1.3.jar:9.1.3]
>     at 
> org.apache.tomee.webservices.CXFJAXRSFilter.doFilter(CXFJAXRSFilter.java:99) 
> ~[tomee-jaxrs-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) 
> ~[tomcat-websocket.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.openejb.server.httpd.EEFilter.doFilter(EEFilter.java:67) 
> ~[openejb-http-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> 

[jira] [Work logged] (TOMEE-4332) Using JAX-RS endpoints with a Spring Application fails

2024-05-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4332?focusedWorklogId=920609=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-920609
 ]

ASF GitHub Bot logged work on TOMEE-4332:
-

Author: ASF GitHub Bot
Created on: 23/May/24 09:54
Start Date: 23/May/24 09:54
Worklog Time Spent: 10m 
  Work Description: jgallimore opened a new pull request, #1165:
URL: https://github.com/apache/tomee/pull/1165

   …hen the cxf-rs service is initialized




Issue Time Tracking
---

Worklog Id: (was: 920609)
Time Spent: 50m  (was: 40m)

> Using JAX-RS endpoints with a Spring Application fails
> --
>
> Key: TOMEE-4332
> URL: https://issues.apache.org/jira/browse/TOMEE-4332
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 9.1.3
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
> Fix For: 10.0.0-M2, 9.1.4
>
> Attachments: demo.tar.gz
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> Consider a Spring application that uses Spring Web MVC, and also makes use of 
> JAX-RS endpoints using CXF in TomEE (reproducer attached).
> In TomEE 9.1.3, invoking the JAX-RS endpoint will fail with the following 
> exception:
>  
> java.lang.NoClassDefFoundError: 
> org/springframework/web/filter/ServerHttpObservationFilter
>     at 
> org.apache.cxf.jaxrs.springmvc.SpringWebUtils.setHttpRequestURI(SpringWebUtils.java:51)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.utils.HttpUtils.setHttpRequestURI(HttpUtils.java:380) 
> ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.setExchangeProperties(JAXRSInInterceptor.java:246)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:183)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:78)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)
>  ~[cxf-rt-transports-http-4.0.4.jar:4.0.4]
>     at 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.doInvoke(CxfRsHttpListener.java:266)
>  ~[openejb-cxf-rs-9.1.3.jar:9.1.3]
>     at 
> org.apache.tomee.webservices.CXFJAXRSFilter.doFilter(CXFJAXRSFilter.java:99) 
> ~[tomee-jaxrs-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) 
> ~[tomcat-websocket.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.openejb.server.httpd.EEFilter.doFilter(EEFilter.java:67) 
> ~[openejb-http-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> 

[jira] [Work logged] (TOMEE-4333) NotSerializableException with @Inject HttpServletRequest

2024-05-16 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4333?focusedWorklogId=919758=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-919758
 ]

ASF GitHub Bot logged work on TOMEE-4333:
-

Author: ASF GitHub Bot
Created on: 16/May/24 21:25
Start Date: 16/May/24 21:25
Worklog Time Spent: 10m 
  Work Description: jgallimore merged PR #1138:
URL: https://github.com/apache/tomee/pull/1138




Issue Time Tracking
---

Worklog Id: (was: 919758)
Time Spent: 50m  (was: 40m)

> NotSerializableException with @Inject HttpServletRequest
> 
>
> Key: TOMEE-4333
> URL: https://issues.apache.org/jira/browse/TOMEE-4333
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 10.0.0-M1, 9.1.3
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
> Fix For: 10.0.0-M2, 9.1.4
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> Given this CDI Bean:
> @SessionScoped
> @Named
> public class MyPageBean implements Serializable {
>  @Inject private HttpServletRequest req;
> ... use the bean somewhere in EL
> }
> This will result in an exception when serializing the Session (For session
> replication or passivation): java.lang.RuntimeException:
> java.lang.RuntimeException: 
> [java.io|http://java.io/].NotSerializableException:
> org.apache.openejb.cdi.Proxys$ThreadLocalHandler
> From: [https://www.mail-archive.com/dev@tomee.apache.org/msg18097.html]
> Looking at the Proxys.java code, it contains a private static class called
> ThreadLocalHandler, that is indeed not Serializable. For fun, I made
> ThreadLocalHandler implement Serializable, but that just resulted in
> another error because ThreadLocalHandler contains a ThreadLocal field which
> is definitely not Serializable.
> ThreadLocalHandler for HttpServletRequest is invoked by
> TomcatWebappBuilder.setComponentsUsedByCDI():
> [https://github.com/apache/tomee/blob/tomee-8.x/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/TomcatWebAppBuilder.java#L358]
> I'm at a bit of a loss on how to fix this. My assumption is the
> ThreadLocalHandler was designed as a generic proxy object that defers to an
> internal ThreadLocal object. I wonder if marking the ThreadLocal as
> transient is sufficient, but I could use some input.



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


[jira] [Work logged] (TOMEE-4333) NotSerializableException with @Inject HttpServletRequest

2024-05-16 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4333?focusedWorklogId=919759=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-919759
 ]

ASF GitHub Bot logged work on TOMEE-4333:
-

Author: ASF GitHub Bot
Created on: 16/May/24 21:25
Start Date: 16/May/24 21:25
Worklog Time Spent: 10m 
  Work Description: jgallimore merged PR #1139:
URL: https://github.com/apache/tomee/pull/1139




Issue Time Tracking
---

Worklog Id: (was: 919759)
Time Spent: 1h  (was: 50m)

> NotSerializableException with @Inject HttpServletRequest
> 
>
> Key: TOMEE-4333
> URL: https://issues.apache.org/jira/browse/TOMEE-4333
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 10.0.0-M1, 9.1.3
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
> Fix For: 10.0.0-M2, 9.1.4
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Given this CDI Bean:
> @SessionScoped
> @Named
> public class MyPageBean implements Serializable {
>  @Inject private HttpServletRequest req;
> ... use the bean somewhere in EL
> }
> This will result in an exception when serializing the Session (For session
> replication or passivation): java.lang.RuntimeException:
> java.lang.RuntimeException: 
> [java.io|http://java.io/].NotSerializableException:
> org.apache.openejb.cdi.Proxys$ThreadLocalHandler
> From: [https://www.mail-archive.com/dev@tomee.apache.org/msg18097.html]
> Looking at the Proxys.java code, it contains a private static class called
> ThreadLocalHandler, that is indeed not Serializable. For fun, I made
> ThreadLocalHandler implement Serializable, but that just resulted in
> another error because ThreadLocalHandler contains a ThreadLocal field which
> is definitely not Serializable.
> ThreadLocalHandler for HttpServletRequest is invoked by
> TomcatWebappBuilder.setComponentsUsedByCDI():
> [https://github.com/apache/tomee/blob/tomee-8.x/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/TomcatWebAppBuilder.java#L358]
> I'm at a bit of a loss on how to fix this. My assumption is the
> ThreadLocalHandler was designed as a generic proxy object that defers to an
> internal ThreadLocal object. I wonder if marking the ThreadLocal as
> transient is sufficient, but I could use some input.



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


[jira] [Work logged] (TOMEE-4333) NotSerializableException with @Inject HttpServletRequest

2024-05-16 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4333?focusedWorklogId=919755=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-919755
 ]

ASF GitHub Bot logged work on TOMEE-4333:
-

Author: ASF GitHub Bot
Created on: 16/May/24 20:30
Start Date: 16/May/24 20:30
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on code in PR #1138:
URL: https://github.com/apache/tomee/pull/1138#discussion_r1603990822


##
boms/tomee-plume/pom.xml:
##
@@ -111,6 +111,17 @@
 
   
 
+

Review Comment:
   This will most likely be automoatically removed again.



##
boms/tomee-plus/pom.xml:
##
@@ -111,6 +111,17 @@
 
   
 
+

Review Comment:
   Same





Issue Time Tracking
---

Worklog Id: (was: 919755)
Time Spent: 40m  (was: 0.5h)

> NotSerializableException with @Inject HttpServletRequest
> 
>
> Key: TOMEE-4333
> URL: https://issues.apache.org/jira/browse/TOMEE-4333
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 10.0.0-M1, 9.1.3
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
> Fix For: 10.0.0-M2, 9.1.4
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Given this CDI Bean:
> @SessionScoped
> @Named
> public class MyPageBean implements Serializable {
>  @Inject private HttpServletRequest req;
> ... use the bean somewhere in EL
> }
> This will result in an exception when serializing the Session (For session
> replication or passivation): java.lang.RuntimeException:
> java.lang.RuntimeException: 
> [java.io|http://java.io/].NotSerializableException:
> org.apache.openejb.cdi.Proxys$ThreadLocalHandler
> From: [https://www.mail-archive.com/dev@tomee.apache.org/msg18097.html]
> Looking at the Proxys.java code, it contains a private static class called
> ThreadLocalHandler, that is indeed not Serializable. For fun, I made
> ThreadLocalHandler implement Serializable, but that just resulted in
> another error because ThreadLocalHandler contains a ThreadLocal field which
> is definitely not Serializable.
> ThreadLocalHandler for HttpServletRequest is invoked by
> TomcatWebappBuilder.setComponentsUsedByCDI():
> [https://github.com/apache/tomee/blob/tomee-8.x/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/TomcatWebAppBuilder.java#L358]
> I'm at a bit of a loss on how to fix this. My assumption is the
> ThreadLocalHandler was designed as a generic proxy object that defers to an
> internal ThreadLocal object. I wonder if marking the ThreadLocal as
> transient is sufficient, but I could use some input.



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


[jira] [Work logged] (TOMEE-4333) NotSerializableException with @Inject HttpServletRequest

2024-05-16 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4333?focusedWorklogId=919659=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-919659
 ]

ASF GitHub Bot logged work on TOMEE-4333:
-

Author: ASF GitHub Bot
Created on: 16/May/24 09:07
Start Date: 16/May/24 09:07
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #1138:
URL: https://github.com/apache/tomee/pull/1138#issuecomment-2114620928

   I just queued a full build for it :)




Issue Time Tracking
---

Worklog Id: (was: 919659)
Time Spent: 0.5h  (was: 20m)

> NotSerializableException with @Inject HttpServletRequest
> 
>
> Key: TOMEE-4333
> URL: https://issues.apache.org/jira/browse/TOMEE-4333
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 10.0.0-M1, 9.1.3
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
> Fix For: 10.0.0-M2, 9.1.4
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Given this CDI Bean:
> @SessionScoped
> @Named
> public class MyPageBean implements Serializable {
>  @Inject private HttpServletRequest req;
> ... use the bean somewhere in EL
> }
> This will result in an exception when serializing the Session (For session
> replication or passivation): java.lang.RuntimeException:
> java.lang.RuntimeException: 
> [java.io|http://java.io/].NotSerializableException:
> org.apache.openejb.cdi.Proxys$ThreadLocalHandler
> From: [https://www.mail-archive.com/dev@tomee.apache.org/msg18097.html]
> Looking at the Proxys.java code, it contains a private static class called
> ThreadLocalHandler, that is indeed not Serializable. For fun, I made
> ThreadLocalHandler implement Serializable, but that just resulted in
> another error because ThreadLocalHandler contains a ThreadLocal field which
> is definitely not Serializable.
> ThreadLocalHandler for HttpServletRequest is invoked by
> TomcatWebappBuilder.setComponentsUsedByCDI():
> [https://github.com/apache/tomee/blob/tomee-8.x/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/TomcatWebAppBuilder.java#L358]
> I'm at a bit of a loss on how to fix this. My assumption is the
> ThreadLocalHandler was designed as a generic proxy object that defers to an
> internal ThreadLocal object. I wonder if marking the ThreadLocal as
> transient is sufficient, but I could use some input.



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


[jira] [Work logged] (TOMEE-4333) NotSerializableException with @Inject HttpServletRequest

2024-05-16 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4333?focusedWorklogId=919657=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-919657
 ]

ASF GitHub Bot logged work on TOMEE-4333:
-

Author: ASF GitHub Bot
Created on: 16/May/24 09:01
Start Date: 16/May/24 09:01
Worklog Time Spent: 10m 
  Work Description: jgallimore opened a new pull request, #1139:
URL: https://github.com/apache/tomee/pull/1139

   (no comment)




Issue Time Tracking
---

Worklog Id: (was: 919657)
Time Spent: 20m  (was: 10m)

> NotSerializableException with @Inject HttpServletRequest
> 
>
> Key: TOMEE-4333
> URL: https://issues.apache.org/jira/browse/TOMEE-4333
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 10.0.0-M1, 9.1.3
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
> Fix For: 10.0.0-M2, 9.1.4
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Given this CDI Bean:
> @SessionScoped
> @Named
> public class MyPageBean implements Serializable {
>  @Inject private HttpServletRequest req;
> ... use the bean somewhere in EL
> }
> This will result in an exception when serializing the Session (For session
> replication or passivation): java.lang.RuntimeException:
> java.lang.RuntimeException: 
> [java.io|http://java.io/].NotSerializableException:
> org.apache.openejb.cdi.Proxys$ThreadLocalHandler
> From: [https://www.mail-archive.com/dev@tomee.apache.org/msg18097.html]
> Looking at the Proxys.java code, it contains a private static class called
> ThreadLocalHandler, that is indeed not Serializable. For fun, I made
> ThreadLocalHandler implement Serializable, but that just resulted in
> another error because ThreadLocalHandler contains a ThreadLocal field which
> is definitely not Serializable.
> ThreadLocalHandler for HttpServletRequest is invoked by
> TomcatWebappBuilder.setComponentsUsedByCDI():
> [https://github.com/apache/tomee/blob/tomee-8.x/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/TomcatWebAppBuilder.java#L358]
> I'm at a bit of a loss on how to fix this. My assumption is the
> ThreadLocalHandler was designed as a generic proxy object that defers to an
> internal ThreadLocal object. I wonder if marking the ThreadLocal as
> transient is sufficient, but I could use some input.



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


[jira] [Work logged] (TOMEE-4333) NotSerializableException with @Inject HttpServletRequest

2024-05-16 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4333?focusedWorklogId=919656=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-919656
 ]

ASF GitHub Bot logged work on TOMEE-4333:
-

Author: ASF GitHub Bot
Created on: 16/May/24 09:00
Start Date: 16/May/24 09:00
Worklog Time Spent: 10m 
  Work Description: jgallimore opened a new pull request, #1138:
URL: https://github.com/apache/tomee/pull/1138

   (no comment)




Issue Time Tracking
---

Worklog Id: (was: 919656)
Remaining Estimate: 0h
Time Spent: 10m

> NotSerializableException with @Inject HttpServletRequest
> 
>
> Key: TOMEE-4333
> URL: https://issues.apache.org/jira/browse/TOMEE-4333
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 10.0.0-M1, 9.1.3
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
> Fix For: 10.0.0-M2, 9.1.4
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Given this CDI Bean:
> @SessionScoped
> @Named
> public class MyPageBean implements Serializable {
>  @Inject private HttpServletRequest req;
> ... use the bean somewhere in EL
> }
> This will result in an exception when serializing the Session (For session
> replication or passivation): java.lang.RuntimeException:
> java.lang.RuntimeException: 
> [java.io|http://java.io/].NotSerializableException:
> org.apache.openejb.cdi.Proxys$ThreadLocalHandler
> From: [https://www.mail-archive.com/dev@tomee.apache.org/msg18097.html]
> Looking at the Proxys.java code, it contains a private static class called
> ThreadLocalHandler, that is indeed not Serializable. For fun, I made
> ThreadLocalHandler implement Serializable, but that just resulted in
> another error because ThreadLocalHandler contains a ThreadLocal field which
> is definitely not Serializable.
> ThreadLocalHandler for HttpServletRequest is invoked by
> TomcatWebappBuilder.setComponentsUsedByCDI():
> [https://github.com/apache/tomee/blob/tomee-8.x/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/TomcatWebAppBuilder.java#L358]
> I'm at a bit of a loss on how to fix this. My assumption is the
> ThreadLocalHandler was designed as a generic proxy object that defers to an
> internal ThreadLocal object. I wonder if marking the ThreadLocal as
> transient is sufficient, but I could use some input.



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


[jira] [Work logged] (TOMEE-4332) Using JAX-RS endpoints with a Spring Application fails

2024-05-15 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4332?focusedWorklogId=919535=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-919535
 ]

ASF GitHub Bot logged work on TOMEE-4332:
-

Author: ASF GitHub Bot
Created on: 15/May/24 14:51
Start Date: 15/May/24 14:51
Worklog Time Spent: 10m 
  Work Description: jgallimore commented on PR #1131:
URL: https://github.com/apache/tomee/pull/1131#issuecomment-2112758892

   Started a thread on the CXF dev list to see if there is a more elegant 
solution: https://lists.apache.org/thread/coxrst45zm8gqmf1hhx5g7bqzbsldkhh




Issue Time Tracking
---

Worklog Id: (was: 919535)
Time Spent: 40m  (was: 0.5h)

> Using JAX-RS endpoints with a Spring Application fails
> --
>
> Key: TOMEE-4332
> URL: https://issues.apache.org/jira/browse/TOMEE-4332
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 9.1.3
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
> Fix For: 10.0.0-M2, 9.1.4
>
> Attachments: demo.tar.gz
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Consider a Spring application that uses Spring Web MVC, and also makes use of 
> JAX-RS endpoints using CXF in TomEE (reproducer attached).
> In TomEE 9.1.3, invoking the JAX-RS endpoint will fail with the following 
> exception:
>  
> java.lang.NoClassDefFoundError: 
> org/springframework/web/filter/ServerHttpObservationFilter
>     at 
> org.apache.cxf.jaxrs.springmvc.SpringWebUtils.setHttpRequestURI(SpringWebUtils.java:51)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.utils.HttpUtils.setHttpRequestURI(HttpUtils.java:380) 
> ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.setExchangeProperties(JAXRSInInterceptor.java:246)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:183)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:78)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)
>  ~[cxf-rt-transports-http-4.0.4.jar:4.0.4]
>     at 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.doInvoke(CxfRsHttpListener.java:266)
>  ~[openejb-cxf-rs-9.1.3.jar:9.1.3]
>     at 
> org.apache.tomee.webservices.CXFJAXRSFilter.doFilter(CXFJAXRSFilter.java:99) 
> ~[tomee-jaxrs-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) 
> ~[tomcat-websocket.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.openejb.server.httpd.EEFilter.doFilter(EEFilter.java:67) 
> ~[openejb-http-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> 

[jira] [Work logged] (TOMEE-4332) Using JAX-RS endpoints with a Spring Application fails

2024-05-15 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4332?focusedWorklogId=919528=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-919528
 ]

ASF GitHub Bot logged work on TOMEE-4332:
-

Author: ASF GitHub Bot
Created on: 15/May/24 14:19
Start Date: 15/May/24 14:19
Worklog Time Spent: 10m 
  Work Description: tandraschko commented on PR #1131:
URL: https://github.com/apache/tomee/pull/1131#issuecomment-2112679512

   we are on the newest CXF SNAPSHOT, doesnt it make sense to fix it there?




Issue Time Tracking
---

Worklog Id: (was: 919528)
Time Spent: 0.5h  (was: 20m)

> Using JAX-RS endpoints with a Spring Application fails
> --
>
> Key: TOMEE-4332
> URL: https://issues.apache.org/jira/browse/TOMEE-4332
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 9.1.3
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
> Fix For: 10.0.0-M2, 9.1.4
>
> Attachments: demo.tar.gz
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Consider a Spring application that uses Spring Web MVC, and also makes use of 
> JAX-RS endpoints using CXF in TomEE (reproducer attached).
> In TomEE 9.1.3, invoking the JAX-RS endpoint will fail with the following 
> exception:
>  
> java.lang.NoClassDefFoundError: 
> org/springframework/web/filter/ServerHttpObservationFilter
>     at 
> org.apache.cxf.jaxrs.springmvc.SpringWebUtils.setHttpRequestURI(SpringWebUtils.java:51)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.utils.HttpUtils.setHttpRequestURI(HttpUtils.java:380) 
> ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.setExchangeProperties(JAXRSInInterceptor.java:246)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:183)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:78)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)
>  ~[cxf-rt-transports-http-4.0.4.jar:4.0.4]
>     at 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.doInvoke(CxfRsHttpListener.java:266)
>  ~[openejb-cxf-rs-9.1.3.jar:9.1.3]
>     at 
> org.apache.tomee.webservices.CXFJAXRSFilter.doFilter(CXFJAXRSFilter.java:99) 
> ~[tomee-jaxrs-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) 
> ~[tomcat-websocket.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.openejb.server.httpd.EEFilter.doFilter(EEFilter.java:67) 
> ~[openejb-http-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  

[jira] [Work logged] (TOMEE-4332) Using JAX-RS endpoints with a Spring Application fails

2024-05-15 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4332?focusedWorklogId=919481=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-919481
 ]

ASF GitHub Bot logged work on TOMEE-4332:
-

Author: ASF GitHub Bot
Created on: 15/May/24 10:50
Start Date: 15/May/24 10:50
Worklog Time Spent: 10m 
  Work Description: jgallimore opened a new pull request, #1131:
URL: https://github.com/apache/tomee/pull/1131

   (no comment)




Issue Time Tracking
---

Worklog Id: (was: 919481)
Time Spent: 20m  (was: 10m)

> Using JAX-RS endpoints with a Spring Application fails
> --
>
> Key: TOMEE-4332
> URL: https://issues.apache.org/jira/browse/TOMEE-4332
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 9.1.3
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
> Fix For: 10.0.0-M2, 9.1.4
>
> Attachments: demo.tar.gz
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Consider a Spring application that uses Spring Web MVC, and also makes use of 
> JAX-RS endpoints using CXF in TomEE (reproducer attached).
> In TomEE 9.1.3, invoking the JAX-RS endpoint will fail with the following 
> exception:
>  
> java.lang.NoClassDefFoundError: 
> org/springframework/web/filter/ServerHttpObservationFilter
>     at 
> org.apache.cxf.jaxrs.springmvc.SpringWebUtils.setHttpRequestURI(SpringWebUtils.java:51)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.utils.HttpUtils.setHttpRequestURI(HttpUtils.java:380) 
> ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.setExchangeProperties(JAXRSInInterceptor.java:246)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:183)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:78)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)
>  ~[cxf-rt-transports-http-4.0.4.jar:4.0.4]
>     at 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.doInvoke(CxfRsHttpListener.java:266)
>  ~[openejb-cxf-rs-9.1.3.jar:9.1.3]
>     at 
> org.apache.tomee.webservices.CXFJAXRSFilter.doFilter(CXFJAXRSFilter.java:99) 
> ~[tomee-jaxrs-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) 
> ~[tomcat-websocket.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.openejb.server.httpd.EEFilter.doFilter(EEFilter.java:67) 
> ~[openejb-http-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> 

[jira] [Work logged] (TOMEE-4332) Using JAX-RS endpoints with a Spring Application fails

2024-05-15 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4332?focusedWorklogId=919479=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-919479
 ]

ASF GitHub Bot logged work on TOMEE-4332:
-

Author: ASF GitHub Bot
Created on: 15/May/24 10:43
Start Date: 15/May/24 10:43
Worklog Time Spent: 10m 
  Work Description: jgallimore opened a new pull request, #1130:
URL: https://github.com/apache/tomee/pull/1130

   (no comment)




Issue Time Tracking
---

Worklog Id: (was: 919479)
Remaining Estimate: 0h
Time Spent: 10m

> Using JAX-RS endpoints with a Spring Application fails
> --
>
> Key: TOMEE-4332
> URL: https://issues.apache.org/jira/browse/TOMEE-4332
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 9.1.3
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
> Fix For: 10.0.0-M2, 9.1.4
>
> Attachments: demo.tar.gz
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Consider a Spring application that uses Spring Web MVC, and also makes use of 
> JAX-RS endpoints using CXF in TomEE (reproducer attached).
> In TomEE 9.1.3, invoking the JAX-RS endpoint will fail with the following 
> exception:
>  
> java.lang.NoClassDefFoundError: 
> org/springframework/web/filter/ServerHttpObservationFilter
>     at 
> org.apache.cxf.jaxrs.springmvc.SpringWebUtils.setHttpRequestURI(SpringWebUtils.java:51)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.utils.HttpUtils.setHttpRequestURI(HttpUtils.java:380) 
> ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.setExchangeProperties(JAXRSInInterceptor.java:246)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:183)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:78)
>  ~[cxf-rt-frontend-jaxrs-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>  ~[cxf-core-4.0.4.jar:4.0.4]
>     at 
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)
>  ~[cxf-rt-transports-http-4.0.4.jar:4.0.4]
>     at 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.doInvoke(CxfRsHttpListener.java:266)
>  ~[openejb-cxf-rs-9.1.3.jar:9.1.3]
>     at 
> org.apache.tomee.webservices.CXFJAXRSFilter.doFilter(CXFJAXRSFilter.java:99) 
> ~[tomee-jaxrs-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) 
> ~[tomcat-websocket.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at org.apache.openejb.server.httpd.EEFilter.doFilter(EEFilter.java:67) 
> ~[openejb-http-9.1.3.jar:9.1.3]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
>  ~[catalina.jar:10.0.27]
>     at 
> org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
>  ~[spring-web-6.0.19.jar:6.0.19]
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185)
>  ~[catalina.jar:10.0.27]
>     at 
> 

[jira] [Work logged] (TOMEE-4113) Update to MP Metrics 5 / SmallRye Metrics 5

2024-04-25 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4113?focusedWorklogId=916352=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-916352
 ]

ASF GitHub Bot logged work on TOMEE-4113:
-

Author: ASF GitHub Bot
Created on: 25/Apr/24 09:46
Start Date: 25/Apr/24 09:46
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #972:
URL: https://github.com/apache/tomee/pull/972#issuecomment-2076790469

   Thanks @jgallimore - TCK for Metrics is good; some of the examples aren't 
compatible anymore which will be fixed with [TOMEE-4329 - Fix Metrics examples 
to comply with Metrics 5](https://issues.apache.org/jira/browse/TOMEE-4329)




Issue Time Tracking
---

Worklog Id: (was: 916352)
Time Spent: 1h 20m  (was: 1h 10m)

> Update to MP Metrics 5 / SmallRye Metrics 5
> ---
>
> Key: TOMEE-4113
> URL: https://issues.apache.org/jira/browse/TOMEE-4113
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 10.0.0-M1
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
> Fix For: 10.0.0-M2
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> This is a work in progress I have had for a while. TomEE can use SmallRye 
> Metrics 5, and pass the MicroProfile metrics TCK with it.



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


[jira] [Work logged] (TOMEE-4113) Update to MP Metrics 5 / SmallRye Metrics 5

2024-04-25 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4113?focusedWorklogId=916351=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-916351
 ]

ASF GitHub Bot logged work on TOMEE-4113:
-

Author: ASF GitHub Bot
Created on: 25/Apr/24 09:45
Start Date: 25/Apr/24 09:45
Worklog Time Spent: 10m 
  Work Description: rzo1 merged PR #972:
URL: https://github.com/apache/tomee/pull/972




Issue Time Tracking
---

Worklog Id: (was: 916351)
Time Spent: 1h 10m  (was: 1h)

> Update to MP Metrics 5 / SmallRye Metrics 5
> ---
>
> Key: TOMEE-4113
> URL: https://issues.apache.org/jira/browse/TOMEE-4113
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 10.0.0-M1
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> This is a work in progress I have had for a while. TomEE can use SmallRye 
> Metrics 5, and pass the MicroProfile metrics TCK with it.



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


[jira] [Work logged] (TOMEE-4113) Update to MP Metrics 5 / SmallRye Metrics 5

2024-04-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4113?focusedWorklogId=916048=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-916048
 ]

ASF GitHub Bot logged work on TOMEE-4113:
-

Author: ASF GitHub Bot
Created on: 23/Apr/24 13:36
Start Date: 23/Apr/24 13:36
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #972:
URL: https://github.com/apache/tomee/pull/972#issuecomment-2072343672

   @jgallimore @tandraschko I expect the PR CI build to be green now, so we can 
move ahead with integrating this great PR into "main". TCK is passing (aside 
from 3 tests, which are **optional**) - therefore, I marked them as excluded 
(for now)




Issue Time Tracking
---

Worklog Id: (was: 916048)
Time Spent: 1h  (was: 50m)

> Update to MP Metrics 5 / SmallRye Metrics 5
> ---
>
> Key: TOMEE-4113
> URL: https://issues.apache.org/jira/browse/TOMEE-4113
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 10.0.0-M1
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> This is a work in progress I have had for a while. TomEE can use SmallRye 
> Metrics 5, and pass the MicroProfile metrics TCK with it.



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


[jira] [Work logged] (TOMEE-4166) Jakarta RESTFul Web Services TCK

2024-04-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4166?focusedWorklogId=915974=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-915974
 ]

ASF GitHub Bot logged work on TOMEE-4166:
-

Author: ASF GitHub Bot
Created on: 23/Apr/24 07:13
Start Date: 23/Apr/24 07:13
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #1063:
URL: https://github.com/apache/tomee/pull/1063#issuecomment-2071591900

   Thanks @Sollder1 




Issue Time Tracking
---

Worklog Id: (was: 915974)
Time Spent: 3.5h  (was: 3h 20m)

> Jakarta RESTFul Web Services TCK
> 
>
> Key: TOMEE-4166
> URL: https://issues.apache.org/jira/browse/TOMEE-4166
> Project: TomEE
>  Issue Type: Sub-task
>Reporter: David Blevins
>Priority: Major
>  Time Spent: 3.5h
>  Remaining Estimate: 0h
>
> see https://jakarta.ee/specifications/restful-ws/3.1/ for additional details 



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


[jira] [Work logged] (TOMEE-4166) Jakarta RESTFul Web Services TCK

2024-04-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4166?focusedWorklogId=915973=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-915973
 ]

ASF GitHub Bot logged work on TOMEE-4166:
-

Author: ASF GitHub Bot
Created on: 23/Apr/24 07:13
Start Date: 23/Apr/24 07:13
Worklog Time Spent: 10m 
  Work Description: rzo1 merged PR #1063:
URL: https://github.com/apache/tomee/pull/1063




Issue Time Tracking
---

Worklog Id: (was: 915973)
Time Spent: 3h 20m  (was: 3h 10m)

> Jakarta RESTFul Web Services TCK
> 
>
> Key: TOMEE-4166
> URL: https://issues.apache.org/jira/browse/TOMEE-4166
> Project: TomEE
>  Issue Type: Sub-task
>Reporter: David Blevins
>Priority: Major
>  Time Spent: 3h 20m
>  Remaining Estimate: 0h
>
> see https://jakarta.ee/specifications/restful-ws/3.1/ for additional details 



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


[jira] [Work logged] (TOMEE-4166) Jakarta RESTFul Web Services TCK

2024-04-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4166?focusedWorklogId=915757=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-915757
 ]

ASF GitHub Bot logged work on TOMEE-4166:
-

Author: ASF GitHub Bot
Created on: 22/Apr/24 07:43
Start Date: 22/Apr/24 07:43
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #1063:
URL: https://github.com/apache/tomee/pull/1063#issuecomment-2068705126

   Just running a build with the updated TCK (the 3.1.5 isn't available yet on 
Maven, raised https://github.com/jakartaee/rest/issues/1260, but if the CI 
looks fine (with the failures expected), we are going to integrate it (and 
exclude the tests for now) -> stay tuned.




Issue Time Tracking
---

Worklog Id: (was: 915757)
Time Spent: 3h 10m  (was: 3h)

> Jakarta RESTFul Web Services TCK
> 
>
> Key: TOMEE-4166
> URL: https://issues.apache.org/jira/browse/TOMEE-4166
> Project: TomEE
>  Issue Type: Sub-task
>Reporter: David Blevins
>Priority: Major
>  Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> see https://jakarta.ee/specifications/restful-ws/3.1/ for additional details 



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


[jira] [Work logged] (TOMEE-4166) Jakarta RESTFul Web Services TCK

2024-04-20 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4166?focusedWorklogId=915684=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-915684
 ]

ASF GitHub Bot logged work on TOMEE-4166:
-

Author: ASF GitHub Bot
Created on: 20/Apr/24 16:24
Start Date: 20/Apr/24 16:24
Worklog Time Spent: 10m 
  Work Description: Sollder11 commented on PR #1063:
URL: https://github.com/apache/tomee/pull/1063#issuecomment-2067721440

   > We are a container env, so I guess it's save to exclude ;-)
   
   I would agree, I excluded the test with a matching explanation.
   I also exluded the tck-sig-test for now, as it breaks the build.
   
   
   That leaves four Failures:
   
   
   ```
   [ERROR] Failures: 
   [ERROR]   
JAXRSClientIT.sseBroadcastTest:193->JAXRSCommonClient.assertEquals:721 
[Ljava.lang.Object;@38c460e8 ==> expected:  but was: 
   [ERROR]   
JAXRSClientIT.dynamicFeatureIsRegisteredTest:111->JAXRSCommonClient.assertEquals:721
 [Ljava.lang.Object;@4a31ed12 ==> expected:  but was: 
   [ERROR]   
JAXRSClientIT.featureIsRegisteredTest:93->JAXRSCommonClient.assertEquals:721 
[Ljava.lang.Object;@5b8853 ==> expected:  but was: 
   [ERROR]   
JsonbContextProviderIT.shouldUseApplicationProvidedJsonbInstance:115 
   Expected: is 
"Origin(736163598),CustomSerializer(CLIENT),CustomDeserializer(SERVER),EchoResource,CustomSerializer(SERVER),CustomDeserializer(CLIENT)"
but: was 
"Origin(736163598),CustomSerializer(CLIENT),CustomDeserializer(CLIENT),EchoResource,CustomSerializer(CLIENT),CustomDeserializer(CLIENT)"
   [INFO] 
   [ERROR] Tests run: 2788, Failures: 4, Errors: 0, Skipped: 128
   ```
   
   




Issue Time Tracking
---

Worklog Id: (was: 915684)
Time Spent: 3h  (was: 2h 50m)

> Jakarta RESTFul Web Services TCK
> 
>
> Key: TOMEE-4166
> URL: https://issues.apache.org/jira/browse/TOMEE-4166
> Project: TomEE
>  Issue Type: Sub-task
>Reporter: David Blevins
>Priority: Major
>  Time Spent: 3h
>  Remaining Estimate: 0h
>
> see https://jakarta.ee/specifications/restful-ws/3.1/ for additional details 



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


[jira] [Work logged] (TOMEE-4166) Jakarta RESTFul Web Services TCK

2024-04-20 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4166?focusedWorklogId=915682=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-915682
 ]

ASF GitHub Bot logged work on TOMEE-4166:
-

Author: ASF GitHub Bot
Created on: 20/Apr/24 15:41
Start Date: 20/Apr/24 15:41
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #1063:
URL: https://github.com/apache/tomee/pull/1063#issuecomment-2067711072

   We are a container env, so I guess it's save to exclude ;-)




Issue Time Tracking
---

Worklog Id: (was: 915682)
Time Spent: 2h 50m  (was: 2h 40m)

> Jakarta RESTFul Web Services TCK
> 
>
> Key: TOMEE-4166
> URL: https://issues.apache.org/jira/browse/TOMEE-4166
> Project: TomEE
>  Issue Type: Sub-task
>Reporter: David Blevins
>Priority: Major
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> see https://jakarta.ee/specifications/restful-ws/3.1/ for additional details 



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


[jira] [Work logged] (TOMEE-4166) Jakarta RESTFul Web Services TCK

2024-04-20 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4166?focusedWorklogId=915681=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-915681
 ]

ASF GitHub Bot logged work on TOMEE-4166:
-

Author: ASF GitHub Bot
Created on: 20/Apr/24 15:37
Start Date: 20/Apr/24 15:37
Worklog Time Spent: 10m 
  Work Description: Sollder11 commented on PR #1063:
URL: https://github.com/apache/tomee/pull/1063#issuecomment-2067709937

   Results are pretty much the same, for the matter of SeBootstrap it states in 
the jdoc:
   
   > The SeBootstrap class is available in a Jakarta EE container environment 
as well; however, support for the Java SE bootstrapping APIs is **_not 
required_** in container environments.
   
   So I am not really sure if we even need to support these tests. I think I 
will dig a bit in the specifaction about that.
   
   
   
   




Issue Time Tracking
---

Worklog Id: (was: 915681)
Time Spent: 2h 40m  (was: 2.5h)

> Jakarta RESTFul Web Services TCK
> 
>
> Key: TOMEE-4166
> URL: https://issues.apache.org/jira/browse/TOMEE-4166
> Project: TomEE
>  Issue Type: Sub-task
>Reporter: David Blevins
>Priority: Major
>  Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> see https://jakarta.ee/specifications/restful-ws/3.1/ for additional details 



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


[jira] [Work logged] (TOMEE-4166) Jakarta RESTFul Web Services TCK

2024-04-20 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4166?focusedWorklogId=915678=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-915678
 ]

ASF GitHub Bot logged work on TOMEE-4166:
-

Author: ASF GitHub Bot
Created on: 20/Apr/24 15:12
Start Date: 20/Apr/24 15:12
Worklog Time Spent: 10m 
  Work Description: Sollder11 commented on PR #1063:
URL: https://github.com/apache/tomee/pull/1063#issuecomment-2067703137

   > I am bascially thinking of adding the failing tests into exclusions (for 
now) and open related Jira issues for it, so we get the setup into "main" 
pretty soon.
   
   Ok cool, I just rebased and running the tests again.
   It seems the Signature Tests Module Fails now, but that was not set up 
correctly anyway, I believe.




Issue Time Tracking
---

Worklog Id: (was: 915678)
Time Spent: 2.5h  (was: 2h 20m)

> Jakarta RESTFul Web Services TCK
> 
>
> Key: TOMEE-4166
> URL: https://issues.apache.org/jira/browse/TOMEE-4166
> Project: TomEE
>  Issue Type: Sub-task
>Reporter: David Blevins
>Priority: Major
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> see https://jakarta.ee/specifications/restful-ws/3.1/ for additional details 



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


[jira] [Work logged] (TOMEE-4166) Jakarta RESTFul Web Services TCK

2024-04-20 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4166?focusedWorklogId=915674=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-915674
 ]

ASF GitHub Bot logged work on TOMEE-4166:
-

Author: ASF GitHub Bot
Created on: 20/Apr/24 14:10
Start Date: 20/Apr/24 14:10
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #1063:
URL: https://github.com/apache/tomee/pull/1063#issuecomment-2067685958

   I am bascially thinking of adding the failing tests into exclusions (for 
now) and open related Jira issues for it, so we get the setup into "main" 
pretty soon.




Issue Time Tracking
---

Worklog Id: (was: 915674)
Time Spent: 2h 20m  (was: 2h 10m)

> Jakarta RESTFul Web Services TCK
> 
>
> Key: TOMEE-4166
> URL: https://issues.apache.org/jira/browse/TOMEE-4166
> Project: TomEE
>  Issue Type: Sub-task
>Reporter: David Blevins
>Priority: Major
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> see https://jakarta.ee/specifications/restful-ws/3.1/ for additional details 



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


[jira] [Work logged] (TOMEE-4166) Jakarta RESTFul Web Services TCK

2024-04-20 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4166?focusedWorklogId=915673=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-915673
 ]

ASF GitHub Bot logged work on TOMEE-4166:
-

Author: ASF GitHub Bot
Created on: 20/Apr/24 14:09
Start Date: 20/Apr/24 14:09
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #1063:
URL: https://github.com/apache/tomee/pull/1063#issuecomment-2067685493

   Can you do a rebase of your branch? `main` is now on cxf 4.1.x + Java 17 
baseline (with all fixes needed for it). I will have a look at the TCK next.




Issue Time Tracking
---

Worklog Id: (was: 915673)
Time Spent: 2h 10m  (was: 2h)

> Jakarta RESTFul Web Services TCK
> 
>
> Key: TOMEE-4166
> URL: https://issues.apache.org/jira/browse/TOMEE-4166
> Project: TomEE
>  Issue Type: Sub-task
>Reporter: David Blevins
>Priority: Major
>  Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> see https://jakarta.ee/specifications/restful-ws/3.1/ for additional details 



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


[jira] [Work logged] (TOMEE-4319) CXF 4.1.0-SNAPSHOT

2024-04-20 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4319?focusedWorklogId=915671=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-915671
 ]

ASF GitHub Bot logged work on TOMEE-4319:
-

Author: ASF GitHub Bot
Created on: 20/Apr/24 14:07
Start Date: 20/Apr/24 14:07
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #1121:
URL: https://github.com/apache/tomee/pull/1121#issuecomment-2067685048

   CXF fixed it and our CI is happy about it: 
https://ci-builds.apache.org/job/Tomee/job/pull-request-manual/91/




Issue Time Tracking
---

Worklog Id: (was: 915671)
Time Spent: 0.5h  (was: 20m)

> CXF 4.1.0-SNAPSHOT
> --
>
> Key: TOMEE-4319
> URL: https://issues.apache.org/jira/browse/TOMEE-4319
> Project: TomEE
>  Issue Type: Dependency upgrade
>Reporter: Richard Zowalla
>Assignee: Richard Zowalla
>Priority: Major
> Fix For: 10.0.0-M2
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> There is a SNAPSHOT available now, so we should try it.



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


[jira] [Work logged] (TOMEE-4319) CXF 4.1.0-SNAPSHOT

2024-04-20 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4319?focusedWorklogId=915672=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-915672
 ]

ASF GitHub Bot logged work on TOMEE-4319:
-

Author: ASF GitHub Bot
Created on: 20/Apr/24 14:07
Start Date: 20/Apr/24 14:07
Worklog Time Spent: 10m 
  Work Description: rzo1 merged PR #1121:
URL: https://github.com/apache/tomee/pull/1121




Issue Time Tracking
---

Worklog Id: (was: 915672)
Time Spent: 40m  (was: 0.5h)

> CXF 4.1.0-SNAPSHOT
> --
>
> Key: TOMEE-4319
> URL: https://issues.apache.org/jira/browse/TOMEE-4319
> Project: TomEE
>  Issue Type: Dependency upgrade
>Reporter: Richard Zowalla
>Assignee: Richard Zowalla
>Priority: Major
> Fix For: 10.0.0-M2
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> There is a SNAPSHOT available now, so we should try it.



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


[jira] [Work logged] (TOMEE-4319) CXF 4.1.0-SNAPSHOT

2024-04-19 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4319?focusedWorklogId=915488=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-915488
 ]

ASF GitHub Bot logged work on TOMEE-4319:
-

Author: ASF GitHub Bot
Created on: 19/Apr/24 08:00
Start Date: 19/Apr/24 08:00
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #1121:
URL: https://github.com/apache/tomee/pull/1121#issuecomment-2066028447

   Overall CI looks good. We have one failing JWT-related TCK test, which is 
related to a change in CXF 4.1.x -> https://github.com/apache/cxf/pull/1822




Issue Time Tracking
---

Worklog Id: (was: 915488)
Time Spent: 20m  (was: 10m)

> CXF 4.1.0-SNAPSHOT
> --
>
> Key: TOMEE-4319
> URL: https://issues.apache.org/jira/browse/TOMEE-4319
> Project: TomEE
>  Issue Type: Dependency upgrade
>Reporter: Richard Zowalla
>Assignee: Richard Zowalla
>Priority: Major
> Fix For: 10.0.0-M2
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> There is a SNAPSHOT available now, so we should try it.



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


[jira] [Work logged] (TOMEE-4319) CXF 4.1.0-SNAPSHOT

2024-04-16 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4319?focusedWorklogId=914979=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-914979
 ]

ASF GitHub Bot logged work on TOMEE-4319:
-

Author: ASF GitHub Bot
Created on: 16/Apr/24 19:29
Start Date: 16/Apr/24 19:29
Worklog Time Spent: 10m 
  Work Description: rzo1 opened a new pull request, #1121:
URL: https://github.com/apache/tomee/pull/1121

   CI build running ...




Issue Time Tracking
---

Worklog Id: (was: 914979)
Remaining Estimate: 0h
Time Spent: 10m

> CXF 4.1.0-SNAPSHOT
> --
>
> Key: TOMEE-4319
> URL: https://issues.apache.org/jira/browse/TOMEE-4319
> Project: TomEE
>  Issue Type: Dependency upgrade
>Reporter: Richard Zowalla
>Assignee: Richard Zowalla
>Priority: Major
> Fix For: 10.0.0-M2
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> There is a SNAPSHOT available now, so we should try it.



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


[jira] [Work logged] (TOMEE-4318) Switch Java Baseline to 17

2024-04-16 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4318?focusedWorklogId=914976=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-914976
 ]

ASF GitHub Bot logged work on TOMEE-4318:
-

Author: ASF GitHub Bot
Created on: 16/Apr/24 18:56
Start Date: 16/Apr/24 18:56
Worklog Time Spent: 10m 
  Work Description: rzo1 merged PR #1120:
URL: https://github.com/apache/tomee/pull/1120




Issue Time Tracking
---

Worklog Id: (was: 914976)
Time Spent: 40m  (was: 0.5h)

> Switch Java Baseline to 17
> --
>
> Key: TOMEE-4318
> URL: https://issues.apache.org/jira/browse/TOMEE-4318
> Project: TomEE
>  Issue Type: Task
>Reporter: Richard Zowalla
>Assignee: Richard Zowalla
>Priority: Major
> Fix For: 10.0.0-M2
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> CXF 4.1.x will be Java 17, ActiveMQ 6.1.0 (JMS 3) is already Java 17 -> we 
> are forced to make this move as well.



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


[jira] [Work logged] (TOMEE-4166) Jakarta RESTFul Web Services TCK

2024-04-16 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4166?focusedWorklogId=914975=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-914975
 ]

ASF GitHub Bot logged work on TOMEE-4166:
-

Author: ASF GitHub Bot
Created on: 16/Apr/24 18:54
Start Date: 16/Apr/24 18:54
Worklog Time Spent: 10m 
  Work Description: Sollder11 commented on PR #1063:
URL: https://github.com/apache/tomee/pull/1063#issuecomment-2059735942

   It seems like the guys from cxf have a 4.1.0-SNAPSHOT build and deployed 
here: 
https://repository.apache.org/content/groups/public/org/apache/cxf/cxf-core/4.1.0-SNAPSHOT/
   
   It seems they have Java17 as a baseline now, so I pulled up the baseline 
here too.
   
   I just ran the tests again and nothing changed yet.




Issue Time Tracking
---

Worklog Id: (was: 914975)
Time Spent: 2h  (was: 1h 50m)

> Jakarta RESTFul Web Services TCK
> 
>
> Key: TOMEE-4166
> URL: https://issues.apache.org/jira/browse/TOMEE-4166
> Project: TomEE
>  Issue Type: Sub-task
>Reporter: David Blevins
>Priority: Major
>  Time Spent: 2h
>  Remaining Estimate: 0h
>
> see https://jakarta.ee/specifications/restful-ws/3.1/ for additional details 



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


[jira] [Work logged] (TOMEE-4318) Switch Java Baseline to 17

2024-04-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4318?focusedWorklogId=914503=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-914503
 ]

ASF GitHub Bot logged work on TOMEE-4318:
-

Author: ASF GitHub Bot
Created on: 13/Apr/24 18:41
Start Date: 13/Apr/24 18:41
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on code in PR #1120:
URL: https://github.com/apache/tomee/pull/1120#discussion_r1564188578


##
container/openejb-loader/src/main/java/org/apache/openejb/loader/Embedder.java:
##
@@ -105,6 +105,7 @@ private Class forcefulLoad(final ClassPath classPath, final 
ClassLoader classLoa
 }
 classPath.addJarsToPath(libsDir);
 } catch (final Exception e2) {
+e2.printStackTrace();

Review Comment:
   yes





Issue Time Tracking
---

Worklog Id: (was: 914503)
Time Spent: 0.5h  (was: 20m)

> Switch Java Baseline to 17
> --
>
> Key: TOMEE-4318
> URL: https://issues.apache.org/jira/browse/TOMEE-4318
> Project: TomEE
>  Issue Type: Task
>Reporter: Richard Zowalla
>Assignee: Richard Zowalla
>Priority: Major
> Fix For: 10.0.0-M2
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> CXF 4.1.x will be Java 17, ActiveMQ 6.1.0 (JMS 3) is already Java 17 -> we 
> are forced to make this move as well.



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


[jira] [Work logged] (TOMEE-4318) Switch Java Baseline to 17

2024-04-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4318?focusedWorklogId=914501=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-914501
 ]

ASF GitHub Bot logged work on TOMEE-4318:
-

Author: ASF GitHub Bot
Created on: 13/Apr/24 18:37
Start Date: 13/Apr/24 18:37
Worklog Time Spent: 10m 
  Work Description: jungm commented on code in PR #1120:
URL: https://github.com/apache/tomee/pull/1120#discussion_r1564185144


##
tomee/tomee-webaccess/pom.xml:
##
@@ -42,6 +42,19 @@
 true
   
 
+
+  jdk15+
+  
+[15,)

Review Comment:
   imo no reason to hide this dependency inside of a profile if the compile 
level is raised to 17 (also applies to java11plus profile above)



##
container/openejb-loader/src/main/java/org/apache/openejb/loader/Embedder.java:
##
@@ -105,6 +105,7 @@ private Class forcefulLoad(final ClassPath classPath, final 
ClassLoader classLoa
 }
 classPath.addJarsToPath(libsDir);
 } catch (final Exception e2) {
+e2.printStackTrace();

Review Comment:
   Probably unwanted?





Issue Time Tracking
---

Worklog Id: (was: 914501)
Time Spent: 20m  (was: 10m)

> Switch Java Baseline to 17
> --
>
> Key: TOMEE-4318
> URL: https://issues.apache.org/jira/browse/TOMEE-4318
> Project: TomEE
>  Issue Type: Task
>Reporter: Richard Zowalla
>Assignee: Richard Zowalla
>Priority: Major
> Fix For: 10.0.0-M2
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> CXF 4.1.x will be Java 17, ActiveMQ 6.1.0 (JMS 3) is already Java 17 -> we 
> are forced to make this move as well.



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


[jira] [Work logged] (TOMEE-4318) Switch Java Baseline to 17

2024-04-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4318?focusedWorklogId=914500=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-914500
 ]

ASF GitHub Bot logged work on TOMEE-4318:
-

Author: ASF GitHub Bot
Created on: 13/Apr/24 18:23
Start Date: 13/Apr/24 18:23
Worklog Time Spent: 10m 
  Work Description: rzo1 opened a new pull request, #1120:
URL: https://github.com/apache/tomee/pull/1120

   - https://issues.apache.org/jira/browse/TOMEE-4318
   - https://issues.apache.org/jira/browse/TOMEE-4317
   
   -> https://ci-builds.apache.org/job/Tomee/job/pull-request-manual/84/




Issue Time Tracking
---

Worklog Id: (was: 914500)
Remaining Estimate: 0h
Time Spent: 10m

> Switch Java Baseline to 17
> --
>
> Key: TOMEE-4318
> URL: https://issues.apache.org/jira/browse/TOMEE-4318
> Project: TomEE
>  Issue Type: Task
>Reporter: Richard Zowalla
>Assignee: Richard Zowalla
>Priority: Major
> Fix For: 10.0.0-M2
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> CXF 4.1.x will be Java 17, ActiveMQ 6.1.0 (JMS 3) is already Java 17 -> we 
> are forced to make this move as well.



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


[jira] [Work logged] (TOMEE-4305) Backport fix for CVE-2024-23672 for TomEE 9.x

2024-03-27 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4305?focusedWorklogId=911812=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-911812
 ]

ASF GitHub Bot logged work on TOMEE-4305:
-

Author: ASF GitHub Bot
Created on: 27/Mar/24 12:42
Start Date: 27/Mar/24 12:42
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #1114:
URL: https://github.com/apache/tomee/pull/1114#issuecomment-2022673537

   Most likely to just ignore signature tests 




Issue Time Tracking
---

Worklog Id: (was: 911812)
Time Spent: 2h 20m  (was: 2h 10m)

> Backport fix for CVE-2024-23672 for TomEE 9.x
> -
>
> Key: TOMEE-4305
> URL: https://issues.apache.org/jira/browse/TOMEE-4305
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 9.1.2
>Reporter: Frank Jung
>Assignee: Richard Zowalla
>Priority: Major
> Fix For: 9.1.3
>
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>




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


[jira] [Work logged] (TOMEE-4305) Backport fix for CVE-2024-23672 for TomEE 9.x

2024-03-27 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4305?focusedWorklogId=911808=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-911808
 ]

ASF GitHub Bot logged work on TOMEE-4305:
-

Author: ASF GitHub Bot
Created on: 27/Mar/24 12:30
Start Date: 27/Mar/24 12:30
Worklog Time Spent: 10m 
  Work Description: rmannibucau commented on PR #1114:
URL: https://github.com/apache/tomee/pull/1114#issuecomment-2022649005

   If anyone interested there is a thread started today on tomcat list to see 
if we can get a 10.0.
   Not very confident it will end up on something but having a certifiable 
version is probably still key for tomee so 10.1 is not yet an option - will be 
hopefully.
   That said we can certainly request an exception to certify v9 with servlet 6 
instead of 5 - guess it is possible with some warnings?




Issue Time Tracking
---

Worklog Id: (was: 911808)
Time Spent: 2h 10m  (was: 2h)

> Backport fix for CVE-2024-23672 for TomEE 9.x
> -
>
> Key: TOMEE-4305
> URL: https://issues.apache.org/jira/browse/TOMEE-4305
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 9.1.2
>Reporter: Frank Jung
>Assignee: Richard Zowalla
>Priority: Major
> Fix For: 9.1.3
>
>  Time Spent: 2h 10m
>  Remaining Estimate: 0h
>




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


[jira] [Work logged] (TOMEE-4305) Backport fix for CVE-2024-23672 for TomEE 9.x

2024-03-27 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4305?focusedWorklogId=911806=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-911806
 ]

ASF GitHub Bot logged work on TOMEE-4305:
-

Author: ASF GitHub Bot
Created on: 27/Mar/24 12:26
Start Date: 27/Mar/24 12:26
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #1114:
URL: https://github.com/apache/tomee/pull/1114#issuecomment-2022643821

   Yup, I agree in principal. But, this discussion needs to be started on the 
dev list. If you like, you can start the discussion there. Meanwhile, I started 
some tests with 9.x with 10.1.x to see  TCK Impact :-)




Issue Time Tracking
---

Worklog Id: (was: 911806)
Time Spent: 2h  (was: 1h 50m)

> Backport fix for CVE-2024-23672 for TomEE 9.x
> -
>
> Key: TOMEE-4305
> URL: https://issues.apache.org/jira/browse/TOMEE-4305
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 9.1.2
>Reporter: Frank Jung
>Assignee: Richard Zowalla
>Priority: Major
> Fix For: 9.1.3
>
>  Time Spent: 2h
>  Remaining Estimate: 0h
>




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


[jira] [Work logged] (TOMEE-4305) Backport fix for CVE-2024-23672 for TomEE 9.x

2024-03-27 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4305?focusedWorklogId=911805=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-911805
 ]

ASF GitHub Bot logged work on TOMEE-4305:
-

Author: ASF GitHub Bot
Created on: 27/Mar/24 12:20
Start Date: 27/Mar/24 12:20
Worklog Time Spent: 10m 
  Work Description: gerdogdu commented on PR #1114:
URL: https://github.com/apache/tomee/pull/1114#issuecomment-2022633477

   > @gerdogdu We only port CVE related things atm. It is sad, that Tomcat 
stopped maintaining 10.0.27, so we just cannot backport every bug fix, change, 
feature, which was added since 10.0.27 (resources, time, etc.). There are 
plenty of differences in (older) patch files between newer Tomcat releases. 
Feel free to start a discussion on the mailing list, if we want to drop TCK 
compliance and just upgrade to 10.1.x on the TomEE 9.1.x line. That way, we 
could just stop porting patches for an ancient piece of unmaintained software.
   
   I think we should focus on the using latest Tomcat 10 release instead of 
only gets CVE patches, it is so absurd. How do you ensure that getting only CVE 
patches not break the old Tomcat APIs? 
   
   EE 9 is a intermediate release with API change. I think we should drop TCK 
compatibility for 9 and look TCK compatibility for EE 10. 
   




Issue Time Tracking
---

Worklog Id: (was: 911805)
Time Spent: 1h 50m  (was: 1h 40m)

> Backport fix for CVE-2024-23672 for TomEE 9.x
> -
>
> Key: TOMEE-4305
> URL: https://issues.apache.org/jira/browse/TOMEE-4305
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 9.1.2
>Reporter: Frank Jung
>Assignee: Richard Zowalla
>Priority: Major
> Fix For: 9.1.3
>
>  Time Spent: 1h 50m
>  Remaining Estimate: 0h
>




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


[jira] [Work logged] (TOMEE-4305) Backport fix for CVE-2024-23672 for TomEE 9.x

2024-03-27 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4305?focusedWorklogId=911767=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-911767
 ]

ASF GitHub Bot logged work on TOMEE-4305:
-

Author: ASF GitHub Bot
Created on: 27/Mar/24 09:01
Start Date: 27/Mar/24 09:01
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #1114:
URL: https://github.com/apache/tomee/pull/1114#issuecomment-2022253540

   I might find some time in the upcoming weeks to investigate, if we can 
upgrade without hurting the 9.1 tck ;-)




Issue Time Tracking
---

Worklog Id: (was: 911767)
Time Spent: 1h 40m  (was: 1.5h)

> Backport fix for CVE-2024-23672 for TomEE 9.x
> -
>
> Key: TOMEE-4305
> URL: https://issues.apache.org/jira/browse/TOMEE-4305
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 9.1.2
>Reporter: Frank Jung
>Assignee: Richard Zowalla
>Priority: Major
> Fix For: 9.1.3
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>




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


[jira] [Work logged] (TOMEE-4305) Backport fix for CVE-2024-23672 for TomEE 9.x

2024-03-27 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4305?focusedWorklogId=911764=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-911764
 ]

ASF GitHub Bot logged work on TOMEE-4305:
-

Author: ASF GitHub Bot
Created on: 27/Mar/24 08:35
Start Date: 27/Mar/24 08:35
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #1114:
URL: https://github.com/apache/tomee/pull/1114#issuecomment-2022208663

   @gerdogdu We only port CVE related things atm. It is sad, that Tomcat 
stopped maintaining 10.0.27, so we just cannot backport every bug fix, change, 
feature, which was added since 10.0.27 (resources, time, etc.). There are 
plenty of differences in (older) patch files between newer Tomcat releases. 
Feel free to start a discussion on the mailing list, if we want to drop TCK 
compliance and just upgrade to 10.1.x on the TomEE 9.1.x line. That way, we 
could just stop porting patches for an ancient piece of unmaintained software.




Issue Time Tracking
---

Worklog Id: (was: 911764)
Time Spent: 1.5h  (was: 1h 20m)

> Backport fix for CVE-2024-23672 for TomEE 9.x
> -
>
> Key: TOMEE-4305
> URL: https://issues.apache.org/jira/browse/TOMEE-4305
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 9.1.2
>Reporter: Frank Jung
>Assignee: Richard Zowalla
>Priority: Major
> Fix For: 9.1.3
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>




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


[jira] [Work logged] (TOMEE-4305) Backport fix for CVE-2024-23672 for TomEE 9.x

2024-03-27 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4305?focusedWorklogId=911754=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-911754
 ]

ASF GitHub Bot logged work on TOMEE-4305:
-

Author: ASF GitHub Bot
Created on: 27/Mar/24 08:01
Start Date: 27/Mar/24 08:01
Worklog Time Spent: 10m 
  Work Description: gerdogdu commented on PR #1114:
URL: https://github.com/apache/tomee/pull/1114#issuecomment-2022159310

   @rzo1 This type of patching is really hard to follow. Needs to find a better 
way such as creating a profile for TCK which includes the patches otherwise, no 
patch needed but not TCK certified.




Issue Time Tracking
---

Worklog Id: (was: 911754)
Time Spent: 1h 20m  (was: 1h 10m)

> Backport fix for CVE-2024-23672 for TomEE 9.x
> -
>
> Key: TOMEE-4305
> URL: https://issues.apache.org/jira/browse/TOMEE-4305
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 9.1.2
>Reporter: Frank Jung
>Assignee: Richard Zowalla
>Priority: Major
> Fix For: 9.1.3
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>




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


[jira] [Work logged] (TOMEE-4305) Backport fix for CVE-2024-23672 for TomEE 9.x

2024-03-27 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4305?focusedWorklogId=911753=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-911753
 ]

ASF GitHub Bot logged work on TOMEE-4305:
-

Author: ASF GitHub Bot
Created on: 27/Mar/24 07:59
Start Date: 27/Mar/24 07:59
Worklog Time Spent: 10m 
  Work Description: gerdogdu commented on PR #1114:
URL: https://github.com/apache/tomee/pull/1114#issuecomment-2022157249

   @rzo1 what about other patch files like 
tomee/apache-tomee/src/patch/java/org/apache/catalina/servlets/DefaultServlet.java,
 this merged nearly 2 years ago?




Issue Time Tracking
---

Worklog Id: (was: 911753)
Time Spent: 1h 10m  (was: 1h)

> Backport fix for CVE-2024-23672 for TomEE 9.x
> -
>
> Key: TOMEE-4305
> URL: https://issues.apache.org/jira/browse/TOMEE-4305
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 9.1.2
>Reporter: Frank Jung
>Assignee: Richard Zowalla
>Priority: Major
> Fix For: 9.1.3
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>




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


[jira] [Work logged] (TOMEE-4307) BatchEE 1.0.4

2024-03-26 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4307?focusedWorklogId=911683=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-911683
 ]

ASF GitHub Bot logged work on TOMEE-4307:
-

Author: ASF GitHub Bot
Created on: 26/Mar/24 20:32
Start Date: 26/Mar/24 20:32
Worklog Time Spent: 10m 
  Work Description: rzo1 merged PR #1115:
URL: https://github.com/apache/tomee/pull/1115




Issue Time Tracking
---

Worklog Id: (was: 911683)
Time Spent: 20m  (was: 10m)

> BatchEE 1.0.4
> -
>
> Key: TOMEE-4307
> URL: https://issues.apache.org/jira/browse/TOMEE-4307
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 9.1.2
>Reporter: Richard Zowalla
>Assignee: Richard Zowalla
>Priority: Major
> Fix For: 10.0.0-M1, 9.1.3
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Upgrade / downgrade BatchEE to 1.0.4 once released to be able to proceed with 
> 10.0.0-M1 (chicken egg issue)



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


[jira] [Work logged] (TOMEE-4305) Backport fix for CVE-2024-23672 for TomEE 9.x

2024-03-26 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4305?focusedWorklogId=911654=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-911654
 ]

ASF GitHub Bot logged work on TOMEE-4305:
-

Author: ASF GitHub Bot
Created on: 26/Mar/24 17:59
Start Date: 26/Mar/24 17:59
Worklog Time Spent: 10m 
  Work Description: rzo1 merged PR #1114:
URL: https://github.com/apache/tomee/pull/1114




Issue Time Tracking
---

Worklog Id: (was: 911654)
Time Spent: 1h  (was: 50m)

> Backport fix for CVE-2024-23672 for TomEE 9.x
> -
>
> Key: TOMEE-4305
> URL: https://issues.apache.org/jira/browse/TOMEE-4305
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 9.1.2
>Reporter: Frank Jung
>Priority: Major
>  Time Spent: 1h
>  Remaining Estimate: 0h
>




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


[jira] [Work logged] (TOMEE-4307) BatchEE 1.0.4

2024-03-25 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4307?focusedWorklogId=911327=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-911327
 ]

ASF GitHub Bot logged work on TOMEE-4307:
-

Author: ASF GitHub Bot
Created on: 25/Mar/24 16:21
Start Date: 25/Mar/24 16:21
Worklog Time Spent: 10m 
  Work Description: rzo1 opened a new pull request, #1115:
URL: https://github.com/apache/tomee/pull/1115

   as the title says
   
   required to workaround cdi-4 issues in older relocated artifact of batchee + 
will fix chicken egg issue with batchee 2 ;-)




Issue Time Tracking
---

Worklog Id: (was: 911327)
Remaining Estimate: 0h
Time Spent: 10m

> BatchEE 1.0.4
> -
>
> Key: TOMEE-4307
> URL: https://issues.apache.org/jira/browse/TOMEE-4307
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 9.1.2
>Reporter: Richard Zowalla
>Assignee: Richard Zowalla
>Priority: Major
> Fix For: 10.0.0, 9.1.3
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Upgrade / downgrade BatchEE to 1.0.4 once released to be able to proceed with 
> 10.0.0-M1 (chicken egg issue)



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


[jira] [Work logged] (TOMEE-4305) Backport fix for CVE-2024-23672 for TomEE 9.x

2024-03-25 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4305?focusedWorklogId=911279=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-911279
 ]

ASF GitHub Bot logged work on TOMEE-4305:
-

Author: ASF GitHub Bot
Created on: 25/Mar/24 12:50
Start Date: 25/Mar/24 12:50
Worklog Time Spent: 10m 
  Work Description: jungm commented on PR #1114:
URL: https://github.com/apache/tomee/pull/1114#issuecomment-2017932312

   Absolutely fine for me as well, it just stood out to me




Issue Time Tracking
---

Worklog Id: (was: 911279)
Time Spent: 50m  (was: 40m)

> Backport fix for CVE-2024-23672 for TomEE 9.x
> -
>
> Key: TOMEE-4305
> URL: https://issues.apache.org/jira/browse/TOMEE-4305
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 9.1.2
>Reporter: Frank Jung
>Priority: Major
>  Time Spent: 50m
>  Remaining Estimate: 0h
>




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


[jira] [Work logged] (TOMEE-4305) Backport fix for CVE-2024-23672 for TomEE 9.x

2024-03-25 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4305?focusedWorklogId=911278=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-911278
 ]

ASF GitHub Bot logged work on TOMEE-4305:
-

Author: ASF GitHub Bot
Created on: 25/Mar/24 12:40
Start Date: 25/Mar/24 12:40
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #1114:
URL: https://github.com/apache/tomee/pull/1114#issuecomment-2017914839

   Yes. I did copy more than the fix as this class was subject of heavy changes 
in 10.1.x - I think, it was ok to do so, but open to opinions.




Issue Time Tracking
---

Worklog Id: (was: 911278)
Time Spent: 40m  (was: 0.5h)

> Backport fix for CVE-2024-23672 for TomEE 9.x
> -
>
> Key: TOMEE-4305
> URL: https://issues.apache.org/jira/browse/TOMEE-4305
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 9.1.2
>Reporter: Frank Jung
>Priority: Major
>  Time Spent: 40m
>  Remaining Estimate: 0h
>




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


[jira] [Work logged] (TOMEE-4305) Backport fix for CVE-2024-23672 for TomEE 9.x

2024-03-25 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4305?focusedWorklogId=911274=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-911274
 ]

ASF GitHub Bot logged work on TOMEE-4305:
-

Author: ASF GitHub Bot
Created on: 25/Mar/24 12:00
Start Date: 25/Mar/24 12:00
Worklog Time Spent: 10m 
  Work Description: jungm commented on PR #1114:
URL: https://github.com/apache/tomee/pull/1114#issuecomment-2017846472

   The diff of `WsSession.java` in 
https://github.com/apache/tomee/pull/1114/commits/5420188ed2263e2dec491d29d049f21155d28252#diff-7d73ff8a9a8066d1da614c448a86924480535b514e50a137600675316464354d
 is a lot larger than the one in 
https://github.com/apache/tomcat/commit/0052b374684b613b0c849899b325ebe334ac6501#diff-a25788433a677ecd33c43b5b90c8d24c15bd4ee20cc76fd0948807c7750f7cbf
 (therefore contains a lot of changes that haven't been made in the upstream 
tomcat commit)
   
   Possibly just copy & pasted entire file instead of just applying the patch?
   Everything else looks good to me




Issue Time Tracking
---

Worklog Id: (was: 911274)
Time Spent: 0.5h  (was: 20m)

> Backport fix for CVE-2024-23672 for TomEE 9.x
> -
>
> Key: TOMEE-4305
> URL: https://issues.apache.org/jira/browse/TOMEE-4305
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 9.1.2
>Reporter: Frank Jung
>Priority: Major
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>




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


[jira] [Work logged] (TOMEE-4305) Backport fix for CVE-2024-23672 for TomEE 9.x

2024-03-25 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4305?focusedWorklogId=911254=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-911254
 ]

ASF GitHub Bot logged work on TOMEE-4305:
-

Author: ASF GitHub Bot
Created on: 25/Mar/24 10:24
Start Date: 25/Mar/24 10:24
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #1114:
URL: https://github.com/apache/tomee/pull/1114#issuecomment-2017671825

   Triggered full build: 
https://ci-builds.apache.org/job/Tomee/view/tomee-9.x/job/pull-request-9.x-manual/31/




Issue Time Tracking
---

Worklog Id: (was: 911254)
Time Spent: 20m  (was: 10m)

> Backport fix for CVE-2024-23672 for TomEE 9.x
> -
>
> Key: TOMEE-4305
> URL: https://issues.apache.org/jira/browse/TOMEE-4305
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 9.1.2
>Reporter: Frank Jung
>Priority: Major
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




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


[jira] [Work logged] (TOMEE-4305) Backport fix for CVE-2024-23672 for TomEE 9.x

2024-03-25 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4305?focusedWorklogId=911253=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-911253
 ]

ASF GitHub Bot logged work on TOMEE-4305:
-

Author: ASF GitHub Bot
Created on: 25/Mar/24 10:22
Start Date: 25/Mar/24 10:22
Worklog Time Spent: 10m 
  Work Description: rzo1 opened a new pull request, #1114:
URL: https://github.com/apache/tomee/pull/1114

   as the title says. Ports patches from Tomcat
   
   @tandraschko Can you have a look?




Issue Time Tracking
---

Worklog Id: (was: 911253)
Remaining Estimate: 0h
Time Spent: 10m

> Backport fix for CVE-2024-23672 for TomEE 9.x
> -
>
> Key: TOMEE-4305
> URL: https://issues.apache.org/jira/browse/TOMEE-4305
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 9.1.2
>Reporter: Frank Jung
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>




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


[jira] [Work logged] (TOMEE-4297) Fix AllowNoExpPropertyTest in microprofile-jwt-itests

2024-03-14 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4297?focusedWorklogId=909930=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-909930
 ]

ASF GitHub Bot logged work on TOMEE-4297:
-

Author: ASF GitHub Bot
Created on: 14/Mar/24 16:36
Start Date: 14/Mar/24 16:36
Worklog Time Spent: 10m 
  Work Description: rzo1 merged PR #1109:
URL: https://github.com/apache/tomee/pull/1109




Issue Time Tracking
---

Worklog Id: (was: 909930)
Time Spent: 20m  (was: 10m)

> Fix AllowNoExpPropertyTest in microprofile-jwt-itests
> -
>
> Key: TOMEE-4297
> URL: https://issues.apache.org/jira/browse/TOMEE-4297
> Project: TomEE
>  Issue Type: Task
>Affects Versions: 10.0.0
>Reporter: Richard Zowalla
>Assignee: Zoltán Tichov
>Priority: Major
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> The itest sfor 
>  
>  * 
> [org.apache.tomee.microprofile.jwt.itest.AllowNoExpPropertyTest.testNewPropertyOverridesOld1|https://ci-builds.apache.org/job/Tomee/job/master-build-full/org.apache.tomee$microprofile-jwt-itests/1273/testReport/junit/org.apache.tomee.microprofile.jwt.itest/AllowNoExpPropertyTest/testNewPropertyOverridesOld1/]
>  * 
> [org.apache.tomee.microprofile.jwt.itest.AllowNoExpPropertyTest.testNewPropertyOverridesOld2|https://ci-builds.apache.org/job/Tomee/job/master-build-full/org.apache.tomee$microprofile-jwt-itests/1273/testReport/junit/org.apache.tomee.microprofile.jwt.itest/AllowNoExpPropertyTest/testNewPropertyOverridesOld2/]
> is failing after we integrated 
> https://issues.apache.org/jira/browse/TOMEE-4296
> Looks like we need to adjust the test setup in order to make this work again 
> (or the change introduced a hidden issue, although the MP JWT TCK is fine)



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


[jira] [Work logged] (TOMEE-4297) Fix AllowNoExpPropertyTest in microprofile-jwt-itests

2024-03-10 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4297?focusedWorklogId=909077=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-909077
 ]

ASF GitHub Bot logged work on TOMEE-4297:
-

Author: ASF GitHub Bot
Created on: 10/Mar/24 21:54
Start Date: 10/Mar/24 21:54
Worklog Time Spent: 10m 
  Work Description: tichovz opened a new pull request, #1109:
URL: https://github.com/apache/tomee/pull/1109

   I fixed the two failed tests.




Issue Time Tracking
---

Worklog Id: (was: 909077)
Remaining Estimate: 0h
Time Spent: 10m

> Fix AllowNoExpPropertyTest in microprofile-jwt-itests
> -
>
> Key: TOMEE-4297
> URL: https://issues.apache.org/jira/browse/TOMEE-4297
> Project: TomEE
>  Issue Type: Task
>Affects Versions: 10.0.0
>Reporter: Richard Zowalla
>Assignee: Zoltán Tichov
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The itest sfor 
>  
>  * 
> [org.apache.tomee.microprofile.jwt.itest.AllowNoExpPropertyTest.testNewPropertyOverridesOld1|https://ci-builds.apache.org/job/Tomee/job/master-build-full/org.apache.tomee$microprofile-jwt-itests/1273/testReport/junit/org.apache.tomee.microprofile.jwt.itest/AllowNoExpPropertyTest/testNewPropertyOverridesOld1/]
>  * 
> [org.apache.tomee.microprofile.jwt.itest.AllowNoExpPropertyTest.testNewPropertyOverridesOld2|https://ci-builds.apache.org/job/Tomee/job/master-build-full/org.apache.tomee$microprofile-jwt-itests/1273/testReport/junit/org.apache.tomee.microprofile.jwt.itest/AllowNoExpPropertyTest/testNewPropertyOverridesOld2/]
> is failing after we integrated 
> https://issues.apache.org/jira/browse/TOMEE-4296
> Looks like we need to adjust the test setup in order to make this work again 
> (or the change introduced a hidden issue, although the MP JWT TCK is fine)



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


[jira] [Work logged] (TOMEE-4296) MicroProfile JWT 2.1

2024-02-02 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4296?focusedWorklogId=903420=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-903420
 ]

ASF GitHub Bot logged work on TOMEE-4296:
-

Author: ASF GitHub Bot
Created on: 02/Feb/24 19:55
Start Date: 02/Feb/24 19:55
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #962:
URL: https://github.com/apache/tomee/pull/962#issuecomment-1924585988

   Here is the Jira: https://issues.apache.org/jira/browse/TOMEE-4297




Issue Time Tracking
---

Worklog Id: (was: 903420)
Time Spent: 40m  (was: 0.5h)

> MicroProfile JWT 2.1
> 
>
> Key: TOMEE-4296
> URL: https://issues.apache.org/jira/browse/TOMEE-4296
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 10.0.0
>Reporter: Richard Zowalla
>Assignee: Zoltán Tichov
>Priority: Major
> Fix For: 10.0.0
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> https://github.com/apache/tomee/pull/962



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


[jira] [Work logged] (TOMEE-4296) MicroProfile JWT 2.1

2024-02-02 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4296?focusedWorklogId=903418=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-903418
 ]

ASF GitHub Bot logged work on TOMEE-4296:
-

Author: ASF GitHub Bot
Created on: 02/Feb/24 19:45
Start Date: 02/Feb/24 19:45
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #962:
URL: https://github.com/apache/tomee/pull/962#issuecomment-1924572927

   @tichovz Can you have a look at 
https://github.com/apache/tomee/blob/main/itests/microprofile-jwt-itests/src/test/java/org/apache/tomee/microprofile/jwt/itest/AllowNoExpPropertyTest.java
 
   
   Looks like it is failing due to this upgrade? Maybe we only need to adjust 
the test setup? As you are the person who have written that test, could you 
have a look ?




Issue Time Tracking
---

Worklog Id: (was: 903418)
Time Spent: 0.5h  (was: 20m)

> MicroProfile JWT 2.1
> 
>
> Key: TOMEE-4296
> URL: https://issues.apache.org/jira/browse/TOMEE-4296
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 10.0.0
>Reporter: Richard Zowalla
>Assignee: Zoltán Tichov
>Priority: Major
> Fix For: 10.0.0
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> https://github.com/apache/tomee/pull/962



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


[jira] [Work logged] (TOMEE-4113) Update to MP Metrics 5 / SmallRye Metrics 5

2024-02-02 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4113?focusedWorklogId=903356=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-903356
 ]

ASF GitHub Bot logged work on TOMEE-4113:
-

Author: ASF GitHub Bot
Created on: 02/Feb/24 14:27
Start Date: 02/Feb/24 14:27
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #972:
URL: https://github.com/apache/tomee/pull/972#issuecomment-1923997704

   > did it pass before the upgrade? Otherwise lets merge and try to fix all 
TCKs after M1?
   
   yes, it was ok ;-)




Issue Time Tracking
---

Worklog Id: (was: 903356)
Time Spent: 50m  (was: 40m)

> Update to MP Metrics 5 / SmallRye Metrics 5
> ---
>
> Key: TOMEE-4113
> URL: https://issues.apache.org/jira/browse/TOMEE-4113
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 10.0.0
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> This is a work in progress I have had for a while. TomEE can use SmallRye 
> Metrics 5, and pass the MicroProfile metrics TCK with it.



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


[jira] [Work logged] (TOMEE-4113) Update to MP Metrics 5 / SmallRye Metrics 5

2024-02-02 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4113?focusedWorklogId=903355=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-903355
 ]

ASF GitHub Bot logged work on TOMEE-4113:
-

Author: ASF GitHub Bot
Created on: 02/Feb/24 14:26
Start Date: 02/Feb/24 14:26
Worklog Time Spent: 10m 
  Work Description: tandraschko commented on PR #972:
URL: https://github.com/apache/tomee/pull/972#issuecomment-1923996629

   did it pass before the upgrade? Otherwise lets merge and try to fix all TCKs 
after M1?




Issue Time Tracking
---

Worklog Id: (was: 903355)
Time Spent: 40m  (was: 0.5h)

> Update to MP Metrics 5 / SmallRye Metrics 5
> ---
>
> Key: TOMEE-4113
> URL: https://issues.apache.org/jira/browse/TOMEE-4113
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 10.0.0
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> This is a work in progress I have had for a while. TomEE can use SmallRye 
> Metrics 5, and pass the MicroProfile metrics TCK with it.



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


[jira] [Work logged] (TOMEE-4113) Update to MP Metrics 5 / SmallRye Metrics 5

2024-02-02 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4113?focusedWorklogId=903353=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-903353
 ]

ASF GitHub Bot logged work on TOMEE-4113:
-

Author: ASF GitHub Bot
Created on: 02/Feb/24 14:13
Start Date: 02/Feb/24 14:13
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #972:
URL: https://github.com/apache/tomee/pull/972#issuecomment-1923953781

   I just merged in the latest changes from main (from the last years). The 
Metrics TCK has only 3 failures :)




Issue Time Tracking
---

Worklog Id: (was: 903353)
Time Spent: 0.5h  (was: 20m)

> Update to MP Metrics 5 / SmallRye Metrics 5
> ---
>
> Key: TOMEE-4113
> URL: https://issues.apache.org/jira/browse/TOMEE-4113
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 10.0.0
>Reporter: Jonathan Gallimore
>Assignee: Jonathan Gallimore
>Priority: Major
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> This is a work in progress I have had for a while. TomEE can use SmallRye 
> Metrics 5, and pass the MicroProfile metrics TCK with it.



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


[jira] [Work logged] (TOMEE-4296) MicroProfile JWT 2.1

2024-02-02 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4296?focusedWorklogId=903348=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-903348
 ]

ASF GitHub Bot logged work on TOMEE-4296:
-

Author: ASF GitHub Bot
Created on: 02/Feb/24 13:34
Start Date: 02/Feb/24 13:34
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #962:
URL: https://github.com/apache/tomee/pull/962#issuecomment-1923819155

   Thanks @tichovz - I will get that in for you. Did run the mp-jwt tck locally 
and everything looks good.




Issue Time Tracking
---

Worklog Id: (was: 903348)
Time Spent: 20m  (was: 10m)

> MicroProfile JWT 2.1
> 
>
> Key: TOMEE-4296
> URL: https://issues.apache.org/jira/browse/TOMEE-4296
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 10.0.0
>Reporter: Richard Zowalla
>Assignee: Zoltán Tichov
>Priority: Major
> Fix For: 10.0.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> https://github.com/apache/tomee/pull/962



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


[jira] [Work logged] (TOMEE-4296) MicroProfile JWT 2.1

2024-02-02 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4296?focusedWorklogId=903347=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-903347
 ]

ASF GitHub Bot logged work on TOMEE-4296:
-

Author: ASF GitHub Bot
Created on: 02/Feb/24 13:33
Start Date: 02/Feb/24 13:33
Worklog Time Spent: 10m 
  Work Description: rzo1 merged PR #962:
URL: https://github.com/apache/tomee/pull/962




Issue Time Tracking
---

Worklog Id: (was: 903347)
Remaining Estimate: 0h
Time Spent: 10m

> MicroProfile JWT 2.1
> 
>
> Key: TOMEE-4296
> URL: https://issues.apache.org/jira/browse/TOMEE-4296
> Project: TomEE
>  Issue Type: Dependency upgrade
>Affects Versions: 10.0.0
>Reporter: Richard Zowalla
>Assignee: Zoltán Tichov
>Priority: Major
> Fix For: 10.0.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> https://github.com/apache/tomee/pull/962



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


[jira] [Work logged] (TOMEE-4295) tomee-embedded-maven-plugin does not register microprofile endpoints

2024-02-02 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4295?focusedWorklogId=903345=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-903345
 ]

ASF GitHub Bot logged work on TOMEE-4295:
-

Author: ASF GitHub Bot
Created on: 02/Feb/24 13:30
Start Date: 02/Feb/24 13:30
Worklog Time Spent: 10m 
  Work Description: jungm opened a new pull request, #1106:
URL: https://github.com/apache/tomee/pull/1106

   See #1105 




Issue Time Tracking
---

Worklog Id: (was: 903345)
Time Spent: 40m  (was: 0.5h)

> tomee-embedded-maven-plugin does not register microprofile endpoints
> 
>
> Key: TOMEE-4295
> URL: https://issues.apache.org/jira/browse/TOMEE-4295
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 9.1.2
>Reporter: Markus Jung
>Priority: Minor
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> See this example pom.xml:
> {code:java}
> 
> http://maven.apache.org/POM/4.0.0;
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
>  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
> http://maven.apache.org/xsd/maven-4.0.0.xsd;>
> 4.0.0
> org.example
> tomee-embedded-mp
> 1.0-SNAPSHOT
> war
> 
> 
> apache-snapshots
> https://repository.apache.org/snapshots/
> 
> false
> 
> 
> true
> 
> 
> 
> 
> 17
> 17
> 9.1.3-SNAPSHOT
> 
> 
> 
> 
> org.apache.tomee.maven
> tomee-embedded-maven-plugin
> ${tomee.version}
> 
> 
> true
> 
> 
> 
> 
> org.apache.tomee
> mp-common
> ${tomee.version}
> 
> 
> 
> 
> 
> 
> {code}
> No endpoints are logged in TomEE 9.1.2 (and 9.1.3-SNAPSHOT as well as 
> 10.0.0-M1-SNAPSHOT), trying to access those paths results in a 404
>  
> When deploying this .war to a normal TomEE microprofile build these endpoints 
> are being registered: 
> {code:java}
> 30-Jan-2024 12:53:28.542 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints REST 
> Application: http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/    
>    -> org.apache.openejb.server.rest.InternalApplica
> tion@208185c0
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints  Service 
> URI: http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health -> 
> Pojo org.apache.tomee.microprofile.health.Micr
> oProfileHealthChecksEndpoint
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
> GET http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health ->    
>   Response getChecks()    
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
> GET http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health/live    ->    
>   Response getLiveChecks()    
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
> GET http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health/ready   ->    
>   Response getReadyChecks()   
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
> GET http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health/started ->    
>   Response getStartedChecks()
>  {code}
>  
> For comparison, this is being registered in TomEE 8.0.16:
> {code:java}
> [INFO] REST Application: 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/ 
>    -> org.apache.openejb.server.rest.InternalApplication@4928a347
> [INFO]  Service URI: 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health   
>    -> Pojo 
> org.apache.geronimo.microprofile.impl.health.cdi.CdiHealthChecksEndpoint
> [INFO]   GET 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health   
>    ->  Response getChecks()
> [INFO]  Service URI: 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/metrics  
>    -> Pojo org.apache.geronimo.microprofile.metrics.jaxrs.CdiMetricsEndpoints 
>   
> [INFO]   GET 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/metrics  
>    ->  Object getJson(SecurityContext, UriInfo) 
> 

[jira] [Work logged] (TOMEE-4295) tomee-embedded-maven-plugin does not register microprofile endpoints

2024-02-02 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4295?focusedWorklogId=903346=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-903346
 ]

ASF GitHub Bot logged work on TOMEE-4295:
-

Author: ASF GitHub Bot
Created on: 02/Feb/24 13:30
Start Date: 02/Feb/24 13:30
Worklog Time Spent: 10m 
  Work Description: rzo1 merged PR #1106:
URL: https://github.com/apache/tomee/pull/1106




Issue Time Tracking
---

Worklog Id: (was: 903346)
Time Spent: 50m  (was: 40m)

> tomee-embedded-maven-plugin does not register microprofile endpoints
> 
>
> Key: TOMEE-4295
> URL: https://issues.apache.org/jira/browse/TOMEE-4295
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 9.1.2
>Reporter: Markus Jung
>Priority: Minor
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> See this example pom.xml:
> {code:java}
> 
> http://maven.apache.org/POM/4.0.0;
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
>  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
> http://maven.apache.org/xsd/maven-4.0.0.xsd;>
> 4.0.0
> org.example
> tomee-embedded-mp
> 1.0-SNAPSHOT
> war
> 
> 
> apache-snapshots
> https://repository.apache.org/snapshots/
> 
> false
> 
> 
> true
> 
> 
> 
> 
> 17
> 17
> 9.1.3-SNAPSHOT
> 
> 
> 
> 
> org.apache.tomee.maven
> tomee-embedded-maven-plugin
> ${tomee.version}
> 
> 
> true
> 
> 
> 
> 
> org.apache.tomee
> mp-common
> ${tomee.version}
> 
> 
> 
> 
> 
> 
> {code}
> No endpoints are logged in TomEE 9.1.2 (and 9.1.3-SNAPSHOT as well as 
> 10.0.0-M1-SNAPSHOT), trying to access those paths results in a 404
>  
> When deploying this .war to a normal TomEE microprofile build these endpoints 
> are being registered: 
> {code:java}
> 30-Jan-2024 12:53:28.542 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints REST 
> Application: http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/    
>    -> org.apache.openejb.server.rest.InternalApplica
> tion@208185c0
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints  Service 
> URI: http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health -> 
> Pojo org.apache.tomee.microprofile.health.Micr
> oProfileHealthChecksEndpoint
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
> GET http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health ->    
>   Response getChecks()    
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
> GET http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health/live    ->    
>   Response getLiveChecks()    
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
> GET http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health/ready   ->    
>   Response getReadyChecks()   
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
> GET http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health/started ->    
>   Response getStartedChecks()
>  {code}
>  
> For comparison, this is being registered in TomEE 8.0.16:
> {code:java}
> [INFO] REST Application: 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/ 
>    -> org.apache.openejb.server.rest.InternalApplication@4928a347
> [INFO]  Service URI: 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health   
>    -> Pojo 
> org.apache.geronimo.microprofile.impl.health.cdi.CdiHealthChecksEndpoint
> [INFO]   GET 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health   
>    ->  Response getChecks()
> [INFO]  Service URI: 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/metrics  
>    -> Pojo org.apache.geronimo.microprofile.metrics.jaxrs.CdiMetricsEndpoints 
>   
> [INFO]   GET 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/metrics  
>    ->  Object getJson(SecurityContext, UriInfo) 
> [INFO]   GET 
> 

[jira] [Work logged] (TOMEE-4295) tomee-embedded-maven-plugin does not register microprofile endpoints

2024-02-02 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4295?focusedWorklogId=903344=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-903344
 ]

ASF GitHub Bot logged work on TOMEE-4295:
-

Author: ASF GitHub Bot
Created on: 02/Feb/24 13:27
Start Date: 02/Feb/24 13:27
Worklog Time Spent: 10m 
  Work Description: rzo1 merged PR #1105:
URL: https://github.com/apache/tomee/pull/1105




Issue Time Tracking
---

Worklog Id: (was: 903344)
Time Spent: 0.5h  (was: 20m)

> tomee-embedded-maven-plugin does not register microprofile endpoints
> 
>
> Key: TOMEE-4295
> URL: https://issues.apache.org/jira/browse/TOMEE-4295
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 9.1.2
>Reporter: Markus Jung
>Priority: Minor
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> See this example pom.xml:
> {code:java}
> 
> http://maven.apache.org/POM/4.0.0;
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
>  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
> http://maven.apache.org/xsd/maven-4.0.0.xsd;>
> 4.0.0
> org.example
> tomee-embedded-mp
> 1.0-SNAPSHOT
> war
> 
> 
> apache-snapshots
> https://repository.apache.org/snapshots/
> 
> false
> 
> 
> true
> 
> 
> 
> 
> 17
> 17
> 9.1.3-SNAPSHOT
> 
> 
> 
> 
> org.apache.tomee.maven
> tomee-embedded-maven-plugin
> ${tomee.version}
> 
> 
> true
> 
> 
> 
> 
> org.apache.tomee
> mp-common
> ${tomee.version}
> 
> 
> 
> 
> 
> 
> {code}
> No endpoints are logged in TomEE 9.1.2 (and 9.1.3-SNAPSHOT as well as 
> 10.0.0-M1-SNAPSHOT), trying to access those paths results in a 404
>  
> When deploying this .war to a normal TomEE microprofile build these endpoints 
> are being registered: 
> {code:java}
> 30-Jan-2024 12:53:28.542 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints REST 
> Application: http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/    
>    -> org.apache.openejb.server.rest.InternalApplica
> tion@208185c0
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints  Service 
> URI: http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health -> 
> Pojo org.apache.tomee.microprofile.health.Micr
> oProfileHealthChecksEndpoint
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
> GET http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health ->    
>   Response getChecks()    
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
> GET http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health/live    ->    
>   Response getLiveChecks()    
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
> GET http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health/ready   ->    
>   Response getReadyChecks()   
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
> GET http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health/started ->    
>   Response getStartedChecks()
>  {code}
>  
> For comparison, this is being registered in TomEE 8.0.16:
> {code:java}
> [INFO] REST Application: 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/ 
>    -> org.apache.openejb.server.rest.InternalApplication@4928a347
> [INFO]  Service URI: 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health   
>    -> Pojo 
> org.apache.geronimo.microprofile.impl.health.cdi.CdiHealthChecksEndpoint
> [INFO]   GET 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health   
>    ->  Response getChecks()
> [INFO]  Service URI: 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/metrics  
>    -> Pojo org.apache.geronimo.microprofile.metrics.jaxrs.CdiMetricsEndpoints 
>   
> [INFO]   GET 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/metrics  
>    ->  Object getJson(SecurityContext, UriInfo) 
> [INFO]   GET 
> 

[jira] [Work logged] (TOMEE-4295) tomee-embedded-maven-plugin does not register microprofile endpoints

2024-02-02 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4295?focusedWorklogId=903342=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-903342
 ]

ASF GitHub Bot logged work on TOMEE-4295:
-

Author: ASF GitHub Bot
Created on: 02/Feb/24 13:20
Start Date: 02/Feb/24 13:20
Worklog Time Spent: 10m 
  Work Description: jungm commented on PR #1105:
URL: https://github.com/apache/tomee/pull/1105#issuecomment-1923792184

   @rzo1 absolutely, just wanted to wait with backporting until this is 
approved/merged




Issue Time Tracking
---

Worklog Id: (was: 903342)
Time Spent: 20m  (was: 10m)

> tomee-embedded-maven-plugin does not register microprofile endpoints
> 
>
> Key: TOMEE-4295
> URL: https://issues.apache.org/jira/browse/TOMEE-4295
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 9.1.2
>Reporter: Markus Jung
>Priority: Minor
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> See this example pom.xml:
> {code:java}
> 
> http://maven.apache.org/POM/4.0.0;
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
>  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
> http://maven.apache.org/xsd/maven-4.0.0.xsd;>
> 4.0.0
> org.example
> tomee-embedded-mp
> 1.0-SNAPSHOT
> war
> 
> 
> apache-snapshots
> https://repository.apache.org/snapshots/
> 
> false
> 
> 
> true
> 
> 
> 
> 
> 17
> 17
> 9.1.3-SNAPSHOT
> 
> 
> 
> 
> org.apache.tomee.maven
> tomee-embedded-maven-plugin
> ${tomee.version}
> 
> 
> true
> 
> 
> 
> 
> org.apache.tomee
> mp-common
> ${tomee.version}
> 
> 
> 
> 
> 
> 
> {code}
> No endpoints are logged in TomEE 9.1.2 (and 9.1.3-SNAPSHOT as well as 
> 10.0.0-M1-SNAPSHOT), trying to access those paths results in a 404
>  
> When deploying this .war to a normal TomEE microprofile build these endpoints 
> are being registered: 
> {code:java}
> 30-Jan-2024 12:53:28.542 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints REST 
> Application: http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/    
>    -> org.apache.openejb.server.rest.InternalApplica
> tion@208185c0
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints  Service 
> URI: http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health -> 
> Pojo org.apache.tomee.microprofile.health.Micr
> oProfileHealthChecksEndpoint
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
> GET http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health ->    
>   Response getChecks()    
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
> GET http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health/live    ->    
>   Response getLiveChecks()    
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
> GET http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health/ready   ->    
>   Response getReadyChecks()   
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
> GET http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health/started ->    
>   Response getStartedChecks()
>  {code}
>  
> For comparison, this is being registered in TomEE 8.0.16:
> {code:java}
> [INFO] REST Application: 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/ 
>    -> org.apache.openejb.server.rest.InternalApplication@4928a347
> [INFO]  Service URI: 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health   
>    -> Pojo 
> org.apache.geronimo.microprofile.impl.health.cdi.CdiHealthChecksEndpoint
> [INFO]   GET 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health   
>    ->  Response getChecks()
> [INFO]  Service URI: 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/metrics  
>    -> Pojo org.apache.geronimo.microprofile.metrics.jaxrs.CdiMetricsEndpoints 
>   
> [INFO]   GET 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/metrics 

[jira] [Work logged] (TOMEE-4295) tomee-embedded-maven-plugin does not register microprofile endpoints

2024-02-02 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4295?focusedWorklogId=903339=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-903339
 ]

ASF GitHub Bot logged work on TOMEE-4295:
-

Author: ASF GitHub Bot
Created on: 02/Feb/24 13:14
Start Date: 02/Feb/24 13:14
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #1105:
URL: https://github.com/apache/tomee/pull/1105#issuecomment-1923778303

   @jungm It this also a thing for 9.x ?




Issue Time Tracking
---

Worklog Id: (was: 903339)
Remaining Estimate: 0h
Time Spent: 10m

> tomee-embedded-maven-plugin does not register microprofile endpoints
> 
>
> Key: TOMEE-4295
> URL: https://issues.apache.org/jira/browse/TOMEE-4295
> Project: TomEE
>  Issue Type: Bug
>Affects Versions: 9.1.2
>Reporter: Markus Jung
>Priority: Minor
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> See this example pom.xml:
> {code:java}
> 
> http://maven.apache.org/POM/4.0.0;
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
>  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
> http://maven.apache.org/xsd/maven-4.0.0.xsd;>
> 4.0.0
> org.example
> tomee-embedded-mp
> 1.0-SNAPSHOT
> war
> 
> 
> apache-snapshots
> https://repository.apache.org/snapshots/
> 
> false
> 
> 
> true
> 
> 
> 
> 
> 17
> 17
> 9.1.3-SNAPSHOT
> 
> 
> 
> 
> org.apache.tomee.maven
> tomee-embedded-maven-plugin
> ${tomee.version}
> 
> 
> true
> 
> 
> 
> 
> org.apache.tomee
> mp-common
> ${tomee.version}
> 
> 
> 
> 
> 
> 
> {code}
> No endpoints are logged in TomEE 9.1.2 (and 9.1.3-SNAPSHOT as well as 
> 10.0.0-M1-SNAPSHOT), trying to access those paths results in a 404
>  
> When deploying this .war to a normal TomEE microprofile build these endpoints 
> are being registered: 
> {code:java}
> 30-Jan-2024 12:53:28.542 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints REST 
> Application: http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/    
>    -> org.apache.openejb.server.rest.InternalApplica
> tion@208185c0
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints  Service 
> URI: http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health -> 
> Pojo org.apache.tomee.microprofile.health.Micr
> oProfileHealthChecksEndpoint
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
> GET http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health ->    
>   Response getChecks()    
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
> GET http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health/live    ->    
>   Response getLiveChecks()    
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
> GET http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health/ready   ->    
>   Response getReadyChecks()   
> 30-Jan-2024 12:53:28.544 INFO [main] 
> org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints   
> GET http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health/started ->    
>   Response getStartedChecks()
>  {code}
>  
> For comparison, this is being registered in TomEE 8.0.16:
> {code:java}
> [INFO] REST Application: 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/ 
>    -> org.apache.openejb.server.rest.InternalApplication@4928a347
> [INFO]  Service URI: 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health   
>    -> Pojo 
> org.apache.geronimo.microprofile.impl.health.cdi.CdiHealthChecksEndpoint
> [INFO]   GET 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/health   
>    ->  Response getChecks()
> [INFO]  Service URI: 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/metrics  
>    -> Pojo org.apache.geronimo.microprofile.metrics.jaxrs.CdiMetricsEndpoints 
>   
> [INFO]   GET 
> http://localhost:8080/tomee-embedded-mp-1.0-SNAPSHOT/metrics  
>    -> 

[jira] [Work logged] (TOMEE-4053) Dependency properties cleanup

2024-01-19 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4053?focusedWorklogId=900648=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-900648
 ]

ASF GitHub Bot logged work on TOMEE-4053:
-

Author: ASF GitHub Bot
Created on: 19/Jan/24 09:27
Start Date: 19/Jan/24 09:27
Worklog Time Spent: 10m 
  Work Description: rzo1 closed pull request #1023: [TOMEE-4053] Dependency 
properties cleanup, branch 10.x
URL: https://github.com/apache/tomee/pull/1023




Issue Time Tracking
---

Worklog Id: (was: 900648)
Time Spent: 14.5h  (was: 14h 20m)

> Dependency properties cleanup
> -
>
> Key: TOMEE-4053
> URL: https://issues.apache.org/jira/browse/TOMEE-4053
> Project: TomEE
>  Issue Type: Task
>Reporter: Gwénaël Ruelland
>Assignee: Gwénaël Ruelland
>Priority: Minor
> Fix For: 9.1.0
>
>  Time Spent: 14.5h
>  Remaining Estimate: 0h
>
> Proposed PR for properties consistency 
>  * properties are of the form 'version.groupid' or 'groupid.version' : 
> changed most to the 'version.groupid' form for coherence.
>  * regrouping properties by feature blocks
>  * ordering by name were usefull



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


[jira] [Work logged] (TOMEE-4053) Dependency properties cleanup

2024-01-19 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4053?focusedWorklogId=900649=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-900649
 ]

ASF GitHub Bot logged work on TOMEE-4053:
-

Author: ASF GitHub Bot
Created on: 19/Jan/24 09:27
Start Date: 19/Jan/24 09:27
Worklog Time Spent: 10m 
  Work Description: rzo1 commented on PR #1023:
URL: https://github.com/apache/tomee/pull/1023#issuecomment-1900052596

   Actually, most changes were already integrated. Closing.




Issue Time Tracking
---

Worklog Id: (was: 900649)
Time Spent: 14h 40m  (was: 14.5h)

> Dependency properties cleanup
> -
>
> Key: TOMEE-4053
> URL: https://issues.apache.org/jira/browse/TOMEE-4053
> Project: TomEE
>  Issue Type: Task
>Reporter: Gwénaël Ruelland
>Assignee: Gwénaël Ruelland
>Priority: Minor
> Fix For: 9.1.0
>
>  Time Spent: 14h 40m
>  Remaining Estimate: 0h
>
> Proposed PR for properties consistency 
>  * properties are of the form 'version.groupid' or 'groupid.version' : 
> changed most to the 'version.groupid' form for coherence.
>  * regrouping properties by feature blocks
>  * ordering by name were usefull



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


[jira] [Work logged] (TOMEE-4166) Jakarta RESTFul Web Services TCK

2024-01-19 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4166?focusedWorklogId=900646=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-900646
 ]

ASF GitHub Bot logged work on TOMEE-4166:
-

Author: ASF GitHub Bot
Created on: 19/Jan/24 09:21
Start Date: 19/Jan/24 09:21
Worklog Time Spent: 10m 
  Work Description: Sollder11 commented on PR #1063:
URL: https://github.com/apache/tomee/pull/1063#issuecomment-1900042452

   Sounds good, I will try another build later.




Issue Time Tracking
---

Worklog Id: (was: 900646)
Time Spent: 1h 50m  (was: 1h 40m)

> Jakarta RESTFul Web Services TCK
> 
>
> Key: TOMEE-4166
> URL: https://issues.apache.org/jira/browse/TOMEE-4166
> Project: TomEE
>  Issue Type: Sub-task
>Reporter: David Blevins
>Priority: Major
>  Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> see https://jakarta.ee/specifications/restful-ws/3.1/ for additional details 



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


  1   2   3   4   5   6   7   8   9   10   >