The only time I have this kind of problem is when I am working in Dev mode. It seems that Eclipse caches the nocache.js file (Which tells the browser which gwt.rpc to load). Normally I don't do a rebuild unless I have changed something on the backend so I remember most of the time to stop and restart Dev mode.
If you are having this issue outside Dev mode I would look to see if your server is caching the nocache.js file On Jan 26, 2:57 am, mijaelovic <[email protected]> wrote: > I was having problems with deploying my web app in external server > Jboss. I recently figured out that the strongName of the gwt.rpc > changes every time I refresh the page. Can someone explains me how to > avoid this?, or if this is a bug?. An output here: > > 10:49:52,593 INFO [STDOUT] Module base > URLhttp://localhost:8080/activa/activ8/ > 10:49:52,593 INFO [STDOUT] Strong name > 3DCC320CE6689ACF9B59549914237A6F > 10:49:52,609 INFO [STDOUT] Serialization policy file path / > activ8/3DCC320CE6689 > ACF9B59549914237A6F.gwt.rpc > ... > 10:50:45,000 INFO [STDOUT] Module base > URLhttp://localhost:8080/activa/activ8/ > 10:50:45,000 INFO [STDOUT] Strong > nameA1BA880388289FA4FFF6A08E96127310 > 10:50:45,000 INFO [STDOUT] Serialization policy file path /activ8/ > A1BA880388289 > FA4FFF6A08E96127310.gwt.rpc > 10:50:45,015 ERROR [[/activa]] serviceImpl: ERROR: The serialization > policy file > '/activ8/A1BA880388289FA4FFF6A08E96127310.gwt.rpc' was not found; did > you forge > t to include it in this deployment? > 10:50:45,015 ERROR [[/activa]] serviceImpl: WARNING: Failed to get the > Serializa > tionPolicy 'A1BA880388289FA4FFF6A08E96127310' for module 'http:// > localhost:8080/ > activa/activ8/'; a legacy, 1.3.3 compatible, serialization policy will > be used. > You may experience SerializationExceptions as a result. > 10:50:45,156 ERROR [[/activa]] Exception while dispatching incoming > RPC call > com.google.gwt.user.client.rpc.SerializationException: Type > 'com.o2hlink.activ8. > client.entity.Clinician' was not assignable to > 'com.google.gwt.user.client.rpc.I > sSerializable' and did not have a custom field serializer.For security > purposes, > this type will not be serialized.: instance = > com.o2hlink.activ8.client.entity. > clinic...@2d4185 -- 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.
