Horizon Platform Community Java Mistake Message on Windows Web Server
Thread Posts Reply To This Post
Viewing 2 posts - 1 through 2 (of 2 total)
  • emrebey

    20th October 2014 at 5:42 pm

    Hi,

    I run one node on windows web server.

    After starting the Nhz client i get follow message:

    2014-10-20 19:26:38 INFO: Started @61995ms
    2014-10-20 19:26:38 INFO: Started peer networking server at 0.0.0.0:7774
    2014-10-20 19:26:38 INFO: jetty-9.1.5.v20140505
    2014-10-20 19:26:38 INFO: Started [email protected]{/doc,null,AVAI
    LABLE}
    2014-10-20 19:26:38 WARNING: FAILED [email protected]{HTTP/1.1}{127.0.0.1:
    7776}: java.net.BindException: Address already in use: bind
    java.net.BindException: Address already in use: bind
    at sun.nio.ch.Net.bind0(Native Method)
    at sun.nio.ch.Net.bind(Unknown Source)
    at sun.nio.ch.Net.bind(Unknown Source)
    at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
    at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
    at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:27
    9)
    at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNet
    workConnector.java:80)
    at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java
    :218)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
    Cycle.java:68)
    at org.eclipse.jetty.server.Server.doStart(Server.java:337)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
    Cycle.java:68)
    at nhz.http.API$1.run(API.java:117)
    at nhz.util.ThreadPool.start(ThreadPool.java:38)
    at nhz.Nhz$Init.(Nhz.java:209)
    at nhz.Nhz.init(Nhz.java:147)
    at nhz.Nhz.main(Nhz.java:138)
    2014-10-20 19:26:38 WARNING: FAILED [email protected]: jav
    a.net.BindException: Address already in use: bind
    java.net.BindException: Address already in use: bind
    at sun.nio.ch.Net.bind0(Native Method)
    at sun.nio.ch.Net.bind(Unknown Source)
    at sun.nio.ch.Net.bind(Unknown Source)
    at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
    at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
    at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:27
    9)
    at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNet
    workConnector.java:80)
    at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java
    :218)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
    Cycle.java:68)
    at org.eclipse.jetty.server.Server.doStart(Server.java:337)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
    Cycle.java:68)
    at nhz.http.API$1.run(API.java:117)
    at nhz.util.ThreadPool.start(ThreadPool.java:38)
    at nhz.Nhz$Init.
    (Nhz.java:209)
    at nhz.Nhz.init(Nhz.java:147)
    at nhz.Nhz.main(Nhz.java:138)
    Exception in thread “main” java.lang.ExceptionInInitializerError
    at nhz.Nhz.init(Nhz.java:147)
    at nhz.Nhz.main(Nhz.java:138)
    Caused by: java.lang.RuntimeException: java.net.BindException: Address already i
    n use: bind
    at nhz.http.API$1.run(API.java:121)
    at nhz.util.ThreadPool.start(ThreadPool.java:38)
    at nhz.Nhz$Init.
    (Nhz.java:209)
    … 2 more
    Caused by: java.net.BindException: Address already in use: bind
    at sun.nio.ch.Net.bind0(Native Method)
    at sun.nio.ch.Net.bind(Unknown Source)
    at sun.nio.ch.Net.bind(Unknown Source)
    at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
    at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
    at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:27
    9)
    at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNet
    workConnector.java:80)
    at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java
    :218)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
    Cycle.java:68)
    at org.eclipse.jetty.server.Server.doStart(Server.java:337)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
    Cycle.java:68)
    at nhz.http.API$1.run(API.java:117)
    … 4 more

    The nodes works one or two hours and crash.

    Why?

    Thank`s

    emrebey
    Participant

    Horizon: 0.00 HZ
    20th October 2014 at 7:27 pm

    java.net.BindException: Address already in use: bind

    it seems your node already up and running.

Viewing 2 posts - 1 through 2 (of 2 total)