3 Replies Latest reply on Jul 24, 2015 10:03 AM by Felix Lefort

    'WildFly Application Server Start Failed. HTTP Connector port 8080 is already in use.'

    Felix Lefort Newbie

      Hello,

       

      I use NetBeans 8.0.2 on Windows 7, on the same computer I installed WildFly 9 Final. I can connect to WildFly through the web interface including the admin console, the server is running fine on the default ports.

      Nevertheless when I try the Quickstart - Numberguess project, I can compile it but not run it. I always get this error message:

       

      'WildFly Application Server Start Failed. HTTP Connector port 8080 is already in use.'

       

      What is going wrong here? Is it a WildFly or a Netbeans problem? The weird thing is, although I can access WildFly through the web interface, Netbeans tells me WildFly isn't started (when right-clicking on WildFly the menu 'Start' is enabled, 'Stop' is disabled. When I try to start it this way I get the exact same error message...)

       

      Thanks for any help.

       

      Here is the full output when trying to run the numberguess project:

      NetBeans: Deploying on WildFly Application Server

          profile mode: false

          debug mode: false

          force redeploy: true

      Starting WildFly Application Server

      WildFly Application Server Start Failed. HTTP Connector port 8080 is already in use.

      cd C:\Java\WildFly\quickstart-master\numberguess; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.8.0_51" cmd /c "\"\"C:\\Program Files\\NetBeans 8.0.1\\java\\maven\\bin\\mvn.bat\" -Dnetbeans.deploy=true -Dmaven.ext.class.path=\"C:\\Program Files\\NetBeans 8.0.1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 package\""

      Scanning for projects...

                                                                             

      ------------------------------------------------------------------------

      Building WildFly Quickstarts: Numberguess 9.0.0-SNAPSHOT

      ------------------------------------------------------------------------

       

      --- maven-resources-plugin:2.5:resources (default-resources) @ wildfly-numberguess ---

      [debug] execute contextualize

      Using 'UTF-8' encoding to copy filtered resources.

      skip non existing resourceDirectory C:\Java\WildFly\quickstart-master\numberguess\src\main\resources

       

      --- maven-compiler-plugin:3.1:compile (default-compile) @ wildfly-numberguess ---

      Nothing to compile - all classes are up to date

       

      --- maven-resources-plugin:2.5:testResources (default-testResources) @ wildfly-numberguess ---

      [debug] execute contextualize

      Using 'UTF-8' encoding to copy filtered resources.

      skip non existing resourceDirectory C:\Java\WildFly\quickstart-master\numberguess\src\test\resources

       

      --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ wildfly-numberguess ---

      No sources to compile

       

      --- maven-surefire-plugin:2.10:test (default-test) @ wildfly-numberguess ---

      Surefire report directory: C:\Java\WildFly\quickstart-master\numberguess\target\surefire-reports

       

      -------------------------------------------------------

      T E S T S

      -------------------------------------------------------

       

      Results :

       

      Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

       

       

      --- maven-war-plugin:2.5:war (default-war) @ wildfly-numberguess ---

      Packaging webapp

      Assembling webapp [wildfly-numberguess] in [C:\Java\WildFly\quickstart-master\numberguess\target\wildfly-numberguess]

      Processing war project

      Copying webapp resources [C:\Java\WildFly\quickstart-master\numberguess\src\main\webapp]

      Webapp assembled in [36 msecs]

      Building war: C:\Java\WildFly\quickstart-master\numberguess\target\wildfly-numberguess.war

      ------------------------------------------------------------------------

      BUILD SUCCESS

      ------------------------------------------------------------------------

      Total time: 2.426s

      Finished at: Thu Jul 23 15:04:02 CEST 2015

      Final Memory: 10M/125M

      ------------------------------------------------------------------------

      NetBeans: Deploying on WildFly Application Server

          profile mode: false

          debug mode: false

          force redeploy: true

      Starting WildFly Application Server

      WildFly Application Server Start Failed. HTTP Connector port 8080 is already in use.