AW: [opencms-dev] OpenCms 5.0 and Tomcat 4.1.29?
Jakob Lemler
Jakob.Lemler at t-online.de
Fri Nov 14 17:45:03 CET 2003
hi Petr,
thanks a lot, works great again... ;-)
bye
Jakob
-----Ursprüngliche Nachricht-----
Von: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org] Im Auftrag von Petr Hollay
Gesendet: Freitag, 14. November 2003 11:13
An: opencms-dev at opencms.org
Betreff: Re: [opencms-dev] OpenCms 5.0 and Tomcat 4.1.29?
Hi,
reason is that OpenCms still uses old version of Xerces XML parser -
version 1.4.4, and in Tomcat 4.1.29 is available to web applications
newer version - Xerces2 2.5.0.
Just replace tomcat-4.1.29\common\endorsed\xercesImpl.jar with
xerces-1_4_4.jar from OpenCms lib directory and restart Tomcat.
Regards
Petr
----- Original Message -----
From: "Salvador Santander" <dominion.salvador.ext at juntadeandalucia.es>
To: <opencms-dev at opencms.org>
Sent: Friday, November 14, 2003 9:26 AM
Subject: RE: [opencms-dev] OpenCms 5.0 and Tomcat 4.1.29?
> I found the same error updating my tomcat in RedHat 9.
> It seems to be a error with java encoding, try to change your java
encoding,
> try to set the java encoding to iso-8859-1. I get this editing the
> configuration files of tomcat and the system encoding, in my case(
> redhat 9 ), I edited the /etc/sysconfig/i18n file and changed iso15 to
> iso01. I hope this helps you.
>
> -----Mensaje original-----
> De: opencms-dev-admin at opencms.org
> [mailto:opencms-dev-admin at opencms.org]En nombre de Jakob Lemler
> Enviado el: jueves, 13 de noviembre de 2003 19:27
> Para: opencms-dev at opencms.org
> Asunto: [opencms-dev] OpenCms 5.0 and Tomcat 4.1.29?
>
>
> hi guys,
>
> after updating my tomcat 4.1.27 version to 4.1.29 I get an error when
> I try to edit a page... Seems so, that xerces is the reason why but I
> am not sure and I have actually no idea how to get the whole thing
> running again.
>
> Any hints out there others with the same problem?
>
> regards
> Jakob
>
> here is the javastack:
> HTTP Status 500 -
>
> ----------------------------------------------------------------------
> --
> --------
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented
> it from fulfilling this request.
>
> exception
>
> javax.servlet.ServletException: Servlet execution threw an exception
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> ca
> tionFilterChain.java:269)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:193)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:256)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 80)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:191)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 80)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
> 7)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :180)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
> lve.java:171)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:641)
> at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :172)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:641)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 80)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:174)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 80)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
> at
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:78
> 1)
> at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
> onnection(Http11Protocol.java:549)
> at
>
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:58
> 9)
> at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> .java:666)
> at java.lang.Thread.run(Thread.java:534)
>
>
> root cause
>
> java.lang.NoSuchMethodError:
> org.apache.xerces.dom.CoreDocumentImpl.getEncoding()Ljava/lang/String;
> at
> com.opencms.template.CmsXmlXercesParser.getOriginalEncoding(CmsXmlXerc
> es
> Parser.java:193)
> at
>
com.opencms.template.CmsXmlXercesParser.getXmlText(CmsXmlXercesParser.ja
> va:131)
> at
>
com.opencms.template.A_CmsXmlContent.getXmlText(A_CmsXmlContent.java:684
> )
> at
>
com.opencms.template.A_CmsXmlContent.getXmlText(A_CmsXmlContent.java:673
> )
> at
>
com.opencms.file.CmsResourceTypePage.copyResource(CmsResourceTypePage.ja
> va:391)
> at com.opencms.file.CmsObject.copyResource(CmsObject.java:684)
> at
>
com.opencms.workplace.CmsXmlTemplateEditor.createTemporaryFile(CmsXmlTem
> plateEditor.java:100)
> at
>
com.opencms.workplace.CmsXmlTemplateEditor.getContent(CmsXmlTemplateEdit
> or.java:439)
> at
>
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:1
> 71)
> at
> com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
> at
>
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementC
> ache.java:149)
> at
>
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:2
> 85)
> at
> com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
> at
> com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)
> at com.opencms.core.OpenCms.showResource(OpenCms.java:956)
> at
> com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:247)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:193)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:256)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 80)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:191)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 80)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
> 7)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :180)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
> lve.java:171)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:641)
> at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :172)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:641)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 80)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:174)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 80)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
> at
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:78
> 1)
> at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
> onnection(Http11Protocol.java:549)
> at
>
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:58
> 9)
> at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> .java:666)
> at java.lang.Thread.run(Thread.java:534)
>
>
>
> ----------------------------------------------------------------------
> --
> --------
>
> Apache Tomcat/4.1.29
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
> visit http://mail.opencms.org/mailman/listinfo/opencms-dev
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
> visit http://mail.opencms.org/mailman/listinfo/opencms-dev
>
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list