[opencms-dev] Why it happens ' VFS target resource Layoutrow.jsp ' was already included earlier. '

脸谱 afeinet at 163.com
Thu Jun 14 08:30:12 CEST 2018


Hello everyone。


Why this error occurs when the Web site is running online, and the page displays 500 errors when it occurs.


There are too many of these logs in the background:


14 Jun 2018 11:18:47,702 ERROR [ org.opencms.main.OpenCmsCore:2416] VFS target“/system/modules/org.opencms.apollo/formatters/layoutrow.jsp”was already included earlier。 rendering URL http://www.site.com/opencms/
 javax.servlet.ServletException: VFS target“/system/modules/org.opencms.apollo/formatters/layoutrow.jsp”was already included earlier
at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:280) ~[opencms.jar:11.0.x]
at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexCacheEntry.service(CmsFlexCacheEntry.java:397) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:320) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexCacheEntry.service(CmsFlexCacheEntry.java:397) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:320) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexCacheEntry.service(CmsFlexCacheEntry.java:397) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:320) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexCacheEntry.service(CmsFlexCacheEntry.java:397) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:320) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexCacheEntry.service(CmsFlexCacheEntry.java:397) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:320) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexCacheEntry.service(CmsFlexCacheEntry.java:397) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:320) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexCacheEntry.service(CmsFlexCacheEntry.java:397) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:320) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexCacheEntry.service(CmsFlexCacheEntry.java:397) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:320) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexCacheEntry.service(CmsFlexCacheEntry.java:397) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:320) ~[opencms.jar:11.0.x] at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169) ~[opencms.jar:11.0.x] at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:988) ~[opencms.jar:11.0.x] at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:538) ~[opencms.jar:11.0.x] at org.opencms.loader.CmsJspHansLoader.load(CmsJspHansLoader.java:98) ~[opencms.jar:11.0.x] at org.opencms.loader.CmsXmlContainerPageLoader.load(CmsXmlContainerPageLoader.java:108) ~[opencms.jar:11.0.x] at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1234) ~[opencms.jar:11.0.x] at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:2015) [opencms.jar:11.0.x] at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:161) [opencms.jar:11.0.x] at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) [servlet-api.jar:?] at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) [servlet-api.jar:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catalina.jar:9.0.8] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.8] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-websocket.jar:9.0.8] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.8] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.8] at org.opencms.jsp.jsonpart.CmsJsonPartFilter.doFilter(CmsJsonPartFilter.java:298) [opencms.jar:11.0.x] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.8] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.8] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712) [catalina.jar:9.0.8] at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459) [catalina.jar:9.0.8] at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384) [catalina.jar:9.0.8] at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312) [catalina.jar:9.0.8] at org.opencms.main.OpenCmsUrlServletFilter.doFilter(OpenCmsUrlServletFilter.java:128) [opencms.jar:11.0.x] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.8] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.8] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) [catalina.jar:9.0.8] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:9.0.8] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494) [catalina.jar:9.0.8] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [catalina.jar:9.0.8] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [catalina.jar:9.0.8] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [catalina.jar:9.0.8] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [catalina.jar:9.0.8] at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:412) [tomcat-coyote.jar:9.0.8] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-coyote.jar:9.0.8] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:754) [tomcat-coyote.jar:9.0.8] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1385) [tomcat-coyote.jar:9.0.8] at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:9.0.8] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_121] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_121] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:9.0.8] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
  



After observation, presumably this happens when concurrent access to a page, because there is no cache initially, multiuser access at the same time, may be the creation of the cache lock problem, because I test this will not happen. 


In addition, even after the server has been working for a long time, this exception occasionally occurs, resulting in 500 of errors in the page.


The current temporary solution is this, when the error found, login to the background to empty the flex Cache, and then refresh the online version of the Web page, will generally be successful. But sometimes just empty the cache, there are a large number of users to access the same page, still have this error, you need to empty the cache again until the error occurs. Because even if you restart the OpenCms, you will still have a direct error.
--



缘起法实不可思议也。
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20180614/67befa3b/attachment.htm>


More information about the opencms-dev mailing list