I've recently started using Super Dev Mode, and am launching the server and codeserver using the maven gwt plugin.
First I do "mvn:gwt-run" to start the regular dev mode server, then I run "mvn:run-codeserver" to run the codeserver. It works fine when I go to localhost:8888 and press the "Dev Mode On" bookmarklet. The problem I have is when I terminate both launches and then start them again.
I get this error when running the codeserver for the second time:
[ERROR] 2014-07-21 14:12:12.176:INFO:oejs.Server:jetty-8.y.z-SNAPSHOT
[ERROR] 2014-07-21 14:12:12.198:WARN:oejuc.AbstractLifeCycle:FAILED SelectChannelConnector@127.0.0.1:9876: java.net.BindException: Address already in use: bind
[ERROR] java.net.BindException: Address already in use: bind
[ERROR] at sun.nio.ch.Net.bind0(Native Method)
[ERROR] at sun.nio.ch.Net.bind(Net.java:444)
[ERROR] at sun.nio.ch.Net.bind(Net.java:436)
[ERROR] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
[ERROR] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
[ERROR] at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:187)
[INFO] [ERROR] [ERROR] cannot start web server
The only way of fixing the issue is to quit eclipse, terminate the java.exe process that is still running (and using ~2gb of memory) and then start eclipse again.
Is this a known error or is there something I'm not doing right?