I Have the same problem , the rpc files are different in the .gwt-temp/ shell/ than those generated by the compiler. I deploy this files in a jboss server and after i launch hosted mode with -noserver option and the server show this:
14:14:13,707 INFO [[/ETaskWeb]] WARNING: Failed to get the SerializationPolicy '6B396D0A140C920DE6B12F9E42D24A1D' for module 'http://localh ost:8280/ETaskWeb/'; a legacy, 1.3.3 compatible, serialization policy will be used. You may experience SerializationExceptions as a result. On 12 ago, 11:26, pasqual <[EMAIL PROTECTED]> wrote: > I am having a nagging issue with the generated gwt.rpc files in hosted > mode with -noserver option. Web mode works fine after compiling. > Most gwt.rpc files are generated to the -out dir when I compile. > However, when I try to run in hosted mode, some different ones are > generated to the .gwt-tmp/shell/{module_name}. > > For the missing services I get these errors : > "Type 'com.domain.MyObj' was not assignable to > 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a > custom field serializer. For security purposes, this type will not be > serialized." > > When I copy the gwt.rpc files from .gwt-tmp into the -out dir, > everything works fine in hosted and web mode. > > Do I need all of these files in web mode too? How do I get the > compiler to generate all gwt.rpc files to the -out dir? It just gives > me an uneasy feeling to copy them in when web mode does not need them.. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
