Martin Stefanko created WFLY-13925:
--------------------------------------
Summary: Deployment with the `resteasy-client-microprofile` dependency causes
JAX-RS endpoints to not be exposed
Key: WFLY-13925
URL:
https://issues.redhat.com/browse/WFLY-13925
Project: WildFly
Issue Type: Bug
Components: MP REST Client, REST
Affects Versions: 21.0.0.Beta1
Reporter: Martin Stefanko
Assignee: r searls
Quoting [~rsearls]:
This appears to be an issue in wfly deployment processing.
I can confirm when deploying the app that contains resteasy-client-microprofile
the servlet executed by undertow is io.undertow.servlet.handlers.DefaultServlet.
When the app does not contain resteasy-client-microprofile the servlet executed
by undertow is org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher.
Setting a breakpoint in io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy
line 300, method start() you will see ServletInfo\{mappings=[], servletClass=class
io.undertow.servlet.handlers.DefaultServlet, name='default'}
when the app contains resteasy-client-microprofile and value
ServletInfo\{mappings=[/*], servletClass=class
org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher,
name='io.xstefank.RestApplication'}
when it does not.
In wfly I looked at the jaxrs deployment code. I can see that for both
apps, servletClass is assigned
org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher
but when resteasy-client-microprofile is present some wfly process that runs after
jaxrs overwrites this information with servletClass=class
io.undertow.servlet.handlers.DefaultServlet.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)