2 Replies Latest reply on Apr 2, 2013 2:40 AM by Manish Devraj

    Could not connect to remote://localhost:9999. The connection timed out Jboss 7.1.1 Final

    Manish Devraj Newbie

      I am deploying builds to local and remote Jboss AS 7.1.1 Final at port 9999. Maven uses jboss plugin 'jboss-as-maven-plugin:7.1.1.Final' to manage builds to servers. I have confirmed that server is up and running and port is accessible at 9999. But "many times" build fails with following error for both local and remote Jboss. Jboss ic configured in Standalone mode single node cluster.

       

      Stranglely build doesn't fail every time but most of the time. Not sure if we need to upgrade Maven plugin to higher version. Do I need to make any changes to timeout value for deployment?

       

      [INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)

      [INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.1.1.Final:undeploy (default-cli) on project Test: Error executing UNDEPLOY [DEBUG] Closing connection to remote

      [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.1.1.Final:undeploy (default-cli) on project Test: Error executing UNDEPLOY: java.net.ConnectException: JBAS012144: Could not connect to remote://localhost:9999. The connection timed out -> [Help 1]