You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Simon Thomas (Jira)" <ji...@apache.org> on 2025/07/23 15:49:00 UTC

[jira] [Commented] (TOMEE-4481) JAX-RS Endpoints Not Accessible with Wildcard Servlet

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

Simon Thomas commented on TOMEE-4481:
-------------------------------------

Are there any news regarding this issue?

We are therefore unfortunately blocked and cannot upgrade to TomEE 10

> JAX-RS Endpoints Not Accessible with Wildcard Servlet
> -----------------------------------------------------
>
>                 Key: TOMEE-4481
>                 URL: https://issues.apache.org/jira/browse/TOMEE-4481
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 10.0.1
>            Reporter: Simon Thomas
>            Assignee: Markus Jung
>            Priority: Major
>
> After changes made in TOMEE-4406 / [PR #1524|https://github.com/apache/tomee/pull/1524], JAX-RS endpoints e.g. under {{/api/\*}} are no longer accessible when there's also a servlet mapped to {{{}/\*{}}}. The PR appears to have changed how {{CxfRsHttpListener#isCXFResource}} evaluates requests, causing it to return {{false}} for REST endpoints when it previously returned {{{}true{}}}.
> Demo: [https://github.com/byte0ne/tomee-10-servlet-jaxrs]
> When accessing "{color:#1f2328}/api/hello{color}"
> TomEE 9.1.3 → JSON response from REST endpoint
> TomEE 10.0.x → HTML response from the wildcard servlet



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