I've tried building a VERY simple GWT project both in Netbeans and Eclipse that contained an RPC service. As SOON as I took the application offline, it couldn't perform an RPC service as simple as returning a string, got the same "check network connection" error. Is there a specific way I have to access the application by URL? Is there a setting I have to enable? If so, what is it?
Thanks very much for your time. On Aug 4, 3:51 pm, Dominic Holt <[email protected]> wrote: > Yes, everything is on the same machine. The address that displays in > the browser when the application is running ishttp://localhost:8080/AppName/ > > On Aug 4, 3:25 pm, jhulford <[email protected]> wrote: > > > > > Is the server on the same machine as as your development environment? > > ie. is this all done locally via RPC to the loopback or localhost > > address? > > > On Aug 4, 12:29 pm, Dominic Holt <[email protected]> wrote: > > > > Absolutely, I'd be happy to give more details. I'll try and give a > > > brief overview first, if I'm missing some information you may need > > > please don't hesitate to ask for it. > > > > Essentially I use NetBeans as my IDE, I also have the GWT4NB plugin. > > > It's pretty standard as far as RPC calls go, I have a MainEntryPoint > > > class where all the lovely GUI things happen, and then of course under > > > the client package I have classes called GWTService and > > > GWTServiceAsync. Under the server package I have the Implementation of > > > the service. If I'm online, all the service stuff works just fine. As > > > soon as I unplug the network cable or set IE to "Working Offline" I > > > get the error message: "unable to initiate the asynchronous service > > > invocation -- check the network connection" and quite naturally, none > > > of the RPC stuff works anymore. > > > > When I run the application in the IDE, it deploys on glassfish v3. I > > > also sometimes package up the build and run it outside of the > > > development environment on Tomcat 6.x. Either way, the same problem > > > happens. The glassfish server is on port 8080 and the Tomcat server is > > > on port 80. > > > > Thanks very much for your help, greatly appreciated. > > > > On Aug 4, 10:01 am, jhulford <[email protected]> wrote: > > > > > I do development work all the time using GWT and a local server > > > > without any internet access. My job had all internet traffic blocked > > > > over the VPN I work over for the longest time too so I can pretty > > > > definitively say that bog standard GWT RPC does not require any > > > > internet access to function. I have a tomcat instance running on my > > > > local machine and a GWT app deployed to it and have no problem doing > > > > RPC calls to the tomcat server without any access to the internet. > > > > > How exactly do you have your project set up? Maybe some more > > > > information would help. > > > > > - Show quoted text -- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
