The version of GWT used is 1.7

On Apr 20, 8:27 pm, keyboard_samurai <yog...@gmail.com> wrote:
> Hi,
>
> I have a requirement where my application is being accessed from a
> different portal itself. The portal developed is on a different
> technology and has a link to my application. When i directly access
> the application things seem to work fine. But when accessed via link
> it throws this strange serialization exception. I am sure GWT wouldnt
> have this restriction of not being called from a different portal...
> Below is the log and exception trace that i get ...
>
> greetServlet: ERROR: The module path requested, /pp/pp/XYZ0001/my/test-
> project/simplegwtproject/, is not in the same web application as this
> servlet, /my/test-project.  Your module may not be properly configured
> or your client and server code maybe out of date.
>
> greetServlet: WARNING: Failed to get the SerializationPolicy
> '219198A02BFC1DA663CA1A667C5D07B9' for module 'https://testdomain.com:
> 8443/pp/pp/XYZ0001/my/test-project/simplegwtproject/'; a legacy, 1.3.3
> compatible, serialization policy will be used.  You may experience
> SerializationExceptions as a result.
>
> greetServlet: An IncompatibleRemoteServiceException was thrown while
> processing this call.
> com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
> Type 'com.test.client.Custom' was not assignable to
> 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a
> custom field serializer.  For security purposes, this type will not be
> deserialized.
>
> I looked into the GWT's RemoteServiceServlet code and it looks like
> the it fails doGetSerializationPolicy(
>       HttpServletRequest request, String moduleBaseURL, String
> strongName) method.
>
> Wherein there is a check being made between contextpath and module
> path
>
> i.e if (modulePath == null || !modulePath.startsWith(contextPath)) {
>
> since module path has a value of " /pp/pp/XYZ0001/my/test-project/
> simplegwtproject/" and contextPath has a value "/my/test-project".
> contextpath is part of the module path but doesnt start with it.
>
> Can anyone help me to fix this issue ? I am not sure if this is GWT
> Remote Servlet Implementation Issue
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to