Share
View previous topicGo downView next topic
tofuburger
Posts : 2
Join date : 2013-05-01

Selenium different dirver problem

on Wed May 01, 2013 9:27 pm
Hello,

any idea why i do get thiis stacktrace? what do i do wrong please give me some hind i am trying to run selenium standalone remote with all browser support. Firefox node alone is working.

Thats my batch file..
Code:
START "HUB" java -jar selenium-server-standalone-2.32.0.jar -role hub -maxSession 200
START "NODE" java -jar selenium-server-standalone-2.32.0.jar -Dwebdriver.ie.driver="C:\temp\IEDriverServer.exe" -role node -hub httpLink:4444/grid/register -maxSession 5 -browser browserName="internet explorer", maxInstances=10
//START "NODE" java -jar selenium-server-standalone-2.32.0.jar -role node -hub httpLink:4444/grid/register -maxSession 5 -browser browserName=firefox, maxInstances=10
//START "NODE" java -jar selenium-server-standalone-2.32.0.jar -Dwebdriver.ie.driver="C:\temp\chromedriver.exe" -role node -hub httpLink:9515/grid/register -maxSession 5 -browser browserName=chrome, maxInstances=10 -browser browserName=firefox, maxInstances=10


PS: had to replace some links with "httpLink", and "localhost" because i am to new...

Code:
01.05.2013 16:09:40 org.openqa.grid.selenium.GridLauncher main
INFO: Launching a selenium grid node
adding browserName=internet explorer,
Setting system property webdriver.ie.driver to C:\temp\IEDriverServer.exe
16:09:42.589 INFO - Java: Sun Microsystems Inc. 20.13-b02
16:09:42.592 INFO - OS: Windows 7 6.1 x86
16:09:42.618 INFO - v2.32.0, with Core v2.32.0. Built from revision 6c40c18
16:09:42.829 INFO - RemoteWebDriver instances should connect to: httpLink:5555/wd/hub
16:09:42.831 INFO - Version Jetty/5.1.x
16:09:42.832 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
16:09:42.834 INFO - Started HttpContext[/selenium-server,/selenium-server]
16:09:42.834 INFO - Started HttpContext[/,/]
16:09:42.838 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@1f78ef1
16:09:42.839 INFO - Started HttpContext[/wd,/wd]
16:09:42.842 INFO - Started SocketListener on 0.0.0.0:5555
16:09:42.843 INFO - Started org.openqa.jetty.jetty.Server@76cbf7
16:09:42.844 INFO - using the json request : {"class":"org.openqa.grid.common.RegistrationRequest","capabilities":[{"platform":"VISTA","brow
serName":"internet explorer"}],"configuration":{"port":5555,"Dwebdriver.ie.driver=C:\\temp\\IEDriverServer.exe":"","host":"10.0.1.9","hubHos
t":"10.0.1.9","registerCycle":5000,"hub":"httpLink:4444/grid/register","url":"httpLink:5555","remoteHost":"httpLink:555
5","register":true,"proxy":"org.openqa.grid.selenium.proxy.DefaultRemoteProxy","maxSession":5,"browser":"browserName=internet explorer,","ro
le":"node","hubPort":4444}}
16:09:42.851 INFO - starting auto register thread. Will try to register every 5000 ms.
16:09:42.852 INFO - Registering the node to hub :httpLink:4444/grid/register
16:09:48.475 INFO - Executing: org.openqa.selenium.remote.server.handler.Status@3dc0bb at URL: /status)
16:09:48.478 INFO - Done: /status
16:10:33.561 INFO - Executing: org.openqa.selenium.remote.server.handler.Status@1242b11 at URL: /status)
16:10:33.566 INFO - Done: /status
16:10:38.569 INFO - Executing: org.openqa.selenium.remote.server.handler.Status@137d090 at URL: /status)
16:10:38.572 INFO - Done: /status
16:10:41.792 INFO - Executing: [new session: {platform=WINDOWS, browserName=internet explorer, version=}] at URL: /session)
16:10:43.576 INFO - Executing: org.openqa.selenium.remote.server.handler.Status@29ce8c at URL: /status)
16:10:43.578 INFO - Done: /status
16:10:48.582 INFO - Executing: org.openqa.selenium.remote.server.handler.Status@197bb7 at URL: /status)
16:10:48.584 INFO - Done: /status
16:10:53.589 INFO - Executing: org.openqa.selenium.remote.server.handler.Status@1b0bdc8 at URL: /status)
16:10:53.594 INFO - Done: /status
16:10:58.598 INFO - Executing: org.openqa.selenium.remote.server.handler.Status@aeea66 at URL: /status)
16:10:58.601 INFO - Done: /status
16:11:02.213 WARN - Exception thrown
java.util.concurrent.ExecutionException: org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException
Build info: version: '2.32.0', revision: '6c40c18', time: '2013-04-09 17:22:56'
System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.6.0_38'
Driver info: driver.version: unknown
        at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
        at java.util.concurrent.FutureTask.get(Unknown Source)
        at org.openqa.selenium.remote.server.DefaultSession.execute(DefaultSession.java:176)
        at org.openqa.selenium.remote.server.DefaultSession.(DefaultSession.java:112)
        at org.openqa.selenium.remote.server.DefaultSession.createSession(DefaultSession.java:89)
        at org.openqa.selenium.remote.server.DefaultDriverSessions.newSession(DefaultDriverSessions.java:89)
        at org.openqa.selenium.remote.server.handler.NewSession.handle(NewSession.java:63)
        at org.openqa.selenium.remote.server.rest.ResultConfig.handle(ResultConfig.java:201)
        at org.openqa.selenium.remote.server.JsonHttpRemoteConfig.handleRequest(JsonHttpRemoteConfig.java:192)
        at org.openqa.selenium.remote.server.DriverServlet.handleRequest(DriverServlet.java:201)
        at org.openqa.selenium.remote.server.DriverServlet.doPost(DriverServlet.java:167)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.openqa.selenium.remote.server.DriverServlet.service(DriverServlet.java:139)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.openqa.jetty.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
        at org.openqa.jetty.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:677)
        at org.openqa.jetty.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
        at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1526)
        at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1479)
        at org.openqa.jetty.http.HttpServer.service(HttpServer.java:914)
        at org.openqa.jetty.http.HttpConnection.service(HttpConnection.java:820)
        at org.openqa.jetty.http.HttpConnection.handleNext(HttpConnection.java:986)
        at org.openqa.jetty.http.HttpConnection.handle(HttpConnection.java:837)
        at org.openqa.jetty.http.SocketListener.handleConnection(SocketListener.java:243)
        at org.openqa.jetty.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.openqa.jetty.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException
