-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
CentOS Linux 2.6.9-67.0.22.ELsmp running hudson v1.353 with the v1.3 selenium plugin
Tried running with java jdk 1.5 & 1.6
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.