Simon Thomas created TOMEE-4481:
-----------------------------------
Summary: 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
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)