Hello,
We are migrating to java17 and wildfly29.0.1 . The application uses
Java 17, Wildfly 29.0.1, Jakarta ee 10 and Axis2 1.7.8 for webservices.
During webservice call getting an exception like following17:27:04,912 INFO [org.apache.commons.httpclient.HttpMethodDirector] (pool-25-thread-2) I/O exception (java.net.SocketException) caught when processing request: Socket is closed
17:27:04,912 INFO [org.apache.commons.httpclient.HttpMethodDirector] (pool-25-thread-2) Retrying request
17:27:05,267 INFO [org.apache.commons.httpclient.HttpMethodDirector] (pool-25-thread-2) I/O exception (java.net.SocketException) caught when processing request: Socket is closed
17:27:05,268 INFO [org.apache.commons.httpclient.HttpMethodDirector] (pool-25-thread-2) Retrying request
17:27:05,629 INFO [org.apache.commons.httpclient.HttpMethodDirector] (pool-25-thread-2) I/O exception (java.net.SocketException) caught when processing request: Socket is closed
17:27:05,629 INFO [org.apache.commons.httpclient.HttpMethodDirector] (pool-25-thread-2) Retrying request
17:27:05,981 INFO [org.apache.axis2.transport.http.impl.httpclient3.HTTPSenderImpl] (pool-25-thread-2) Unable to sendViaPost to url[
https://webservicesurl...]: java.net.SocketException: Socket is closed
at java.base/sun.security.ssl.SSLSocketImpl.getInputStream(SSLSocketImpl.java:883)
at deployment.webapp.war//org.apache.commons.ssl.HostnameVerifier$AbstractVerifier.check(HostnameVerifier.java:312)
at deployment.webapp.war//org.apache.commons.ssl.HostnameVerifier$AbstractVerifier.check(HostnameVerifier.java:253)
at deployment.webapp.war//org.apache.commons.ssl.SSL.doPostConnectSocketStuff(SSL.java:506)
at deployment.webapp.war//org.apache.commons.ssl.Java14.buildSocket(Java14.java:155)
at deployment.webapp.war//org.apache.commons.ssl.JavaImpl.createSocket(JavaImpl.java:206)
at deployment.webapp.war//org.apache.commons.ssl.SSL.createSocket(SSL.java:543)
at deployment.webapp.war//org.apache.commons.ssl.SSLClient.createSocket(SSLClient.java:221)
at deployment.webapp.war//org.apache.commons.ssl.HttpSecureProtocol.createSocket(HttpSecureProtocol.java:90)
at deployment.webapp.war//org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at deployment.webapp.war//org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
at deployment.webapp.war//org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at deployment.webapp.war//org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at deployment.webapp.war//org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at deployment.webapp.war//org.apache.axis2.transport.http.impl.httpclient3.HTTPSenderImpl.executeMethod(HTTPSenderImpl.java:872)
at deployment.webapp.war//org.apache.axis2.transport.http.impl.httpclient3.HTTPSenderImpl.sendViaPost(HTTPSenderImpl.java:212)
at deployment.webapp.war//org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:121)
at deployment.webapp.war//org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:403)
at deployment.webapp.war//org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:234)
at deployment.webapp.war//org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:431)
at deployment.webapp.war//org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:399)
at deployment.webapp.war//org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
at deployment.webapp.war//org.apache.axis2.client.OperationClient.execute(OperationClient.java:150)
Is this related to java or wildlfy upgrade?Thanks & regards
Jay