[opencms-dev] OpenCms 10.5: Widgetset CmsVfsResourceNotFoundException
Patric Dosch
patric.dosch at virtual-identity.com
Fri Jan 13 10:19:47 CET 2017
We have already updated projects ;)
But back to the topic:
I try to call the file directly with
http://localhost/VAADIN/widgetsets/org.opencms.ui.WidgetSet/2417D05F117B30A681AE23781C4C5082.gwt.rpc
and that works, so I think the server configuration is correct.
Regards, Patric
Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von fhsubscriptions at componio.net
Gesendet: Donnerstag, 12. Januar 2017 18:50
An: opencms-dev at opencms.org
Betreff: Re: [opencms-dev] OpenCms 10.5: Widgetset CmsVfsResourceNotFoundException
Hi Deiverson,
I have to object :-) We are doing OpenCms development since 2005 and have successfully migrated several (>10) projects from 7 to 8 to 9 and now to 10.
However the deeper one has integrated modules with the core API the more one has to cope with deprecated API calls, changed method signatures and of course bugs. The latter ones however had been remedied by Alkacon for 8 and 9 rather quickly. The problems below are due to the added VAADIN framework and the webserver configuration and have nothing to do with the migration wizard by itself.
Cheers,
\Fabian
Am 12.01.17 um 17:03 schrieb Deiverson Silveira:
Hi Tobias,
I have been working with OpenCms since 2002 (15 years working with OpenCms) and I never successfully migrated my projects using Wizard Update. My suggestion is that you export and import the modules and contents structured and then adjust the settings /config/.
Good luck,
Deiverson
2017-01-12 13:48 GMT-02:00 Tobias Karrer <kartobi at gmail.com<mailto:kartobi at gmail.com>>:
Hi,
we updated from 9.0.1 to 10.5 using the upgrade wizard.
When editing properties or showing info dialog in vfs now, everything works but I always get an error:
Error reading resource from path "/sites/default/VAADIN/widgetsets/org.opencms.ui.WidgetSet/2417D05F117B30A681AE23781C4C5082.gwt.rpc"
It seems that "/sites/default/" is not correct here, but I don't know why it is prepended.
Am I missing a configuration? Or someone knows how to solve it?
The file exists in opencms-widgetset-10.5.0.jar (gradle dependency)
Best,
Tobias
Full stacktrace:
2 Jan 2017 15:40:42,297 [http-nio-8443-exec-6] WARN org.opencms.gwt.CmsGwtServiceContext - ERROR: The serialization policy file '/VAADIN/widgetsets/org.opencms.ui.WidgetSet/2417D05F117B30A681AE23781C4C5082.gwt.rpc' was not found; did you forget to include it in this deployment?
12 Jan 2017 15:40:42,297 [http-nio-8443-exec-6] WARN org.opencms.gwt.CmsGwtServiceContext - Error reading resource from path "/sites/default/VAADIN/widgetsets/org.opencms.ui.WidgetSet/2417D05F117B30A681AE23781C4C5082.gwt.rpc".
org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource from path "/sites/default/VAADIN/widgetsets/org.opencms.ui.WidgetSet/2417D05F117B30A681AE23781C4C5082.gwt.rpc".
at org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:71)
at org.opencms.db.CmsDbContext.th<http://org.opencms.db.CmsDbContext.th>rowException(CmsDbContext.java:335)
at org.opencms.db.CmsDbContext.re<http://org.opencms.db.CmsDbContext.re>port(CmsDbContext.java:287)
at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5051)
at org.opencms.file.CmsObject.readResource(CmsObject.java:3199)
at org.opencms.file.CmsObject.readFile(CmsObject.java:2567)
at org.opencms.file.CmsObject.readFile(CmsObject.java:2538)
at org.opencms.gwt.CmsGwtServiceContext.getSerializationPolicy(CmsGwtServiceContext.java:257)
at org.opencms.gwt.CmsGwtServiceContext.getSerializationPolicy(CmsGwtServiceContext.java:188)
at org.opencms.gwt.CmsGwtService.doGetSerializationPolicy(CmsGwtService.java:276)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.getSerializationPolicy(RemoteServiceServlet.java:234)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepareToRead(ServerSerializationStreamReader.java:505)
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:240)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:296)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:373)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.opencms.gwt.CmsGwtService.service(CmsGwtService.java:194)
at org.opencms.main.OpenCmsCore.invokeGwtService(OpenCmsCore.java:1722)
at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:158)
at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.tomcat.websocket.se<http://org.apache.tomcat.websocket.se>rver.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.opencms.jsp.jsonpart.CmsJsonPartFilter.doFilter(CmsJsonPartFilter.java:281)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1104)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
at org.apache.tomcat.util.net<http://org.apache.tomcat.util.net>.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
at org.apache.tomcat.util.net<http://org.apache.tomcat.util.net>.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Unable to read resource "/sites/default/VAADIN/widgetsets/org.opencms.ui.WidgetSet/2417D05F117B30A681AE23781C4C5082.gwt.rpc".
at org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:2383)
at org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:7683)
at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:7449)
at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5049)
... 81 more
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
--
www.solutioncms.com<http://www.solutioncms.com>
The Brazilian
Official Provider OpenCms
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170113/c58eb6bb/attachment.htm>
More information about the opencms-dev
mailing list