Re: Anybody has simple way to get Token when implement XRSF protection.

2011-07-12 Thread Jason482
I tried to implement the static initialization as you describe, but I seem to be running into a race condition where the XSRF callback has not happened before my "getSomeService()" is invoked, thus I get SomeService back without an XsrfToken. I have been trying to think of a way around this (usi

Re: Unable to find type after change in project structure

2010-08-30 Thread Jason482
Yes, there is a relation (from my understanding). The GWT compiler first looks for a "ModuleDef.gwt.xml" file, and then, from that location it looks one package further (by default looking for a "client" subpackage, but you can specify this in your module definition GWT xml file) for your client c

Re: IncompatibleRemoteServiceException caused by different RPC Protocol Versions (server: 5, client 6)

2010-08-03 Thread Jason482
PEBKAC. Turns out there was a lingering gwt-servlet-2.0.3 jar on my classpath. Hopefully it's just as simple if anyone else runs into an issue like this. On Aug 2, 12:23 pm, Jason482 wrote: > I'm still struggling with this error. Can anyone provide any insight? > I've

Re: IncompatibleRemoteServiceException caused by different RPC Protocol Versions (server: 5, client 6)

2010-08-02 Thread Jason482
issue. On Jul 29, 12:42 pm, Jason482 wrote: > I'm getting pretty much the same error, except in reverse: > > com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: > This application is out of date, please click the refresh button on > your browser. ( Exp

Re: IncompatibleRemoteServiceException caused by different RPC Protocol Versions (server: 5, client 6)

2010-07-29 Thread Jason482
I'm getting pretty much the same error, except in reverse: com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: This application is out of date, please click the refresh button on your browser. ( Expecting version 6 from server, got 5. ) Have you been able to get around this using 2