Tomcat - Failed to get the SerializationPolicy (gwt/rpc)

607 views
Skip to first unread message

Magnus

unread,
Dec 27, 2010, 9:51:06 AM12/27/10
to Google Web Toolkit
Hi,

my Tomcat shows the following errors in the logs:

Dec 27, 2010 8:52:47 AM org.apache.catalina.core.ApplicationContext
log
INFO: ChatServlet: ERROR: The serialization policy file '/bcs/
99E2FAA12E412633D1C3951141C107AD.gwt.rpc' was not found; did you
forget to include it in this deployment?
Dec 27, 2010 8:52:47 AM org.apache.catalina.core.ApplicationContext
log
INFO: ChatServlet: WARNING: Failed to get the SerializationPolicy
'99E2FAA12E412633D1C3951141C107AD' for module 'http://www.bavaria64.de/
bcs/bcs/'; a legacy, 1.3.3 compatible, serialization policy will be
used.
Dec 27, 2010 1:37:03 PM org.apache.catalina.core.ApplicationContext
log
INFO: ChatServlet: ERROR: The serialization policy file '/bcs/
99E2FAA12E412633D1C3951141C107AD.gwt.rpc' was not found; did you
forget to include it in this deployment?
Dec 27, 2010 1:37:03 PM org.apache.catalina.core.ApplicationContext
log
INFO: ChatServlet: WARNING: Failed to get the SerializationPolicy
'99E2FAA12E412633D1C3951141C107AD' for module 'http://www.bavaria64.de/
bcs/bcs/'; a legacy, 1.3.3 compatible, serialization policy will be
used.

What does this mean?

Magnus

nacho

unread,
Dec 28, 2010, 10:29:30 PM12/28/10
to Google Web Toolkit
I think that you forget in any of your model classes to implements
com.google.gwt.user.client.rpc.IsSerializable;

Every class that you want to send through a RPC you need to make it
implement com.google.gwt.user.client.rpc.IsSerializable;

If this is not your problem, be sure that you have a zero-argument
constructor in all your models class.

Regards!

BadBob

unread,
Feb 2, 2011, 1:42:32 AM2/2/11
to Google Web Toolkit
Magnus, did you find the solution for this issue?
Reply all
Reply to author
Forward
0 new messages