[xwiki-notifications] [Issue] Created: (XWATCH-139) In the standard distribution, jetty fails to retrieve the GWT-serialization policy file

Jerome Velociter (JIRA) jira at xwiki.org
Fri May 2 11:43:53 CEST 2008


In the standard distribution, jetty fails to retrieve the GWT-serialization policy file
---------------------------------------------------------------------------------------

                 Key: XWATCH-139
                 URL: http://jira.xwiki.org/jira/browse/XWATCH-139
             Project: XWiki Watch
          Issue Type: Bug
          Components: Build, Test & Packaging, Configuration
    Affects Versions: 1.0 M4, 1.0 M3
            Reporter: Jerome Velociter


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

{code}
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.
{code}

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/).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the notifications mailing list