AW: [opencms-dev] Demopages do not work in OpenCms 6.2.0, Java-1.4problem?
Markus Th�le
markus.thoele at consulting-company.net
Thu Apr 6 09:39:16 CEST 2006
-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Michael Emmerich
Gesendet: Donnerstag, 6. April 2006 09:36
An: The OpenCms mailing list
Betreff: Re: [opencms-dev] Demopages do not work in OpenCms 6.2.0,
Java-1.4problem?
Hello,
just to put some light into the Java 1.4 and Java 1.5 issue....
The OpenCms source code is Java 1.4 compatible, it can be compiled with
1.4 without a problem. I am pretty sure about that, since all of my OpenCms
development is done on a machine which only has JDK 1.4.2 installed on it.
The .jar files in the OpenCms distribution were made on a machine running
Java 1.5, using the Java 1.4 compatibly mode. But it seems as if the
generated code has some optimizations in it which do not run with Java 1.4.
anymore.
We will provide a new OpenCms distribution soon which will have no problems
running with Java 1.4.
Unless then, you could check out the source code form the CVS and compile it
with Java 1.4.
Kind Regards
-------------------
Michael Emmerich
Alkacon Software GmbH - The OpenCms Experts http://www.alkacon.com -
http://www.opencms.org
Jan Meier schrieb:
> Hello,
>
> when I open for example the following file (or any other page of the
> demopages): /opencms/opencms/demopages/photoalbum.html
>
> I get an java.lang.NoSuchMethodError, which has the following output:
> (I am using Java-1.4.2_10 and Apache-Tomcat 5.0.27)
>
> java.lang.NoSuchMethodError:
> java.lang.StringBuffer.insert(ILjava/lang/CharSequence;)Ljava/lang/Str
> ingBuffer;
>
> at
> org.opencms.frontend.templateone.CmsTemplateNavigation.getMenuNavigati
> on(CmsTemplateNavigation.java:985)
>
> at
> org.opencms.frontend.templateone.CmsTemplateNavigation.buildNavigation
> HeadMenus(CmsTemplateNavigation.java:550)
>
> at
> org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_fron
> tend_templateone.elements.nav_005fhead_005fmenus_jsp._jspService(nav_0
> 05fhead_005fmenus_jsp.java:51)
>
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
> java:324)
>
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilterChain.java:237)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lterChain.java:157)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
> tcher.java:704)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
> spatcher.java:590)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
> atcher.java:510)
>
> at
> org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexReque
> stDispatcher.java:194)
>
> at
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispat
> cher.java:170)
>
> at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:433)
> at
> org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(Cms
> FlexRequestDispatcher.java:423)
>
> at
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispat
> cher.java:174)
>
> at
> org.opencms.jsp.CmsJspTagInclude.includeActionWithCache(CmsJspTagInclu
> de.java:373)
>
> at
> org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.jav
> a:247)
>
> at
> org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.jav
> a:165)
>
> at
> org.opencms.jsp.CmsJspActionElement.include(CmsJspActionElement.java:438)
> at
> org.opencms.jsp.CmsJspActionElement.include(CmsJspActionElement.java:462)
> at
> org.opencms.frontend.templateone.CmsTemplateBean.buildHtmlBodyEnd(CmsT
> emplateBean.java:307)
>
> at
> org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_fron
> tend_templateone.templates.main_jsp._jspService(main_jsp.java:344)
>
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
> java:324)
>
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilterChain.java:237)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lterChain.java:157)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
> tcher.java:704)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
> spatcher.java:590)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
> atcher.java:510)
>
> at
> org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexReque
> stDispatcher.java:194)
>
> at
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispat
> cher.java:170)
>
> at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:433)
> at
> org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(Cms
> FlexRequestDispatcher.java:423)
>
> at
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispat
> cher.java:174)
>
> at
> org.opencms.jsp.CmsJspTagInclude.includeActionWithCache(CmsJspTagInclu
> de.java:373)
>
> at
> org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.jav
> a:247)
>
> at
> org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.jav
> a:165)
>
> at
> org.opencms.jsp.CmsJspActionElement.include(CmsJspActionElement.java:438)
> at
> org.opencms.jsp.CmsJspActionElement.include(CmsJspActionElement.java:462)
> at
> org.opencms.jsp.CmsJspActionElement.include(CmsJspActionElement.java:366)
> at
> org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_fron
> tend_photoalbum.pages.album_html_jsp._jspService(album_html_jsp.java:6
> 9)
>
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
> java:324)
>
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilterChain.java:237)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lterChain.java:157)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
> tcher.java:704)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
> spatcher.java:590)
>
> at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
> atcher.java:510)
>
> at
> org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexReque
> stDispatcher.java:194)
>
> at
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispat
> cher.java:170)
>
> at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:433)
> at
> org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(Cms
> FlexRequestDispatcher.java:423)
>
> at
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispat
> cher.java:174)
>
> at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:467)
> at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:412)
> at
> org.opencms.loader.A_CmsXmlDocumentLoader.load(A_CmsXmlDocumentLoader.
> java:225)
>
> at
> org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.
> java:719)
>
> at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1362)
> at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:151)
> 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(Appli
> cationFilterChain.java:237)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lterChain.java:157)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
> lve.java:214)
>
> at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValve
> Context.java:104)
>
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardC
> ontextValve.java:198)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
> lve.java:152)
>
> at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValve
> Context.java:104)
>
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
> va:137)
>
> at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValve
> Context.java:104)
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
> va:117)
>
> at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValve
> Context.java:102)
>
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
> e.java:109)
>
> at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValve
> Context.java:104)
>
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
> at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValve
> Context.java:102)
>
> 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.proces
> sConnection(Http11Protocol.java:705)
>
> at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPo
> ol.java:683)
>
> at java.lang.Thread.run(Thread.java:534)
>
> Regards
> Jan
>
> _______________________________________________
> 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/mailman/listinfo/opencms-dev
--
Michael Emmerich
-------------------
Alkacon Software GmbH - The OpenCms Experts Michael Emmerich An der
Wachsfabrik 13
50996 Koeln, DE
Tel: +49 (0)2236 3826-14
Fax: +49 (0)2236 3826-20
Email: m.emmerich at alkacon.com
http://www.alkacon.com
http://www.opencms.org
_______________________________________________
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/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list