Example:
2023-03-09 21:25:31,497 ERROR [io.undertow.request] (management I/O-1) UT005071: Undertow request failed HttpServerExchange{ GET /}: java.lang.NumberFormatException: For input string: "40029/QUALYSTEST}"
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.base/java.lang.Integer.parseInt(Integer.java:652)
at java.base/java.lang.Integer.parseInt(Integer.java:770)
at org.jboss.as.domain-http-interface@18.1.1.Final//org.jboss.as.domain.http.server.cors.CorsUtil.sanitizeDefaultPort(CorsUtil.java:119)
at org.jboss.as.domain-http-interface@18.1.1.Final//org.jboss.as.domain.http.server.cors.CorsUtil.matchOrigin(CorsUtil.java:69)
at org.jboss.as.domain-http-interface@18.1.1.Final//org.jboss.as.domain.http.server.cors.CorsHttpHandler.setCorsResponseHeaders(CorsHttpHandler.java:87)
at org.jboss.as.domain-http-interface@18.1.1.Final//org.jboss.as.domain.http.server.cors.CorsHttpHandler.handleRequest(CorsHttpHandler.java:74)
at org.jboss.as.domain-http-interface@18.1.1.Final//org.jboss.as.domain.http.server.ManagementHttpServer$UpgradeFixHandler.handleRequest(ManagementHttpServer.java:660)
at io.undertow.core@2.2.17.Final//io.undertow.server.Connectors.executeRootHandler(Connectors.java:387)
at io.undertow.core@2.2.17.Final//io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:256)
at io.undertow.core@2.2.17.Final//io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:136)
at io.undertow.core@2.2.17.Final//io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:162)
at io.undertow.core@2.2.17.Final//io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:100)
at io.undertow.core@2.2.17.Final//io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:57)
at org.jboss.xnio@3.8.7.Final//org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
at org.jboss.xnio@3.8.7.Final//org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:291)
at org.jboss.xnio@3.8.7.Final//org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:286)
at org.jboss.xnio@3.8.7.Final//org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
at org.jboss.xnio.nio@3.8.7.Final//org.xnio.nio.QueuedNioTcpServer2.acceptTask(QueuedNioTcpServer2.java:178)
Release: VNA 21.2.9 through 22.2.11, and 23.3.2
Jstack analysis of Wildfly when it is in a bad state shows the following:
at sun.security.ssl.SSLEngineImpl.writeRecord(java.base@11.0.19/SSLEngineImpl.java:213)
at sun.security.ssl.SSLEngineImpl.wrap(java.base@11.0.19/SSLEngineImpl.java:136)
- locked <0x00007f2111f30520> (a sun.security.ssl.SSLEngineImpl)
at sun.security.ssl.SSLEngineImpl.wrap(java.base@11.0.19/SSLEngineImpl.java:116)
- locked <0x00007f2111f30520> (a sun.security.ssl.SSLEngineImpl)
at javax.net.ssl.SSLEngine.wrap(java.base@11.0.19/SSLEngine.java:482)
The above points to the following issues :
https://bugzilla.redhat.com/show_bug.cgi?id=2174246
You can run the following netsat commands:
If any of the above returns many entries CLOSE_WAIT status this is a good indication you are experiencing this issue.
Example:
Revert the version to Java 11.0.17:
1. Stop Wildlfly
systemctl stop wildfly
2. Revert to Java 11.0.17
a) To show the available packages:
yum search --showduplicates java-11-openjdk
b) Example of installing JDK 11.0.17.0.8-2.el7_9:
yum install java-11-openjdk-11.0.17.0.8-2.el7_9.x86_64
NOTE: any version of java-11-openjdk-11.0.17.0.8 can be used, if e17 is not in your search results. E.G. java-11-openjdk-11.0.17.0.8-2.xxxxx.x86_64
3. Verify the correct version is selected
alternatives --config java
4. Start Wildfly
systemctl start wildfly
Please Note: The above steps may be slightly different depending on the version of Linux you have installed.
this issue is fixed in VNA 23.3.3 +