i recently downloaded and unzipped 0.7.1, and am getting an error upon simply trying to execute the first google example in the tutorial. Please advise if i'm doing something wrong here, or if there's a legitimate malfunction here.
Thank you & regards,
- F.J.
my environment:
D:\data\downloads\qa\selenium\selenium-remote-control-0.7.1\server>java -version
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
my os is xp pro sp1: Version 5.1.2600 Service Pack 1 Build 2600
my iexplorer is: Version 6.0.2800.1106
msie default settings on all tabs & zones except:
no search from address bar.
no sites in any zones.
and here's the entire session, from startup to error.
D:\data\downloads\qa\selenium\selenium-remote-control-0.7.1\server>java -jar selenium-server.jar -interactive
Apr 10, 2006 12:28:40 AM org.mortbay.http.HttpServer doStart
INFO: Version Jetty/0.7.1
Apr 10, 2006 12:28:40 AM org.mortbay.util.Container start
INFO: Started HttpContext[/,/]
Apr 10, 2006 12:28:40 AM org.mortbay.util.Container start
INFO: Started HttpContext[/selenium-server,/selenium-server]
Apr 10, 2006 12:28:40 AM org.mortbay.util.Container start
INFO: Started HttpContext[/selenium-server/driver,/selenium-server/driver]
Apr 10, 2006 12:28:40 AM org.mortbay.http.SocketListener start
INFO: Started SocketListener on
0.0.0.0:4444
Apr 10, 2006 12:28:40 AM org.mortbay.util.Container start
INFO: Started org.mortbay.jetty.Server@22c95b
Entering interactive mode... type Selenium commands here (e.g: cmd=open&1=
http://www.yahoo.com)
cmd=getNewBrowserSession&1*iexplore&2=
http://www.google.com
---> Requesting
http://localhost:4444/selenium-server/driver?cmd=getNewBrowserSession&1*iexplore&2=http://www.google.com
queryString = cmd=getNewBrowserSession&1*iexplore&2=
http://www.google.com
Apr 10, 2006 12:29:00 AM org.mortbay.http.HttpConnection exception
WARNING: GET /selenium-server/driver/?cmd=getNewBrowserSession&1*iexplore&2=
http://www.google.com HTTP/1.1
java.lang.RuntimeException: java.io.IOException: CreateProcess: /selenium-server/SeleneseRunner.html?sessionId=1144643340109 error=3
at org.openqa.selenium.server.browserlaunchers.RuntimeExecutingBrowserLauncher.exec(RuntimeExecutingBrowserLauncher.java:45)
at org.openqa.selenium.server.browserlaunchers.RuntimeExecutingBrowserLauncher.launch(RuntimeExecutingBrowserLauncher.java:3
7)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowserSession(SeleniumDriverResourceHandler.java:198)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(SeleniumDriverResourceHandler.java:133)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleCommandRequest(SeleniumDriverResourceHandler.java:119)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(SeleniumDriverResourceHandler.java:93)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: java.io.IOException: CreateProcess: /selenium-server/SeleneseRunner.html?sessionId=1144643340109 error=3
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Win32Process.java:66)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at java.lang.Runtime.exec(Runtime.java:428)
at java.lang.Runtime.exec(Runtime.java:364)
at java.lang.Runtime.exec(Runtime.java:326)
at org.openqa.selenium.server.browserlaunchers.RuntimeExecutingBrowserLauncher.exec(RuntimeExecutingBrowserLauncher.java:43)
... 14 more
java.io.IOException: Server returned HTTP response code: 500 for URL:
http://localhost:4444/selenium-server/driver/?cmd=getNewBrowse
rSession&1*iexplore&2=
http://www.google.com
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:791)
at java.net.URLConnection.getContent(URLConnection.java:585)
at org.openqa.selenium.server.SeleniumServer$3.run(SeleniumServer.java:263)
at java.lang.Thread.run(Thread.java:534)