stopping jetty and running an app in Eclipse

31 views
Skip to first unread message

leslie

unread,
Dec 11, 2012, 4:44:20 PM12/11/12
to google-we...@googlegroups.com

I'm attempting to run a web application in Eclipse Indigo with GWT 2.5.  I've selected my project, I select "Debug As" and I select the Web application option with the GWT image.  I choose my entry page from the list, hit ok.  But the Console is showing the exception stack with the Address already in Use exception.  I hit the red square in Development Mode, wait, and repeat the steps above.  I am still getting the BindException because jetty is apparently still running.  


Can someone help me to stop Jetty and run the application?  Thanks so much for any assistance.

Jens

unread,
Dec 11, 2012, 4:52:53 PM12/11/12
to google-we...@googlegroups.com
Simply kill the java process (but don't choose the java process with a lot of assigned memory as thats probably Eclipse itself).

But actually it does not have to be Jetty that uses the port. Maybe you have a webserver/proxy or something else running on port 8888? You can also configure the generated run configuration in Eclipse to use an unused port that will be randomly chosen when starting DevMode.

-- J.

leslie

unread,
Dec 12, 2012, 1:54:34 PM12/12/12
to google-we...@googlegroups.com
Thanks for your response - I don't know what change was made but I'm no longer having an issue with this.  I see that the red square in the Development Mode window appears to be shutting down Jetty predictably now.  
But I really appreciate your time to respond.  Thanks.
Reply all
Reply to author
Forward
0 new messages