[opencms-dev] OpenCms 10.5: Widgetset CmsVfsResourceNotFoundException

Tobias Herrmann t.herrmann at alkacon.com
Mon Jan 16 11:28:25 CET 2017


Hi Tobias,

the request for resources below /VAADIN/ should be handled by the 
CmsUIServlet. In your case it is handled by the OpenCmsServlet which 
will prepend the current site root to the requested path, in your case 
/sites/default/.
This may either be caused by a missing servlet mapping in the web.xml or 
by your web server configuration. The second being more likely, as the 
upgrade wizard will overwrite the web.xml and should contain the correct 
mappings.
To fix this, check the URL your browser is actually calling for this 
resource and make sure it reaches your OpenCms webapp starting with 
/VAADIN/.


Kind regards,

Tobias

-------------------

Tobias Herrmann

Alkacon Software GmbH & Co. KG  - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org
Am 13.01.2017 um 10:39 schrieb Tobias Karrer:
> Yeah, around 15 years for me, too - started with OpenCms 5 :-)
>
> I prefer to do a new setup as well. But an import-/export of over 150000
> resources with around 20Gb is currently no option.
> And we must not loose the last three history version... :-/
>
> Greetz,
> Tobias
>
> Am 12.01.2017 um 16: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
>>     <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
>>
>>
>>
>
>
>
> _______________________________________________
> 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
>
>
>



More information about the opencms-dev mailing list