2 Replies Latest reply on Dec 12, 2017 2:47 PM by José Antonio Delgado Trujillo

    Adress already in use?

    José Antonio Delgado Trujillo Newbie

      sometimes when i build my project inside Eclipse with wildly:run i found the next error:


      22:53:08,681 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0012: Started server default-server.

      22:53:08,765 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0018: Host default-host starting

      22:53:08,645 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 59) WFLYUT0014: Creating file handler for path '/Users/jdeltru/git/jpa-addressbook/target/wildfly-run/wildfly-11.0.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']

      22:53:09,090 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service org.wildfly.undertow.listener.default: org.jboss.msc.service.StartException in service org.wildfly.undertow.listener.default: Address already in use /

        at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:179)

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

        at java.lang.Thread.run(Thread.java:748)



      It is strange because the final message is that Wildly is stopped but i can connect in a terminal with boss-cli.


      22:53:24,234 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0050: WildFly Full 11.0.0.Final (WildFly Core 3.0.8.Final) stopped in 308ms

      Dec 10, 2017 10:56:26 PM org.jboss.remoting3.remote.RemoteConnection handleException

      ERROR: JBREM000200: Remote connection failed: java.io.IOException: Connection reset by peer


      So i write the shutdown command and try again inside Eclipse wildly:run and then works.

      What did it happen the first wildly:run ?

      Who was occupying the address?