[opencms-dev] OpenCms 10.5: Widgetset CmsVfsResourceNotFoundException

kartobi kartobi at gmail.com
Tue Jan 17 10:39:35 CET 2017


Hi Tobias,

as far as I can see, everything is configured fine - all dialogs seem to
work correctly as well.

m_serializationPolicyPath in CmsGwtServiceContext is
"/VAADIN/widgetsets/org.opencms.ui.WidgetSet/2417D05F117B30A681AE23781C4C5082.gwt.rpc"

But in Line 250 of CmsGwtServiceContext Variable "rfsPath" is joined with
WebApplicationRfsPath, so path to create "new File(rfsPath)" is
"D:\Projects\OpenCms10\mysite\build\classes\artifacts\mysite\exploded\ROOT.war\/VAADIN/widgetsets/org.opencms.ui.WidgetSet/2417D05F117B30A681AE23781C4C5082.gwt.rpc"

As "2417D05F117B30A681AE23781C4C5082.gwt.rpc" is part of
opencms-widgetset.jar, it is not found on disk, and
CmsDummySerializationPolicy is returned.

I don't know if this is the intended behaviour, as some *.rpc are inside
*.jar now (there are *.rpc files directly on disk)

It's reproducible with OpenCms 10.01. as well.

The log message is kind of misleading though, as the text is "ERROR: The
serialization policy file
'/VAADIN/widgetsets/org.opencms.ui.WidgetSet/2417D05F117B30A681AE23781C4C5082.gwt.rpc'
was not found" but is logged as WARN.

Kind regards, 
Tobias




--
View this message in context: http://opencms.996256.n3.nabble.com/OpenCms-10-5-Widgetset-CmsVfsResourceNotFoundException-tp26634p26646.html
Sent from the OpenCMS mailing list archive at Nabble.com.



More information about the opencms-dev mailing list