Hi kibibyte, Developing your server-side and client-side code should have no impact on getting the application deployed and working on your web server. However, if you are using GWT RPC, make sure that you are using the same version of the gwt-servlet.jar file for both projects as well as for the deployed web application on your web server.
In this specific case, it seems like you're running into one of two problems: 1) You are using an old gwt-servlet.jar file in your deployed web application or in your client project / server project exclusively. 2) As Olivier mentioned below, you have not deployed the serialization policy file generated during the GWT compilation to the right path in your deployed web application. If the cause of the problem is indeed 2), make sure that your <md5>.gwt.rpc file is deployed in your web application directory such that your GWT RPC servlet can pick up the resource via the ServletContext.getResource() call. Hope that helps, -Sumit Chandel On Sat, Nov 15, 2008 at 7:26 AM, kibibyte <[EMAIL PROTECTED]> wrote: > > hi > > is it possible to separate client & server ie. 2 web applications : > one with client code, one with server code. > I tried to do it but ex occurs: > > PWC1412: WebModule[/LazyGWTServer] ServletContext.log():ERROR: The > module path requested, /LazyGWTClient/, is not in the same web > application as this servlet, /LazyGWTServer. Your module may not be > properly configured or your client and server code maybe out of date. > PWC1412: WebModule[/LazyGWTServer] ServletContext.log():WARNING: > Failed to get the SerializationPolicy > '29F4EA1240F157649C12466F01F46F60' for module 'http://localhost:8080/ > LazyGWTClient/'; a legacy, 1.3.3 compatible, serialization policy will > be used. You may experience SerializationExceptions as a result. > WebModule[/LazyGWTServer]An IncompatibleRemoteServiceException was > thrown while processing this call. > com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: > Blocked attempt to access interface 'org.lazygwt.client.GWTService', > which is not implemented by 'org.lazygwt.server.GWTServiceImpl'; this > is either misconfiguration or a hack attempt > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
