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

[jira] [Assigned] (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:all-tabpanel ]

Markus Jung reassigned TOMEE-4481:
----------------------------------

    Assignee: Markus Jung

> 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)