hudson.util.IOException2: Failed to initialize

Jenkins JIRA | davej409 | 7 years ago
  1. 0

    Installed the plugin and restarted hudson process but the selenium plugin does not show up. Looking in the logs I found these and couldn't figure out how to resolve. Any assistance is appreciated. hudson.log shows: ---------------------------------------- SEVERE: Failed Loading plugin selenium hudson.util.IOException2: Failed to initialize at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:283) at hudson.PluginManager$1$3$3$1.run(PluginManager.java:236) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at hudson.model.Hudson$3.runTask(Hudson.java:647) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.net.SocketTimeoutException: Accept timed out at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390) at java.net.ServerSocket.implAccept(ServerSocket.java:453) at java.net.ServerSocket.accept(ServerSocket.java:421) at hudson.slaves.Channels.newJVM(Channels.java:180) at hudson.plugins.selenium.PluginImpl.createSeleniumGridVM(PluginImpl.java:193) at hudson.plugins.selenium.PluginImpl.start(PluginImpl.java:79) at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:291) at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:280) $HUDSON_HOME/.hudson/selenium.log shows: --------------------------------------------- Starting Selenium Grid [selenium-grid] $ /usr/java/jdk1.6.0_19/jre/bin/java -cp /var/oculan/hudson/lib/slave.jar hudson.remoting.Launcher -cp /var/oculan/hudson/.hudson/selenium-grid/lib/log4j-1.2.14.jar:/var/oculan/hudson/.hudson/selenium-grid/lib/selenium-grid-hub-standalone-1.0.4.jar -connectTo localhost:35087 Invalid option: -cp java -jar slave.jar [options...] -text : encode communication with the master with base64. Useful for running slave over 8-bit unsafe protocol like telnet. -jnlpUrl <url> : instead of talking to the master via stdin/stdout, emulate a JNLP client by making a TCP connection to the master. Connection parameters are obtained by parsing the JNLP file. -noCertificateCheck : bypass HTTPS certificate checks altogether. -tcp <file> : instead of talking to the master via stdin/stdout, listens to a random local port, write that port number to the given file, then wait for the master to connect to that port.

    Jenkins JIRA | 7 years ago | davej409
    hudson.util.IOException2: Failed to initialize
  2. 0

    Installed the plugin and restarted hudson process but the selenium plugin does not show up. Looking in the logs I found these and couldn't figure out how to resolve. Any assistance is appreciated. hudson.log shows: ---------------------------------------- SEVERE: Failed Loading plugin selenium hudson.util.IOException2: Failed to initialize at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:283) at hudson.PluginManager$1$3$3$1.run(PluginManager.java:236) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at hudson.model.Hudson$3.runTask(Hudson.java:647) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.net.SocketTimeoutException: Accept timed out at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390) at java.net.ServerSocket.implAccept(ServerSocket.java:453) at java.net.ServerSocket.accept(ServerSocket.java:421) at hudson.slaves.Channels.newJVM(Channels.java:180) at hudson.plugins.selenium.PluginImpl.createSeleniumGridVM(PluginImpl.java:193) at hudson.plugins.selenium.PluginImpl.start(PluginImpl.java:79) at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:291) at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:280) $HUDSON_HOME/.hudson/selenium.log shows: --------------------------------------------- Starting Selenium Grid [selenium-grid] $ /usr/java/jdk1.6.0_19/jre/bin/java -cp /var/oculan/hudson/lib/slave.jar hudson.remoting.Launcher -cp /var/oculan/hudson/.hudson/selenium-grid/lib/log4j-1.2.14.jar:/var/oculan/hudson/.hudson/selenium-grid/lib/selenium-grid-hub-standalone-1.0.4.jar -connectTo localhost:35087 Invalid option: -cp java -jar slave.jar [options...] -text : encode communication with the master with base64. Useful for running slave over 8-bit unsafe protocol like telnet. -jnlpUrl <url> : instead of talking to the master via stdin/stdout, emulate a JNLP client by making a TCP connection to the master. Connection parameters are obtained by parsing the JNLP file. -noCertificateCheck : bypass HTTPS certificate checks altogether. -tcp <file> : instead of talking to the master via stdin/stdout, listens to a random local port, write that port number to the given file, then wait for the master to connect to that port.

    Jenkins JIRA | 7 years ago | davej409
    hudson.util.IOException2: Failed to initialize
  3. 0

    Re: java.net.SocketTimeoutException: Accept timed out

    Google Groups | 6 years ago | martin-ro
    java.net.SocketTimeoutException: Accept timed out
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins users - java.net.SocketTimeoutException: Accept timed out

    nabble.com | 7 months ago
    java.net.SocketTimeoutException: Accept timed out

    7 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.SocketTimeoutException

      Accept timed out

      at java.net.PlainSocketImpl.socketAccept()
    2. Java RT
      ServerSocket.accept
      1. java.net.PlainSocketImpl.socketAccept(Native Method)
      2. java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
      3. java.net.ServerSocket.implAccept(ServerSocket.java:453)
      4. java.net.ServerSocket.accept(ServerSocket.java:421)
      4 frames
    3. Hudson
      Channels.newJVM
      1. hudson.slaves.Channels.newJVM(Channels.java:180)
      1 frame
    4. hudson.plugins.selenium
      PluginImpl.start
      1. hudson.plugins.selenium.PluginImpl.createSeleniumGridVM(PluginImpl.java:193)
      2. hudson.plugins.selenium.PluginImpl.start(PluginImpl.java:79)
      2 frames
    5. Hudson
      ClassicPluginStrategy.load
      1. hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:291)
      2. hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:280)
      2 frames