Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.0 M3, 1.0 M4
-
None
-
gwt serialization jetty
-
Description
The serialization policy loader tries to load the policy file as static content from the webapp, thus fails to retrieve it as it's packaged in the watch zip attached to WatchCode.GWT
10:53:10.426 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >25> ERROR: The serialization policy file '/bin/download/WatchCode/GWT/watch.zip/40CD3D78797CEB6CACD47D530381A329.gwt.rpc' was not found; did you forget to include it in this deployment? 10:53:10.426 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >24> WARNING: Failed to get the SerializationPolicy '40CD3D78797CEB6CACD47D530381A329' for module 'http://localhost:8080/xwiki/bin/download/WatchCode/GWT/watch.zip/'; a legacy, 1.3.3 compatible, serialization policy will be used. You may experience SerializationExceptions as a result.
We should either configure if possible Jetty resourceBase to point to the attached zip, or copy at distribution build time the policy file to include it as static content of the webapp (for example under webapps/xwiki/com.xpn.xwiki.watch.Watch/).