[opencms-dev] OpenCMS6 backward module compatibility
John Giammarche
jgiammarche at yahoo.com
Wed Dec 29 15:25:27 CET 2004
Hello everyone,
I made a test installation of OpenCMS6 in my machine,
and imported a whole OpenCMS5 site, as a module.
When I try to access the index html, I receive an
exception. It reads as follows:
--------------------------------------------------------
java.lang.ClassNotFoundException:
com.opencms.flex.CmsJspTemplate
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1340)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at
com.opencms.template.CmsTemplateClassManager.getClassInstance(CmsTemplateClassManager.java:59)
at
com.opencms.template.CmsXmlTemplate.templateElement(CmsXmlTemplate.java:1365)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
com.opencms.template.A_CmsXmlContent.callUserMethod(A_CmsXmlContent.java:221)
at
com.opencms.template.CmsXmlTemplateFile.handleElementTag(CmsXmlTemplateFile.java:796)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
com.opencms.template.A_CmsXmlContent.processNode(A_CmsXmlContent.java:1540)
at
com.opencms.template.A_CmsXmlContent.getProcessedData(A_CmsXmlContent.java:498)
at
com.opencms.template.A_CmsXmlContent.getProcessedDataValue(A_CmsXmlContent.java:562)
at
com.opencms.template.CmsXmlTemplateFile.getProcessedDataValue(CmsXmlTemplateFile.java:518)
at
com.opencms.template.CmsXmlTemplateFile.getProcessedTemplateContent(CmsXmlTemplateFile.java:561)
at
com.opencms.template.CmsXmlTemplate.startProcessing(CmsXmlTemplate.java:1283)
at
com.opencms.template.CmsXmlTemplate.getContent(CmsXmlTemplate.java:162)
at
com.opencms.template.CmsXmlTemplate.getContent(CmsXmlTemplate.java:136)
at
com.opencms.template.CmsRootTemplate.getMasterTemplate(CmsRootTemplate.java:122)
at
com.opencms.legacy.CmsXmlTemplateLoader.callCanonicalRoot(CmsXmlTemplateLoader.java:198)
at
com.opencms.legacy.CmsXmlTemplateLoader.generateOutput(CmsXmlTemplateLoader.java:488)
at
com.opencms.legacy.CmsXmlTemplateLoader.processXmlTemplate(CmsXmlTemplateLoader.java:715)
at
com.opencms.legacy.CmsXmlTemplateLoader.load(CmsXmlTemplateLoader.java:631)
at
org.opencms.loader.CmsXmlPageLoader.load(CmsXmlPageLoader.java:189)
at
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:648)
at
org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1346)
at
org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:103)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
--------------------------------------------------------
I'm not using the static export, because I need the
site to be dynamic.
Well, I hope that someone can cast some light into the
matter. Thanks in advance.
John
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
More information about the opencms-dev
mailing list