exception occurs when set up selenium server environment

15 views
Skip to first unread message

Paul Wu

unread,
Jan 30, 2009, 11:31:02 PM1/30/09
to selenium-users...@googlegroups.com
I am a new user of selenium RC, and I encountered an exception when set up selenium server environment.  Who can tell me what is the reason and how to solve it?

The following is the commands I typed:

\\ >java -jar selenium-server.jar -interactive

Exception occurs in this line:
22:27:26.078  warn-failed to start: SocketL...@0.0.0.0:4444
Exception in thread "main" org.mortbay.util.MultiException[java.net.BindException: Address already in use: JVM_Bind]
        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.BindException: Address already in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(Unknown Source)
        at Java.net.ServerSocket.bind(Unknow 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)

It is very appreciated if someone can tell me how to solve the problem. {emoticon:__jive_emoticon_name=happy}

Paul Wu

unread,
Jan 31, 2009, 11:12:40 PM1/31/09
to selenium-users...@googlegroups.com
netstat doesn't show any 4444 port is occupied

Reply all
Reply to author
Forward
0 new messages