The clue is right there at the bottom of the stack trace: Port 127.0.0.1:8888 is already is use; you probably still have another session active
You'll need to kill the old session before you can start a new one. (If you're not sure how to do that, try restarting Eclipse.) On Nov 19, 11:35 pm, "Z.A Jafari" <[email protected]> wrote: > Hello there, > > i am running eclipse indigo. i am new to GWT and suddenly i am not able to > run my test app becsue i get this error. how do i restart the jetty server. > by the way if i want to use Tomcat instead of Jetty how can i do it.links > and tutorials will be appreciated. > > Starting Jetty on port 8888 > [WARN] failed [email protected]:8888 > java.net.BindException: Address already in use: bind > at sun.nio.ch.Net.bind(Native Method) > at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) > at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) > at > org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.ja > va:205) > at > org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector > .java:304) > at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) > at org.mortbay.jetty.Server.doStart(Server.java:233) > at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) > at > com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:672) > at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509) > at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068) > at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811) > at com.google.gwt.dev.DevMode.main(DevMode.java:311) > [WARN] failed Server@e19358 > java.net.BindException: Address already in use: bind > at sun.nio.ch.Net.bind(Native Method) > at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) > at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) > at > org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.ja > va:205) > at > org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector > .java:304) > at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) > at org.mortbay.jetty.Server.doStart(Server.java:233) > at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) > at > com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:672) > at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509) > at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068) > at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811) > at com.google.gwt.dev.DevMode.main(DevMode.java:311) > [ERROR] shell failed in doStartupServer method > Port 127.0.0.1:8888 is already is use; you probably still have another > session active -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