Build info: version: '2.32.0', revision: '6c40c18', time: '2013-04-09 17:22:56'
System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.6.0_38'
Driver info: driver.version: unknown
        at org.openqa.selenium.remote.server.DefaultDriverFactory.callConstructor(DefaultDriverFactory.java:67)
        at org.openqa.selenium.remote.server.DefaultDriverFactory.newInstance(DefaultDriverFactory.java:51)
        at org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:215)
        at org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:1)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:169)
        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)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.openqa.selenium.remote.server.DefaultDriverFactory.callConstructor(DefaultDriverFactory.java:57)
        ... 9 more
Caused by: org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the
 remote server or browser start-up failure.
Build info: version: '2.32.0', revision: '6c40c18', time: '2013-04-09 17:22:56'
System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.6.0_38'
Driver info: driver.version: InternetExplorerDriver
        at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
        at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:216)
        at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:201)
        at org.openqa.selenium.ie.InternetExplorerDriver.setup(InternetExplorerDriver.java:105)
        at org.openqa.selenium.ie.InternetExplorerDriver.(InternetExplorerDriver.java:59)
        ... 14 more
Caused by: org.openqa.selenium.WebDriverException: Timed out waiting for driver server to start.
Build info: version: '2.32.0', revision: '6c40c18', time: '2013-04-09 17:22:56'
System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.6.0_38'
Driver info: driver.version: InternetExplorerDriver
        at org.openqa.selenium.remote.service.DriverService.start(DriverService.java:165)
        at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:62)
        at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:527)
        ... 18 more
Caused by: org.openqa.selenium.net.UrlChecker$TimeoutException: Timed out waiting for [localhost:42627/status] to be available after
20001 ms
        at org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:104)
        at org.openqa.selenium.remote.service.DriverService.start(DriverService.java:163)
        ... 20 more
Caused by: com.google.common.util.concurrent.UncheckedTimeoutException: java.util.concurrent.TimeoutException
        at com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimiter.java:143)
        at org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:79)
        ... 21 more
Caused by: java.util.concurrent.TimeoutException
        at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
        at java.util.concurrent.FutureTask.get(Unknown Source)
        at com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimiter.java:130)
        ... 22 more
16:11:02.309 WARN - Exception: null
16:11:03.605 INFO - Executing: org.openqa.selenium.remote.server.handler.Status@ae3364 at URL: /status)
16:11:03.609 INFO - Done: /status
View previous topicBack to topView next topic
Permissions in this forum:
You cannot reply to topics in this forum