admc/wd — Issue #4: Not working with grid2 hub yet?
Author: baechul
Created: 2011-11-02 21:30:23+00:00
State: open

I passed grid2 hub server host and port to the remote method.
A simple test(just getting a page) failed with

Error: The environment you requested was unavailable.

Reason:

{"status":13,"value":{"message":"Error forwarding the new session cannot find : {platform=ANY, javascriptEnabled=true, browserName=firefox, version=}","class":"org.openqa.grid.internal.GridException","stackTrace":[{"fileName":"RequestHandler.java","lineNumber":143,"className":"org.openqa.grid.web.servlet.handler.RequestHandler","methodName":"process"},{"fileName":"DriverServlet.java","lineNumber":79,"className":"org.openqa.grid.web.servlet.DriverServlet","methodName":"process"},{"fileName":"DriverServlet.java","lineNumber":65,"className":"org.openqa.grid.web.servlet.DriverServlet","methodName":"doPost"},{"fileName":"HttpServlet.java","lineNumber":727,"className":"javax.servlet.http.HttpServlet","methodName":"service"},{"fileName":"HttpServlet.java","lineNumber":820,"className":"javax.servlet.http.HttpServlet","methodName":"service"},{"fileName":"ServletHolder.java","lineNumber":428,"className":"org.openqa.jetty.jetty.servlet.ServletHolder","methodName":"handle"},{"fileName":"WebApplicationHandler.java","lineNumber":473,"className":"org.openqa.jetty.jetty.servlet.WebApplicationHandler","methodName":"dispatch"},{"fileName":"ServletHandler.java","lineNumber":568,"className":"org.openqa.jetty.jetty.servlet.ServletHandler","methodName":"handle"},{"fileName":"HttpContext.java","lineNumber":1530,"className":"org.openqa.jetty.http.HttpContext","methodName":"handle"},{"fileName":"WebApplicationContext.java","lineNumber":633,"className":"org.openqa.jetty.jetty.servlet.WebApplicationContext","methodName":"handle"},{"fileName":"HttpContext.java","lineNumber":1482,"className":"org.openqa.jetty.http.HttpContext","methodName":"handle"},{"fileName":"HttpServer.java","lineNumber":909,"className":"org.openqa.jetty.http.HttpServer","methodName":"service"},{"fileName":"HttpConnection.java","lineNumber":820,"className":"org.openqa.jetty.http.HttpConnection","methodName":"service"},{"fileName":"HttpConnection.java","lineNumber":986,"className":"org.openqa.jetty.http.HttpConnection","methodName":"handleNext"},{"fileName":"HttpConnection.java","lineNumber":837,"className":"org.openqa.jetty.http.HttpConnection","methodName":"handle"},{"fileName":"SocketListener.java","lineNumber":243,"className":"org.openqa.jetty.http.SocketListener","methodName":"handleConnection"},{"fileName":"ThreadedServer.java","lineNumber":357,"className":"org.openqa.jetty.util.ThreadedServer","methodName":"handle"},{"fileName":"ThreadPool.java","lineNumber":534,"className":"org.openqa.jetty.util.ThreadPool$PoolThread","methodName":"run"}]}}