[opencms-dev] Demopages do not work in OpenCms 6.2.0, Java-1.4 problem?

Uwe König uwederkoenig at web.de
Tue Apr 4 22:12:03 CEST 2006



Hello Jan, 

we ran also java 1.4.2 with OpenCMS 6.0.3. Java and tomcat-dirs were
addressed by symbolic links. Today I installed java 1.5, Tomcat 5.5,
changed the symbolic links and just xcopied the webapps dir. OpenCMS
worked without any further doing :)
So maybe you can try this to get your installation run again
soon. 
Best regards, 

Uwe König 




On Mon, 03 Apr 2006 14:43:51 +0200
Jan Meier <jan.meier at zmnh.uni-hamburg.de> wrote:

> 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/lan
> g/StringBuffer;
> 	at 
> org.opencms.frontend.templateone.CmsTemplateNavigation.getMenuNav
> igation(CmsTemplateNavigation.java:985)
> 	at 
> org.opencms.frontend.templateone.CmsTemplateNavigation.buildNavig
> ationHeadMenus(CmsTemplateNavigation.java:550)
> 	at 
> org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms
> _frontend_templateone.elements.nav_005fhead_005fmenus_jsp._jspSer
> vice(nav_005fhead_005fmenus_jsp.java:51)
> 	at
> 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.j
> 	ava:94) at
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWra
> pper.java:324)
> 	at
> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServ
> 	let.java:292) at
> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.jav
> 	a:236) 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(Applicat
> ionFilterChain.java:157)
> 	at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(Application
> Dispatcher.java:704)
> 	at 
> org.apache.catalina.core.ApplicationDispatcher.doInclude(Applicat
> ionDispatcher.java:590)
> 	at 
> org.apache.catalina.core.ApplicationDispatcher.include(Applicatio
> nDispatcher.java:510)
> 	at 
> org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlex
> RequestDispatcher.java:194)
> 	at 
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestD
> ispatcher.java:170)
> 	at
> 	org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:4
> 	33) at 
> org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCach
> e(CmsFlexRequestDispatcher.java:423)
> 	at 
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestD
> ispatcher.java:174)
> 	at 
> org.opencms.jsp.CmsJspTagInclude.includeActionWithCache(CmsJspTag
> Include.java:373)
> 	at 
> org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclud
> e.java:247)
> 	at 
> org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclud
> e.java:165)
> 	at 
> org.opencms.jsp.CmsJspActionElement.include(CmsJspActionElement.j
> ava:438)
> 	at 
> org.opencms.jsp.CmsJspActionElement.include(CmsJspActionElement.j
> ava:462)
> 	at 
> org.opencms.frontend.templateone.CmsTemplateBean.buildHtmlBodyEnd
> (CmsTemplateBean.java:307)
> 	at 
> org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms
> _frontend_templateone.templates.main_jsp._jspService(main_jsp.jav
> a:344)
> 	at
> 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.j
> 	ava:94) at
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWra
> pper.java:324)
> 	at
> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServ
> 	let.java:292) at
> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.jav
> 	a:236) 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(Applicat
> ionFilterChain.java:157)
> 	at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(Application
> Dispatcher.java:704)
> 	at 
> org.apache.catalina.core.ApplicationDispatcher.doInclude(Applicat
> ionDispatcher.java:590)
> 	at 
> org.apache.catalina.core.ApplicationDispatcher.include(Applicatio
> nDispatcher.java:510)
> 	at 
> org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlex
> RequestDispatcher.java:194)
> 	at 
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestD
> ispatcher.java:170)
> 	at
> 	org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:4
> 	33) at 
> org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCach
> e(CmsFlexRequestDispatcher.java:423)
> 	at 
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestD
> ispatcher.java:174)
> 	at 
> org.opencms.jsp.CmsJspTagInclude.includeActionWithCache(CmsJspTag
> Include.java:373)
> 	at 
> org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclud
> e.java:247)
> 	at 
> org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclud
> e.java:165)
> 	at 
> org.opencms.jsp.CmsJspActionElement.include(CmsJspActionElement.j
> ava:438)
> 	at 
> org.opencms.jsp.CmsJspActionElement.include(CmsJspActionElement.j
> ava:462)
> 	at 
> org.opencms.jsp.CmsJspActionElement.include(CmsJspActionElement.j
> ava:366)
> 	at 
> org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms
> _frontend_photoalbum.pages.album_html_jsp._jspService(album_html_
> jsp.java:69)
> 	at
> 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.j
> 	ava:94) at
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWra
> pper.java:324)
> 	at
> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServ
> 	let.java:292) at
> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.jav
> 	a:236) 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(Applicat
> ionFilterChain.java:157)
> 	at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(Application
> Dispatcher.java:704)
> 	at 
> org.apache.catalina.core.ApplicationDispatcher.doInclude(Applicat
> ionDispatcher.java:590)
> 	at 
> org.apache.catalina.core.ApplicationDispatcher.include(Applicatio
> nDispatcher.java:510)
> 	at 
> org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlex
> RequestDispatcher.java:194)
> 	at 
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestD
> ispatcher.java:170)
> 	at
> 	org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:4
> 	33) at 
> org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCach
> e(CmsFlexRequestDispatcher.java:423)
> 	at 
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestD
> ispatcher.java:174)
> 	at
> 	org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.ja
> 	va:467) at
> 	org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:412)
> 	at 
> org.opencms.loader.A_CmsXmlDocumentLoader.load(A_CmsXmlDocumentLo
> ader.java:225)
> 	at 
> org.opencms.loader.CmsResourceManager.loadResource(CmsResourceMan
> ager.java:719)
> 	at
> 	org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:
> 	1362) at
> 	org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:1
> 	51) 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(Applicat
> ionFilterChain.java:157)
> 	at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrap
> perValve.java:214)
> 	at 
> org.apache.catalina.core.StandardValveContext.invokeNext(Standard
> ValveContext.java:104)
> 	at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline
> .java:520)
> 	at 
> org.apache.catalina.core.StandardContextValve.invokeInternal(Stan
> dardContextValve.java:198)
> 	at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardCont
> extValve.java:152)
> 	at 
> org.apache.catalina.core.StandardValveContext.invokeNext(Standard
> ValveContext.java:104)
> 	at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline
> .java:520)
> 	at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostVal
> ve.java:137)
> 	at 
> org.apache.catalina.core.StandardValveContext.invokeNext(Standard
> ValveContext.java:104)
> 	at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportVal
> ve.java:117)
> 	at 
> org.apache.catalina.core.StandardValveContext.invokeNext(Standard
> ValveContext.java:102)
> 	at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline
> .java:520)
> 	at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngin
> eValve.java:109)
> 	at 
> org.apache.catalina.core.StandardValveContext.invokeNext(Standard
> ValveContext.java:104)
> 	at 
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.j
> ava:535)
> 	at 
> org.apache.catalina.core.StandardValveContext.invokeNext(Standard
> ValveContext.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(CoyoteAdapt
> 	er.java:160) at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.
> java:799)
> 	at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.p
> rocessConnection(Http11Protocol.java:705)
> 	at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.
> java:577)
> 	at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thr
> eadPool.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
> 



More information about the opencms-dev mailing list