[opencms-dev] updating model groups from 10.0.0 to 10.5.3

Gratian Francis gfrancis2 at cancercare.mb.ca
Wed Mar 7 23:05:53 CET 2018


Hi there,

I've been encountering some issues upon upgrading from opencms 10.0.0 to 10.5.3

When executing the updateModelGroups.jsp as indicated in the upgrade readme instructions, I receive the below errors:

org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource from path "/CCMBTEST/.content/.modelgroups/modelgroup_0001.html". at org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.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:3214) at org.opencms.file.CmsObject.readResource(CmsObject.java:3181) at org.opencms.ade.containerpage.CmsModelGroupHelper.updateModelGroupResources(CmsModelGroupHelper.java:244) at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_ade_config.pages.updateModelGroups_jsp._jspService(updateModelGroups_jsp.java:112) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) 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.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:716) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:191) at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:165) at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:666) at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:441) at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169) at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:988) at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:538) at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1194) at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1789) at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:161) at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) 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.server.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.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.opencms.main.OpenCmsUrlServletFilter.doFilter(OpenCmsUrlServletFilter.java:132) 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:94) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504) 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:620) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2521) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2510) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748) Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Unable to read resource "/CCMBTEST/.content/.modelgroups/modelgroup_0001.html". at org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:2390) at org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:7687) at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:7449) at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5049) ... 54 more


Have I mis-understood what was required?

For the Basepath I used  /CCMBTEST/.content/.modelgroups/modelgroup_0001.html with is the path to my model group resource, and for base container name I used 'page-complete' as my template I'm using is a edited clone of the Apollo template.


I have also noticed after upgrading I'm no longer able to edit .jsp files as when right clicking the file to get the context menu, I no longer have to menu item edit, instead there is menu  item for display.

Cheers,
Gratian Francis
Junior Programmer Analyst
CancerCare Manitoba
CC40-825 Sherbrook Street
Winnipeg, MB R3A 1M5
Ph: 204-784-6403
Cell: 204-794-1230
gfrancis2 at cancercare.mb.ca<mailto:gfrancis2 at cancercare.mb.ca>

[CCMB-master-logo-cmyk]

Planned Absences 2018:
To be planned.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20180307/a29205f5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3835 bytes
Desc: image001.jpg
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20180307/a29205f5/attachment.jpg>
-------------- next part --------------
This email and/or any documents in this transmission is intended for the addressee(s) only and may contain legally privileged or confidential information.  Any unauthorized use, disclosure, distribution, copying or dissemination is strictly prohibited.  If you receive this transmission in error, please notify the sender immediately and return the original.

Ce courriel et tout document dans cette transmission est destiné à la personne ou aux personnes à qui il est adressé. Il peut contenir des informations privilégiées ou confidentielles. Toute utilisation, divulgation, distribution, copie, ou diffusion non autorisée est strictement défendue. Si vous n'êtes pas le destinataire de ce message, veuillez en informer l'expéditeur immédiatement et lui remettre l'original.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20180307/a29205f5/attachment-0001.htm>


More information about the opencms-dev mailing list