Re: GWT 2.0: Plugin failed to connect to hosted mode server
I suspect when you were using the ip address rather than localhost, the GWT Dev Plugin was unable to connect to the GWT code server. As a result it was not able to load (actually inject) the dynamic portions of your project (e.g. all of the GWT Java code). This is typically a result of some security restriction(s) set on your machine. - Chris On Tue, Dec 22, 2009 at 2:42 PM, Yuval yuval.metro...@gmail.com wrote: Hi Chris Yes - using localhost:9997 did solve the problem! Thank you. I could create the project before but not debug it - it didn't even call the Java code, as I explained it showed only the static HTML. Can you explain the difference? Thanks Yuval On Dec 22, 5:50 pm, Chris Ramsdale cramsd...@google.com wrote: 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:/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:/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 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@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.comgoogle-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.
GWT 2.0: Plugin failed to connect to hosted mode server
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:/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:/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 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. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.0: Plugin failed to connect to hosted mode server
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:/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:/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 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.comgoogle-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.
Re: GWT 2.0: Plugin failed to connect to hosted mode server
Hi Chris Yes - using localhost:9997 did solve the problem! Thank you. I could create the project before but not debug it - it didn't even call the Java code, as I explained it showed only the static HTML. Can you explain the difference? Thanks Yuval On Dec 22, 5:50 pm, Chris Ramsdale cramsd...@google.com wrote: 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:/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:/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 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.comgoogle-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.