Yuval, Can you successfully create, and debug, a new project from Eclipse? Also, does it help if you set gwt.codesvr=localhost:9997?
On Tue, Dec 22, 2009 at 5:58 AM, Yuval <yuval.metro...@gmail.com> wrote: > Hello everybody, > > I am new to GWT and need some help. I have recently downloaded GWT 2.0 > as an Ecplise plugin + SDK. > Following the "Getting started" tutorial I have created a new GWT > application project in Eclipse, StockWatcher. I have made no changes > to the generated application. > > The application was created successfully, so I tried to run it locally > using "Run As -> Web Application" (with the Google icon). Then I > copied the suggested URL from Development Mode tab and pasted into the > browser (Chrome 4 with GWT extension): > http://localhost:8888/StockWatcher.html?gwt.codesvr=10.0.0.1:9997 > > I was expecting to view the default page normally, but it turned out > that only the static elements of the web page (the headline "Web > Application Starter Project" and label "Please enter your name:") were > displayed. After a while, a message box pops up: "Plugin failed to > connect to hosted mode server at 10.0.0.1:9997". When I close it I get > a blackened screen with: > "GWT Code Server Disconnected > Most likely, you closed GWT development mode. Or you might have lost > network connectivity. To fix this, try restarting GWT Development Mode > and REFRESH this page." > > This of course happening each time no matter what I do. > > Then I tried to compile the project and go directly to > http://localhost:8888/StockWatcher.html , without the gwt.codesvr > parameter. It did work, but that means that I can only work by > compiling the code each time I want to test it (and probably can't > debug). > > At first I thought this might be a firewall issue (although i'm not > sure that accessing localhost should be a firewall concern), but to be > on the safe side I have opened the ports 8888 and 9997. It didn't > help. > > Any ideas? > > Thanks, > Yuval > > -- > > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.