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

eltima.com | 2 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    JVM_Bind Address already in use error

    eltima.com | 2 months ago
    java.net.BindException: Address already in use: JVM_Bind
  2. 0

    Why doesn't the selenium grid hub free up it's port on exit?

    Google Groups | 7 years ago | tom ketchup
    java.net.BindException: Address already in use: JVM_Bind
  3. 0

    Youtube Data API v3 oAuth2 failing to change permissions

    Stack Overflow | 1 year ago | BossLetsPlays
    java.io.IOException: java.net.BindException: Address already in use: JVM_Bind
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Wiremock unit test failing locally - java.net.BindException: Address already in use: JVM_Bind

    Stack Overflow | 2 years ago | nmartinez
    java.lang.RuntimeException: java.net.BindException: Address already in use: JVM_Bind
  6. 0

    I have 2 independent Hudson servers on the same machine, in different folders, using different ports (3128 and 3129), and I want to launch them both. When I launch the first, everything works ok. When I launch the second, after about 1 minute of "Please wait until Hudson initializes" messages, I get this error instead of having it initialized. I tried starting them alternatively, it's always when the other Hudson is started that this happens. hudson.util.IOException2: Failed to wait for the Hub launch to complete at hudson.plugins.selenium.ComputerListenerImpl.onOnline(ComputerListenerImpl.java:103) at hudson.model.Hudson.(Hudson.java:631) at hudson.model.Hudson.(Hudson.java:541) at hudson.WebAppMain$2.run(WebAppMain.java:222) Caused by: java.util.concurrent.ExecutionException: java.net.BindException: Address already in use: JVM_Bind at hudson.remoting.Channel$1.adapt(Channel.java:584) at hudson.remoting.Channel$1.adapt(Channel.java:579) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.plugins.selenium.PluginImpl.waitForHubLaunch(PluginImpl.java:106) at hudson.plugins.selenium.ComputerListenerImpl.onOnline(ComputerListenerImpl.java:101) ... 3 more Caused by: java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(Unknown Source) at java.net.ServerSocket.bind(Unknown Source) at java.net.ServerSocket.(Unknown Source) at java.net.ServerSocket.(Unknown Source) at org.mortbay.jetty.bio.SocketConnector.newServerSocket(SocketConnector.java:78) at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:72) at org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:251) at org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:145) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.Server.doStart(Server.java:239) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at hudson.plugins.selenium.HubLauncher.start(HubLauncher.java:70) at hudson.plugins.selenium.HubLauncher.call(HubLauncher.java:45) at hudson.plugins.selenium.HubLauncher.call(HubLauncher.java:25) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) It started happening since around build 1.350 (but I don't remember exactly which).

    Jenkins JIRA | 7 years ago | fbaboschi
    hudson.util.IOException2: Failed to wait for the Hub launch to complete

  1. iridic 1 times, last 3 months ago
  2. linxiaolong 1 times, last 6 months ago
  3. jedcua 1 times, last 6 months ago
  4. Justin 2 times, last 7 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: JVM_Bind

    at java.net.PlainSocketImpl.socketBind()
  2. Java RT
    ServerSocket.<init>
    1. java.net.PlainSocketImpl.socketBind(Native Method)
    2. java.net.PlainSocketImpl.bind(Unknown Source)
    3. java.net.ServerSocket.bind(Unknown Source)
    4. java.net.ServerSocket.<init>(Unknown Source)
    4 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:272)
    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:39)
    1 frame
  5. Jetty Server
    Server.doStart
    1. org.mortbay.jetty.Server.doStart(Server.java:233)
    1 frame
  6. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    1 frame
  7. org.pentaho.di
    Carte.main
    1. org.pentaho.di.www.WebServer.startServer(WebServer.java:199)
    2. org.pentaho.di.www.WebServer.<init>(WebServer.java:55)
    3. org.pentaho.di.www.Carte.<init>(Carte.java:46)
    4. org.pentaho.di.www.Carte.runCarte(Carte.java:82)
    5. org.pentaho.di.www.Carte.main(Carte.java:62)
    5 frames