Skip to content

Commit

Permalink
Merge pull request #991 from liweinan/WFLY-19950
Browse files Browse the repository at this point in the history
[WFLY-19950] The Spring Resteasy quickstart logs a warnings on the Open…
  • Loading branch information
emmartins authored Jan 13, 2025
2 parents 1b35800 + be8be20 commit 8a84fcd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions spring-resteasy/README-source.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ WARN [org.jboss.as.ee] (MSC service thread 1-5) WFLYEE0007: Not installing opti
WARN [org.jboss.as.ee] (MSC service thread 1-5) WFLYEE0007: Not installing optional component org.springframework.web.context.request.async.StandardServletAsyncWebRequest due to an exception (enable DEBUG log level to see the cause)
----
This warning can be ignored too:
[source,options="nowrap"]
----
WARN [org.wildfly.clustering.web.undertow] (ServerService Thread Pool -- 32) WFLYCLWEBUT0007: No routing provider found for default-server; using legacy provider based on static configuration
----
// Server Distribution Testing
include::../shared-doc/run-integration-tests-with-server-distribution.adoc[leveloffset=+1]
// Undeploy the Quickstart
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@
<deployment>
<!-- Spring does not support CDI and therefore CDI required subsystem and dependencies must be excluded -->
<exclude-subsystems>
<subsystem name="jsf"/>
<subsystem name="microprofile-opentracing-smallrye"/>
<subsystem name="weld"/>
</exclude-subsystems>
<exclusions>
<module name="org.jboss.resteasy.resteasy-cdi"/>
</exclusions>
</deployment>
</jboss-deployment-structure>
5 changes: 5 additions & 0 deletions spring-resteasy/src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@

<display-name>Archetype Created Web Application</display-name>

<context-param>
<param-name>resteasy.preferJacksonOverJsonB</param-name>
<param-value>true</param-value>
</context-param>

<listener>
<listener-class>org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap</listener-class>
</listener>
Expand Down

0 comments on commit 8a84fcd

Please sign in to comment.