java.net.BindException: Address already in use

Sonatype JIRA | Peter Lynch | 5 years ago
  1. 0

    {noformat} Failed org.sonatype.nexus.integrationtests.nexus1197.Nexus1197CheckUserAgentIT.setUp (from Nexus1197CheckUserAgentIT) Failing for the past 1 build (Since #342 ) Took 2.8 sec. add description Error Message Address already in use Stacktrace java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383) at java.net.ServerSocket.bind(ServerSocket.java:328) at java.net.ServerSocket.<init>(ServerSocket.java:194) at java.net.ServerSocket.<init>(ServerSocket.java:150) at org.mortbay.jetty.bio.SocketConnector.newServerSocket(SocketConnector.java:80) at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73) at org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:283) at org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:147) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.Server.doStart(Server.java:235) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.sonatype.nexus.integrationtests.nexus1197.Nexus1197CheckUserAgentIT.setUp(Nexus1197CheckUserAgentIT.java:55) Standard Error 2011-08-15 11:37:58.180:INFO::Graceful shutdown SelectChannelConnector@0.0.0.0:36063 STARTED 2011-08-15 11:37:58.181:INFO::Graceful shutdown o.e.j.w.WebAppContext{/nexus,file:/opt/grid/slave/workspace/nexus-oss/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.9.3-SNAPSHOT/nexus/},/opt/grid/slave/workspace/nexus-oss/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.9.3-SNAPSHOT/nexus 2011-08-15 11:37:59.232:INFO::stopped o.e.j.w.WebAppContext{/nexus,file:/opt/grid/slave/workspace/nexus-oss/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.9.3-SNAPSHOT/nexus/},/opt/grid/slave/workspace/nexus-oss/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-1.9.3-SNAPSHOT/nexus {noformat}

    Sonatype JIRA | 5 years ago | Peter Lynch
    java.net.BindException: Address already in use
  2. 0

    Solr Configuration

    Stack Overflow | 5 years ago | rocco
    java.net.BindException: Address already in use
  3. 0

    JsTestDriver: error on launching JsTestDriver Server could be more informative (as it used to be)

    YouTrack | 5 years ago
    com.google.jstestdriver.ServerStartupAction$ServerStartupException: Error starting the server on 9876
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Rename "example" directory in solr

    Stack Overflow | 1 year ago | Varun Jyothi
    java.net.BindException: Address already in use

  1. iridic 1 times, last 3 weeks ago
  2. linxiaolong 1 times, last 4 months ago
  3. jedcua 1 times, last 4 months ago
  4. Justin 2 times, last 4 months ago
26 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.BindException

    Address already in use

    at java.net.PlainSocketImpl.socketBind()
  2. Java RT
    ServerSocket.<init>
    1. java.net.PlainSocketImpl.socketBind(Native Method)
    2. java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
    3. java.net.ServerSocket.bind(ServerSocket.java:328)
    4. java.net.ServerSocket.<init>(ServerSocket.java:194)
    5. java.net.ServerSocket.<init>(ServerSocket.java:150)
    5 frames
  3. Jetty Server
    SocketConnector.doStart
    1. org.mortbay.jetty.bio.SocketConnector.newServerSocket(SocketConnector.java:80)
    2. org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
    3. org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:283)
    4. org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:147)
    4 frames
  4. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  5. Jetty Server
    Server.doStart
    1. org.mortbay.jetty.Server.doStart(Server.java:235)
    1 frame
  6. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  7. org.sonatype.nexus
    Nexus1197CheckUserAgentIT.setUp
    1. org.sonatype.nexus.integrationtests.nexus1197.Nexus1197CheckUserAgentIT.setUp(Nexus1197CheckUserAgentIT.java:55)
    1 frame