Hi,

The following exception is thrown for around 5% of the requests that
are made through gwt rpc on our production server - the number of
bytes changes (in this case its 199)

04/13 21:36:20 ERROR in
web.HibernateSessionRequestFilter.doFilter(line:57): Exception while
dispatching incoming RPC call
javax.servlet.ServletException: Client did not send 199 bytes as expected
        at 
com.google.gwt.user.server.rpc.RPCServletUtils.readContentAsUtf8(RPCServletUtils.java:185)
        at 
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.readContent(AbstractRemoteServiceServlet.java:179)
        at 
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:215)
        at 
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

I think this is the version of the src file:

http://code.google.com/p/google-web-toolkit/source/browse/branches/snapshot-2010.01.05-r7362/user/src/com/google/gwt/user/server/rpc/RPCServletUtils.java

I suspect that it's something to do with the fact that the html page
that hosts the gwt module is in charset iso-8859-1 and not in utf-8,
although I'm surprised that it only happens periodically in 5% of the
cases, perhaps its a particular browser / version combination.  The
site is a spanish language site, so its very possible that the
information sent would have characters with accents.  Has anyone else
had this problem is there a way that I can indicate to GWT that the
charset of the page is iso-88591.

Any suggestions greatly appreciated.

Cheers
Simon

-- 
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.

Reply via email to