pacojerte / svgweb

Automatically exported from code.google.com/p/svgweb
Other
0 stars 0 forks source link

web server issue - Address already in use #624

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Follow the Quick start document in Getting Started 
To run the web server simply go into the SVG Web distribution and type the 
following into a command line:
java -jar src/tools/webserver.jar
2.
3.

What is the expected output? What do you see instead?
Web server to start

however it doesn't start, it shows

Starting web server on port 8080 on 127.0.0.1
2011-07-31 09:14:51.094::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2011-07-31 09:14:51.121::INFO:  jetty-6.1.19
2011-07-31 09:14:51.172::WARN:  failed SocketConnector@127.0.0.1:8080
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(Unknown Source)
        at java.net.ServerSocket.<init>(Unknown Source)
        at org.mortbay.jetty.bio.SocketConnector.newServerSocket(SocketConnector
.java:80)
        at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
        at org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:28
3)
        at org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:14
7)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
        at org.mortbay.jetty.Server.doStart(Server.java:235)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
        at WebServer.main(WebServer.java:49)
2011-07-31 09:14:51.175::WARN:  failed Server@1fc4bec
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(Unknown Source)
        at java.net.ServerSocket.<init>(Unknown Source)
        at org.mortbay.jetty.bio.SocketConnector.newServerSocket(SocketConnector
.java:80)
        at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
        at org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:28
3)
        at org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:14
7)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
        at org.mortbay.jetty.Server.doStart(Server.java:235)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
        at WebServer.main(WebServer.java:49)
Exception in thread "main" java.net.BindException: Address already in use: JVM_B
ind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(Unknown Source)
        at java.net.ServerSocket.bind(Unknown Source)
        at java.net.ServerSocket.<init>(Unknown Source)
        at org.mortbay.jetty.bio.SocketConnector.newServerSocket(SocketConnector
.java:80)
        at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
        at org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:28
3)
        at org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:14
7)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
        at org.mortbay.jetty.Server.doStart(Server.java:235)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
        at WebServer.main(WebServer.java:49)

How do I not only specify another IP, but also a port. Or are there any other 
known solutions

What version of the product are you using? On what operating system,
browser, and version of Flash?
svgweb-2011-02-03-Lurker-Above
Windows7 
All major browsers

Please provide any additional information below. Reduced test cases are
always appreciated!

Original issue reported on code.google.com by dineshsl...@gmail.com on 30 Jul 2011 at 11:16