[opencms-dev] OpenCms 10.5: Widgetset CmsVfsResourceNotFoundException

Tobias Karrer kartobi at gmail.com
Fri Jan 13 10:29:22 CET 2017


I already configured
     ProxyPass           /VAADIN http://127.0.0.1:8080/VAADIN
     ProxyPass           /workplace http://127.0.0.1:8080/workplace

resp.
     ProxyPass           /VAADIN https://127.0.0.1:8443/VAADIN
     ProxyPass           /workplace https://127.0.0.1:8443/workplace

as we are using https.

Do i miss something else?

As I told before, everything seems to work correctly. Just the log 
message appears.
And the error doesn't occure for "Copy", "History", etc...

Calling /VAADIN/widgetsets/org.opencms.ui.WidgetSet/2417D05F117B30A68
1AE23781C4C5082.gwt.rpc is fine as well.
So why it is prepended with /sites/default/ ?

Kind regards,
Tobias


Am 12.01.2017 um 16:08 schrieb Filip Kratochvil:
> Hi Tobias,
>
> try to check webserver configuration:
> http://documentation.opencms.org/opencms-documentation/server-installation/a
> pache-webserver-configuration/
>
> Search for "required since OpenCms 10"
>
> But i'm not sure if it helps, we installed OpenCms 10 from scratch.
>
> --
> S pozdravem / Kind regards
> Filip Kratochvil
>
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Tobias Karrer
> Sent: Thursday, January 12, 2017 4:49 PM
> To: The OpenCms mailing list
> Subject: [opencms-dev] OpenCms 10.5: Widgetset
> CmsVfsResourceNotFoundException
>
> 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/2417D05F117B30A68
> 1AE23781C4C5082.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/2417D05F117B30A681AE23781C4C508
> 2.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/2417D05F117B30A68
> 1AE23781C4C5082.gwt.rpc".
> org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource
> from path
> "/sites/default/VAADIN/widgetsets/org.opencms.ui.WidgetSet/2417D05F117B30A68
> 1AE23781C4C5082.gwt.rpc".
>       at
> org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResou
> rceNotFoundException.java:71)
>       at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:335)
>       at org.opencms.db.CmsDbContext.report(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(CmsGwtServiceCon
> text.java:257)
>       at
> org.opencms.gwt.CmsGwtServiceContext.getSerializationPolicy(CmsGwtServiceCon
> text.java:188)
>       at
> org.opencms.gwt.CmsGwtService.doGetSerializationPolicy(CmsGwtService.java:27
> 6)
>       at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.getSerializationPolicy(R
> emoteServiceServlet.java:234)
>       at
> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepareT
> oRead(ServerSerializationStreamReader.java:505)
>       at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:240)
>       at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServic
> eServlet.java:296)
>       at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServic
> eServlet.java:373)
>       at
> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractR
> emoteServiceServlet.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(Application
> FilterChain.java:292)
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:207)
>       at
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:240)
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:207)
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:240)
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:207)
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:240)
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:207)
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:240)
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:207)
>       at
> org.opencms.jsp.jsonpart.CmsJsonPartFilter.doFilter(CmsJsonPartFilter.java:2
> 81)
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:240)
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:207)
>       at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:212)
>       at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va: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(AbstractAccessLogVa
> lve.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(AbstractHttp11Proce
> ssor.java:1104)
>       at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Abstrac
> tProtocol.java:684)
>       at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.jav
> a:1520)
>       at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:
> 1476)
>       at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
> 42)
>       at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
> 17)
>       at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.ja
> va: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/2417D05F117B30A68
> 1AE23781C4C5082.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
>
>
>
>
> _______________________________________________
> 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