Key: SRC-749
URL: http://jira.openqa.org/browse/SRC-749
Project: Selenium Remote Control
Issue Type: Bug
Components: Server
Affects Versions: 1.0
Environment: Selenium server
Reporter: rajeev
Priority: Major
1. I have windows vista installed machine
2. Now trying to run the selenium server using java -jar selenium-server. jar
but following exception is being displayed:
22:39:59.538 INFO - Java: Sun Microsystems Inc. 14.1-b02
22:39:59.538 INFO - OS: Windows Vista 6.0 x86
22:39:59.538 INFO - v1.0-beta-1 [2201], with Core v1.0-beta-1 [1994]
22:39:59.616 INFO - Version Jetty/5.1.x
22:39:59.616 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
22:39:59.616 INFO - Started HttpContext[/selenium-server,/selenium-server]
22:39:59.616 INFO - Started HttpContext[/,/]
22:39:59.679 WARN - Failed to start: SocketL...@0.0.0.0:4444
Exception in thread "main" org.mortbay.util.MultiException[java.net.SocketException: Permission denied: listen failed]
at org.mortbay.http.HttpServer.doStart(HttpServer.java:686)
at org.mortbay.util.Container.start(Container.java:72)
at org.openqa.selenium.server.SeleniumServer.start(SeleniumServer.java:859)
at org.openqa.selenium.server.SeleniumServer.main(SeleniumServer.java:372)
java.net.SocketException: Permission denied: listen failed
at java.net.PlainSocketImpl.socketListen(Native Method)
at java.net.PlainSocketImpl.listen(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.mortbay.util.ThreadedServer.newServerSocket(ThreadedServer.java:391)
at org.mortbay.util.ThreadedServer.open(ThreadedServer.java:477)
at org.mortbay.util.ThreadedServer.start(ThreadedServer.java:503)
at org.mortbay.http.SocketListener.start(SocketListener.java:203)
at org.mortbay.http.HttpServer.doStart(HttpServer.java:716)
at org.mortbay.util.Container.start(Container.java:72)
at org.openqa.selenium.server.SeleniumServer.start(SeleniumServer.java:859)
at org.openqa.selenium.server.SeleniumServer.main(SeleniumServer.java:372)
i tried to change the port as well on place of 4444, but still not able to start the server.
why above error is being displayed, please help me out.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.openqa.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
adam goucher commented on SRC-749:
----------------------------------
Is the user you are running the server as an administrator? If not, that is usually the culprit.
-adam
rajeev commented on SRC-749:
----------------------------
yes i am running server as admin.
rajeev commented on SRC-749:
----------------------------
anyway i have fixed the problem after putting so much efforts actually it was related to rights in java policy file
Kevin Menard closed SRC-749.
----------------------------
Resolution: Won't Fix
Fix Version/s: 1.0.4
It looks like this was user error. Please reopen if there is a real bug here.
> selenium RC server is not being started
> ---------------------------------------
>
> Key: SRC-749
> URL: http://jira.openqa.org/browse/SRC-749
> Project: Selenium Remote Control
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.0
> Environment: Selenium server
> Reporter: rajeev
> Priority: Major
> Fix For: 1.0.4
Rohin commented on SRC-749:
---------------------------
Hi Rajeev,
Can you please let me know how you resolved this issue ? I am getting the same error on Vista OS. Unable to resolve this. Pls help.
Regards,
Rohin
> selenium RC server is not being started
> ---------------------------------------
>
> Key: SRC-749
> URL: http://jira.openqa.org/browse/SRC-749
> Project: Selenium Remote Control
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.0
> Environment: Selenium server
> Reporter: rajeev
> Priority: Major
> Fix For: 1.0.4
Rohin commented on SRC-749:
---------------------------
I am unable to start selenium RC server on my vista machine
1. I am admin on my machine
2. Tried to change the port to 4444 but it is throwing the same error.
3. Same issue as SRC-749
C:\Selenim_scripts>java -jar selenium-server-standalone-2.15.0.jar -port 8888
07-Jan-2012 22:21:41 org.openqa.grid.selenium.GridLauncher main
INFO: Launching a standalone server
22:21:44.935 INFO - Java: Sun Microsystems Inc. 10.0-b22
22:21:44.951 INFO - OS: Windows Vista 6.0 x86
22:21:44.982 INFO - v2.15.0, with Core v2.15.0. Built from revision 15105
22:21:45.325 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:8888/wd/hub
22:21:45.325 INFO - Version Jetty/5.1.x
22:21:45.341 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
22:21:45.341 INFO - Started HttpContext[/selenium-server,/selenium-server]
22:21:45.356 INFO - Started HttpContext[/,/]
22:21:45.419 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@177b3cd
22:21:45.419 INFO - Started HttpContext[/wd,/wd]
22:21:45.434 WARN - Failed to start: SocketL...@0.0.0.0:8888
Exception in thread "main" org.openqa.jetty.util.MultiException[java.net.SocketException: Permission
denied: listen failed]
at org.openqa.jetty.http.HttpServer.doStart(HttpServer.java:686)
at org.openqa.jetty.util.Container.start(Container.java:72)
at org.openqa.selenium.server.SeleniumServer.start(SeleniumServer.java:461)
at org.openqa.selenium.server.SeleniumServer.boot(SeleniumServer.java:282)
at org.openqa.selenium.server.SeleniumServer.main(SeleniumServer.java:245)
at org.openqa.grid.selenium.GridLauncher.main(GridLauncher.java:54)
java.net.SocketException: Permission denied: listen failed
at java.net.PlainSocketImpl.socketListen(Native Method)
at java.net.PlainSocketImpl.listen(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.openqa.jetty.util.ThreadedServer.newServerSocket(ThreadedServer.java:391)
at org.openqa.jetty.util.ThreadedServer.open(ThreadedServer.java:477)
at org.openqa.jetty.util.ThreadedServer.start(ThreadedServer.java:503)
at org.openqa.jetty.http.SocketListener.start(SocketListener.java:202)
at org.openqa.jetty.http.HttpServer.doStart(HttpServer.java:716)
at org.openqa.jetty.util.Container.start(Container.java:72)
at org.openqa.selenium.server.SeleniumServer.start(SeleniumServer.java:461)
at org.openqa.selenium.server.SeleniumServer.boot(SeleniumServer.java:282)
at org.openqa.selenium.server.SeleniumServer.main(SeleniumServer.java:245)
at org.openqa.grid.selenium.GridLauncher.main(GridLauncher.java:54)
> selenium RC server is not being started
> ---------------------------------------
>
> Key: SRC-749
> URL: http://jira.openqa.org/browse/SRC-749
> Project: Selenium Remote Control
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.0
> Environment: Selenium server
> Reporter: rajeev
> Priority: Major
> Fix For: 1.0.4