0 Replies Latest reply on May 7, 2018 3:40 AM by lalit lakhchaura

    Wildfly 12 Resteasy SocketTimeoutException

    lalit lakhchaura Newbie



      We are upgrading wildfly 10 to 12 in our development environment. We have changed the needed jars in module folders for wildfly12.


      Started wildfly12 without putting the war(app) file and server was up and welcome to wildfly page also comes up. Log1 file is attached.


      After this, we have put the war file in deployments folder (without stopping the server) and deployment started. it was successful. Log2 file is attached.


      We stopped the server, deleted deployed package and Put the same war and started the server once again. War deployment failed. Log3 are attached with this.


      Error that server log capture is related to socket error.java.net.SocketTimeoutException: Read timed out javax.ws.rs.ProcessingException: RESTEASY004655: Unable to invoke request.



      While war deployment is under process, Spring WebApplicationContext get initialized and Resteasy call established. This happened in both the cases (passed & failed deployment)

      but when wildfly is already up & running, if we put the war, Resteasy call never gives SocketTimeoutException but if deployment happened while wildfly also starting, it fails.


      Any input on this would be appreciated.