Hey Alex,

we merged my patch now and will hopefully release 10.0.0-M4 soon. Can you test if your issue is resolved in the latest SNAPSHOT build? You should be able to download the full .zip/.tar.gz files from https://repository.apache.org/content/groups/snapshots/org/apache/tomee/apache-tomee/10.0.0-M4-SNAPSHOT/, just make sure to pick the most up-to-date ones


Thanks

Markus

On 09.11.24 18:46, Markus Jung wrote:
Hey Alex,

Quick follow-up from my side. I now finally have some time to dig deeper into why 
this happens. I filed a bug for this here 
(https://issues.apache.org/jira/browse/TOMEE-4424) now and will try to get it fixed 
before we release 10.0.0-M4. An easy workaround would be to remove any 
<welcome-file> tags you defined in web.xml if you don’t really need them.


Thanks

Markus

On 25. Oct 2024, at 09:50, Markus Jung <ju...@apache.org> wrote:

Hi Alex,


this sounds like a regression at first glance, I'll look into this and try to 
get it fixed. Thanks for testing milestone builds and giving us a heads up we 
might've broken something!


Thanks

Markus


On 24.10.24 19:04, Shiryaev, Alexander wrote:
Hello,

JAX-RS endpoints no longer work in Tomee 10M3 if we call them with trailing 
slash. It worked fine in 10M2.
GET /api/hello - works
GET /api/hello/ - doesn't works. Getting 404.

It's likely related to https://issues.apache.org/jira/browse/TOMEE-4406 changes.
We can use the same war file as in TOMEE-4406 to replicate the issue.

Is it expected behavior or a regression? In my understanding both URLs (with 
and without trailing slash) should be resolved to the same JAX-RS endpoint.

Thanks
Alex

Reply via email to