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}