Thursday, April 24, 2014

Re: Exception while dispatching incoming RPC call

I've tried manually setting the service URL with setServiceEntryPoint(URL), ensuring the ServletContext.getResource() call and overriding the  RemoteServiceServlet.doGetSerializationPolicy() methods but  my app still fails on my hosting company's server. And they aren't providing access to the tomcat logs so I can't determine what's failing. This is my 1st pure GWT-RPC app. My other apps use GWT-HTTP for the client side and uses grails for the server side and I haven't had any issues with tomcat.

Right now I'm lost...


On Thu, Apr 24, 2014 at 4:39 AM, Jens <jens.nehlmeier@gmail.com> wrote:
 The error I'm getting seems to suggest that there may be an issue with the serialization policy file. But if that is true then why doesn't it fail on my local machine?

You should see a log entry saying that the serialization policy file could not be loaded. That log entry only appears once when you do the very first GWT-RPC request.

If your production deployment does not meet GWT's standard assumption on how to load that file you can override RemoteServiceServlet.doGetSerializationPolicy().

-- J.

--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/l5oDVXaRd90/unsubscribe.
To unsubscribe from this group and all its topics, 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.

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