Wednesday, February 18, 2015

Re: Logout then login error (Exception while dispatching incoming RPC call: javax.servlet.ServletException: Content-Type was '(null)'. Expected 'text/x-gwt-rpc'.)

The exception itself is pretty clear: GWT-RPC checks if a GWT-RPC request has the HTTP header "Content-Type: text/x-gwt-rpc". If GWT can not find that header or the header has no value then it throws the above exception.

So in your setup something is messing up that HTTP header. So I guess you have to debug a server request to figure out who is responsible for the issue. Also figure out if you have a proxy server in front of your app servers and if that proxy server works correctly.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment