java.io.IOException: Failed to start a listener: winstone.ajp13.Ajp13Listener

Jenkins JIRA | Stuart Lovegrove | 5 years ago
  1. 0

    On Jenkins 1.426 all is well however when I upgrade to 1.428 or 1.429 this error appears when starting!! C:\Documents and Settings\builder2\Desktop>java -Xmx1600M -jar F:\Hudson\hudson. war --httpPort=8080 Running from: F:\Hudson\hudson.war webroot: $user.home/.hudson [Winstone 2011/09/07 12:05:22] - Beginning extraction from war file Jenkins home directory: C:\Documents and Settings\builder2\.hudson found at: $us er.home/.hudson [Winstone 2011/09/07 12:05:46] - HTTP Listener started: port=8080 [Winstone 2011/09/07 12:05:46] - Winstone shutdown successfully [Winstone 2011/09/07 12:05:46] - Container startup failed java.io.IOException: Failed to start a listener: winstone.ajp13.Ajp13Listener at winstone.Launcher.spawnListener(Launcher.java:250) at winstone.Launcher.<init>(Launcher.java:203) at winstone.Launcher.main(Launcher.java:398) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at Main._main(Main.java:268) at Main.main(Main.java:96) Caused by: java.io.IOException: Failed to listen on port 8009 at winstone.ajp13.Ajp13Listener.start(Ajp13Listener.java:92) at winstone.Launcher.spawnListener(Launcher.java:241) ... 8 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.<init>(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at winstone.ajp13.Ajp13Listener.start(Ajp13Listener.java:87) ... 9 more Exception in thread "pool-2-thread-2" java.lang.NullPointerException at org.jvnet.hudson.reactor.Reactor$1.run(Reactor.java:153) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) 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) 07-Sep-2011 12:05:47 hudson.WebAppMain$2 run SEVERE: Failed to initialize Jenkins java.lang.InterruptedException at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:485) at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:244) at jenkins.model.Jenkins.executeReactor(Jenkins.java:814) at jenkins.model.Jenkins.<init>(Jenkins.java:728) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.model.Hudson.<init>(Hudson.java:77) at hudson.WebAppMain$2.run(WebAppMain.java:217) Exception in thread "pool-2-thread-1" java.lang.NullPointerException at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:191) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) 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)

    Jenkins JIRA | 5 years ago | Stuart Lovegrove
    java.io.IOException: Failed to start a listener: winstone.ajp13.Ajp13Listener
  2. 0

    On Jenkins 1.426 all is well however when I upgrade to 1.428 or 1.429 this error appears when starting!! C:\Documents and Settings\builder2\Desktop>java -Xmx1600M -jar F:\Hudson\hudson. war --httpPort=8080 Running from: F:\Hudson\hudson.war webroot: $user.home/.hudson [Winstone 2011/09/07 12:05:22] - Beginning extraction from war file Jenkins home directory: C:\Documents and Settings\builder2\.hudson found at: $us er.home/.hudson [Winstone 2011/09/07 12:05:46] - HTTP Listener started: port=8080 [Winstone 2011/09/07 12:05:46] - Winstone shutdown successfully [Winstone 2011/09/07 12:05:46] - Container startup failed java.io.IOException: Failed to start a listener: winstone.ajp13.Ajp13Listener at winstone.Launcher.spawnListener(Launcher.java:250) at winstone.Launcher.<init>(Launcher.java:203) at winstone.Launcher.main(Launcher.java:398) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at Main._main(Main.java:268) at Main.main(Main.java:96) Caused by: java.io.IOException: Failed to listen on port 8009 at winstone.ajp13.Ajp13Listener.start(Ajp13Listener.java:92) at winstone.Launcher.spawnListener(Launcher.java:241) ... 8 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.<init>(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at winstone.ajp13.Ajp13Listener.start(Ajp13Listener.java:87) ... 9 more Exception in thread "pool-2-thread-2" java.lang.NullPointerException at org.jvnet.hudson.reactor.Reactor$1.run(Reactor.java:153) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) 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) 07-Sep-2011 12:05:47 hudson.WebAppMain$2 run SEVERE: Failed to initialize Jenkins java.lang.InterruptedException at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:485) at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:244) at jenkins.model.Jenkins.executeReactor(Jenkins.java:814) at jenkins.model.Jenkins.<init>(Jenkins.java:728) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.model.Hudson.<init>(Hudson.java:77) at hudson.WebAppMain$2.run(WebAppMain.java:217) Exception in thread "pool-2-thread-1" java.lang.NullPointerException at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:191) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) 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)

    Jenkins JIRA | 5 years ago | Stuart Lovegrove
    java.io.IOException: Failed to start a listener: winstone.ajp13.Ajp13Listener
  3. 0

    Can not run Jenkins on Mac

    Stack Overflow | 5 years ago
    java.io.IOException: Failed to start a listener: winstone.ajp13.Ajp13Listener
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Running from: C:\Users\verakot\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\24\5ef66b98-2d9c8352 webroot: $user.home/.jenkins Aug 6, 2012 4:53:35 PM winstone.Logger logInternal INFO: Beginning extraction from war file Jenkins home directory: C:\Users\verakot\.jenkins found at: $user.home/.jenkins Aug 6, 2012 4:53:40 PM winstone.Logger logInternal INFO: Winstone shutdown successfully Aug 6, 2012 4:53:40 PM winstone.Logger logInternal SEVERE: Container startup failed java.io.IOException: Failed to start a listener: winstone.HttpListener at winstone.Launcher.spawnListener(Launcher.java:229) at winstone.Launcher.<init>(Launcher.java:181) at winstone.Launcher.main(Launcher.java:384) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at Main._main(Main.java:273) at Main.main(Main.java:98) at JNLPMain.main(JNLPMain.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: Failed to listen on port 8080 at winstone.HttpListener.getServerSocket(HttpListener.java:119) at winstone.HttpListener.start(HttpListener.java:72) at winstone.Launcher.spawnListener(Launcher.java:220) ... 18 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.<init>(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at winstone.HttpListener.getServerSocket(HttpListener.java:114) ... 20 more

    Jenkins JIRA | 4 years ago | Vera Kot
    java.io.IOException: Failed to start a listener: winstone.HttpListener

  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: 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)
    5. java.net.ServerSocket.<init>(Unknown Source)
    5 frames
  3. winstone.ajp13
    Ajp13Listener.start
    1. winstone.ajp13.Ajp13Listener.start(Ajp13Listener.java:87)
    1 frame
  4. winstone
    Launcher.main
    1. winstone.Launcher.spawnListener(Launcher.java:241)
    2. winstone.Launcher.<init>(Launcher.java:203)
    3. winstone.Launcher.main(Launcher.java:398)
    3 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  6. Unknown
    Main.main
    1. Main._main(Main.java:268)
    2. Main.main(Main.java:96)
    2 frames