Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3684

JBAS012144: Could not connect to remote://localhost:9999. The connection timed out

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 8.1.0.Final
    • Management
    • Hide

      I used the kitchensink sample application from JBoss Developer Suite. Simply try to use mvn clean install jboss-as:deploy on a wildfly 8.1.0.Final server in standalone mode. This should reproduce the bug.

      Show
      I used the kitchensink sample application from JBoss Developer Suite. Simply try to use mvn clean install jboss-as:deploy on a wildfly 8.1.0.Final server in standalone mode. This should reproduce the bug.
    • Hide

      For now, doing a mvn clean install followed by copying the war file in the target directory to the deployments directory does the trick. The war file gets uploaded and works as it should.

      Show
      For now, doing a mvn clean install followed by copying the war file in the target directory to the deployments directory does the trick. The war file gets uploaded and works as it should.
    • Medium

    Description

      the mvn jboss-as:deploy operation times out complaining that it could not connect:

      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 13.662s
      [INFO] Finished at: Tue Jul 29 01:26:12 UTC 2014
      [INFO] Final Memory: 19M/174M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.4.Final:deploy (default-cli) on project jboss-kitchensink-rf: Could not execute goal deploy on /home/jboss/workspace/jboss-kitchensink-rf/target/jboss-kitchensink-rf.war. Reason: I/O Error could not execute operation '

      { [ERROR] "address" => [], [ERROR] "operation" => "read-attribute", [ERROR] "name" => "launch-type" [ERROR] }

      ': java.net.ConnectException: JBAS012144: Could not connect to remote://localhost:9999. The connection timed out
      [ERROR] -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

      I tried the same project with EAP 6.0 and mvn command works fine. This is an issue narrowed down to 8.1.0.Final.

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            perrierax Perry Anderson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: