Thursday, November 21, 2013

Re: IncompatibleRemoteServiceException after new deployment


What would be a suitable method to produce this exception?

1.) Open a browser and log in to your app. Leave the browser open and logged in.
2.) Change some Serializable classes that are send through GWT-RPC and recompile your app. Then redeploy your app.
3.) Go back to your still opened browser and click anywhere in your app that produces a GWT-RPC request to the GWT-RPC service that is affected by your change in 2.).

When you do that, your server log should say that it can not find the old *.rpc file that your opened browser still use because you have redeployed your app with a newer version of that file that has a different name now.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment