[JIRA] Created: (SRC-749) selenium RC server is not being started

12 views
Skip to first unread message

rajeev (JIRA)

unread,
Sep 9, 2009, 8:24:38 AM9/9/09
to selenium-deve...@googlegroups.com
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


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 (JIRA)

unread,
Sep 15, 2009, 9:35:53 PM9/15/09
to selenium-deve...@googlegroups.com

[ http://jira.openqa.org/browse/SRC-749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_18625 ]

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 (JIRA)

unread,
Sep 15, 2009, 11:59:53 PM9/15/09
to selenium-deve...@googlegroups.com

[ http://jira.openqa.org/browse/SRC-749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_18626 ]

rajeev commented on SRC-749:
----------------------------

yes i am running server as admin.

rajeev (JIRA)

unread,
Sep 16, 2009, 12:01:53 AM9/16/09
to selenium-deve...@googlegroups.com

[ http://jira.openqa.org/browse/SRC-749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_18627 ]

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 (JIRA)

unread,
Jun 18, 2010, 9:18:31 AM6/18/10
to selenium-deve...@googlegroups.com

[ http://jira.openqa.org/browse/SRC-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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 (JIRA)

unread,
Jan 7, 2012, 4:52:09 AM1/7/12
to selenium-deve...@googlegroups.com

[ http://jira.openqa.org/browse/SRC-749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20390#action_20390 ]

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 (JIRA)

unread,
Jan 7, 2012, 12:11:08 PM1/7/12
to selenium-deve...@googlegroups.com

[ http://jira.openqa.org/browse/SRC-749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20391#action_20391 ]

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

ARMS (JIRA)

unread,
May 21, 2012, 9:46:50 AM5/21/12
to selenium-deve...@googlegroups.com

[ http://jira.openqa.org/browse/SRC-749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20440#action_20440 ]

ARMS commented on SRC-749:
--------------------------

Hi Rohin,


I am unable too with this problem. Have you fixed this problem?

Regards, Arms.

> 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
Reply all
Reply to author
Forward
0 new messages