From da60521d6e4da4e1e73bfd96b5746f704d96126c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E7=94=B7?= Date: Sun, 15 Dec 2024 17:09:49 +0800 Subject: [PATCH 1/2] WFLY-19950 The Spring Resteasy quickstart logs a warnings on the OpenShift --- .../src/main/webapp/WEB-INF/jboss-deployment-structure.xml | 5 ----- spring-resteasy/src/main/webapp/WEB-INF/web.xml | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/spring-resteasy/src/main/webapp/WEB-INF/jboss-deployment-structure.xml b/spring-resteasy/src/main/webapp/WEB-INF/jboss-deployment-structure.xml index 85037d06d0..f8293b4844 100644 --- a/spring-resteasy/src/main/webapp/WEB-INF/jboss-deployment-structure.xml +++ b/spring-resteasy/src/main/webapp/WEB-INF/jboss-deployment-structure.xml @@ -3,12 +3,7 @@ - - - - - \ No newline at end of file diff --git a/spring-resteasy/src/main/webapp/WEB-INF/web.xml b/spring-resteasy/src/main/webapp/WEB-INF/web.xml index 4100573fd4..6c1a267f18 100644 --- a/spring-resteasy/src/main/webapp/WEB-INF/web.xml +++ b/spring-resteasy/src/main/webapp/WEB-INF/web.xml @@ -22,6 +22,11 @@ Archetype Created Web Application + + resteasy.preferJacksonOverJsonB + true + + org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap From be8be208d46779c17efa1936e1025fce8456b27c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E7=94=B7?= Date: Mon, 13 Jan 2025 22:46:48 +0800 Subject: [PATCH 2/2] add addition note about the warning WFLYCLWEBUT0007 --- spring-resteasy/README-source.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spring-resteasy/README-source.adoc b/spring-resteasy/README-source.adoc index fff386a9e4..140a961e36 100644 --- a/spring-resteasy/README-source.adoc +++ b/spring-resteasy/README-source.adoc @@ -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