In development mode with embedded jetty your app will be hot deployed to jetty's root and I guess during deployment on another j2ee/servlet server you use a context-root with the name of your GWT module and this will result in http://hostname:port/<module name as context root>/module/service.rpc (but GWT will do a request to http://hostname:port/module/service.rpc). Thats why you need to change your web.xml.
So your problem should be solved if you deploy your war file to the root of your j2ee server. If its not possible then you could use a reverse proxy that serves all your static files and maps rpc calls from proxyserver:port/module/*.rpc to j2eeserver:port/<context root>/module/*.rpc. But the easiest way would be if one could configure the context-root that should be used with jetty in development mode in Google Eclipse Plugin. But I think this is not possible (please correct me if I am wrong). -- 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.
