Take a look at this and the comment thread: http://dobesland.wordpress.com/2008/08/22/gwt-to-lighttpdapache-to-glassfish-502-proxy-or-500-internal-errors-fix/
There are some unresolved issues with gwt and glassfish/apache, which I think is what the cause of this error is. (We see it rarely, but sometimes see errors with error code 0 or 19020/19021 on the client side). We fixed it by patching the ProxyCreator class and making it automatically retry requests with a strange error code, the other approach is detailed in the link above. On Jan 21, 10:03 am, Vishal <[email protected]> wrote: > We get this error: > > [#|2009-08-12T11:38:31.803-0700|SEVERE|sun-appserver9.1| > javax.enterprise.system.container.web| >http://dobesland.wordpress.com/2008/08/22/gwt-to-lighttpdapache-to-glassfish-502-proxy-or-500-internal-errors-fix/ > _ThreadID=16;_ThreadName=httpSSLWorkerThread-38080-3;_RequestID=8b3571bb-3c >36-43f1-9e38-6947ca376436;| > WebModule[]Exception while dispatching incoming RPC call > javax.servlet.ServletException: Client did not send 142 bytes as > expected > at com.google.gwt.user.server.rpc.RPCServletUtils.readContentAsUtf8 > (RPCServletUtils.java:148) > at com.google.gwt.user.server.rpc.RemoteServiceServlet.readContent > (RemoteServiceServlet.java:335) > at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost > (RemoteServiceServlet.java:77) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:738) > > very rarely and it is not reproducible. I have seen posts earlier but > none of them justify the reason for it. > > Appreciate if I can get some information: > > 1. Is it with the this version of GWT or related software, will > upgrading help? > 2. How often you get this error? > 3. Any more workaround? > > Environment: > Client: ie 6 > Server: GlassFish 2, GWT 1.5.3. Java 5 -- 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.
