I'm using GWT 2.0.3 with GAE 1.3.1, and RPC is working fine for me (I didn't change anything to make it work). What problem did you have?
On Mar 24, 7:11 pm, Jamie Gennis <[email protected]> wrote: > I also ran into this recently. My understanding is that the new RPC > mechanism in GWT 2 (called deRPC or direct-eval RPC) is currently not > compatible with GAE for a couple reasons (I worked around one, but stopped > when I immediately ran into another). However, GWT 2 still supports the > old-style RPC mechanism, and I was able to get GWT 2 and GAE to play nice > together by going back to using that. This means using RemoteService and > RemoteServlet (old-style) rather than RpcService and RpcServlet (new-style / > deRPC). > > Objectify is server-side only and should have nothing to do with RPC other > than the fact that it doesn't get in the way of sending entity objects over > GWT's RPC transports. It should work just fine once you the GWT deRPC / > GAE conflict. > > Jamie > > > > On Wed, Mar 24, 2010 at 7:01 AM, laurent <[email protected]> wrote: > > I'm trying to use GWT 2.0.3 together with GAE (using the Eclipse > > plugin). > > > I have got the following exception on the server whenever I want to > > make a RPC call: > > > Caused by: java.lang.RuntimeException: Unable to get Unsafe instance > > at > > > com.google.gwt.rpc.server.CommandSerializationUtil.<clinit>(CommandSerializ > > ationUtil.java: > > 443) > > ... 47 more > > > I have found a couple of posts related to this problem: > > >http://groups.google.com/group/google-web-toolkit/browse_thread/threa... > > >http://code.google.com/p/google-web-toolkit/issues/detail?id=4185 > > > They seem to indicate that GWT 2.0 does not work with the current > > version of GAE (1.3.1). That's surprised me a little bit ... > > > So Objectify is not working with GWT 2.0 using the normal RPC > > workflow ? > > > Locally on dev mode, I have the following error: > > 'java.lang.NoClassDefFoundError: java.net.InetAddress is a restricted > > class. > > > Does some of you manage a correct setting with GWT 2, Objectify 2 and > > GAE 1.3 ? Am I missing something ? > > > Thanks so much for your help. > > > -- > > 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]<google-web-toolkit%2Bunsubs > > [email protected]> > > . > > 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 [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.
