<br><font size=2 face="sans-serif">Hi,</font>
<br><font size=2 face="sans-serif">Well, as recommended, I installed an older version of Tomcat (4.1.29). Unfortunately, it yields similar errors (see below). I'm just trying going through the "test demo" portion of the opencms user's manual. Is this not how folks get up to speed on this product? It's not a classpath issue as I've set it to "." before starting Tomcat; it is using the xerces code that comes bundled with it. As mentioned farther down, this is a standared W2K installation with JDK 1.4.2-02. </font>
<br><font size=2 face="sans-serif">Thanks for any help,</font>
<br><font size=2 face="sans-serif">Reed</font>
<p><font size=3 color=white face="Times New Roman"><b>type</b></font><font size=3 face="Times New Roman"> Exception report</font>
<p><font size=3 color=white face="Times New Roman"><b>message</b></font><font size=3 face="Times New Roman"> </font>
<p><font size=3 color=white face="Times New Roman"><b>description</b></font><font size=3 face="Times New Roman"> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></font>
<p><font size=3 color=white face="Times New Roman"><b>exception</b></font><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Courier New">javax.servlet.ServletException: Servlet execution threw an exception<br>
                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)<br>
                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)<br>
                 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)<br>
                 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<br>
                 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<br>
                 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<br>
                 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br>
                 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<br>
                 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<br>
                 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<br>
                 at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)<br>
                 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)<br>
                 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<br>
                 at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)<br>
                 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)<br>
                 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)<br>
                 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)<br>
                 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<br>
                 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<br>
                 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)<br>
                 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<br>
                 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<br>
                 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<br>
                 at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)<br>
                 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)<br>
                 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)<br>
                 at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)<br>
                 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)<br>
                 at java.lang.Thread.run(Thread.java:534)<br>
</font>
<p><font size=3 color=white face="Times New Roman"><b>root cause</b></font><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Courier New">java.lang.NoSuchMethodError: org.apache.xerces.dom.CoreDocumentImpl.getEncoding()Ljava/lang/String;<br>
                 at com.opencms.template.CmsXmlXercesParser.getOriginalEncoding(CmsXmlXercesParser.java:193)<br>
                 at com.opencms.template.CmsXmlXercesParser.getXmlText(CmsXmlXercesParser.java:131)<br>
                 at com.opencms.template.A_CmsXmlContent.getXmlText(A_CmsXmlContent.java:684)<br>
                 at com.opencms.template.A_CmsXmlContent.getXmlText(A_CmsXmlContent.java:673)<br>
                 at com.opencms.file.CmsResourceTypePage.copyResource(CmsResourceTypePage.java:391)<br>
                 at com.opencms.file.CmsObject.copyResource(CmsObject.java:684)<br>
                 at com.opencms.workplace.CmsXmlTemplateEditor.createTemporaryFile(CmsXmlTemplateEditor.java:100)<br>
                 at com.opencms.workplace.CmsXmlTemplateEditor.getContent(CmsXmlTemplateEditor.java:444)<br>
                 at com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:171)<br>
                 at com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)<br>
                 at com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache.java:149)<br>
                 at com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:285)<br>
                 at com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)<br>
                 at com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)<br>
                 at com.opencms.core.OpenCms.showResource(OpenCms.java:961)<br>
                 at com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)<br>
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)<br>
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<br>
                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)<br>
                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)<br>
                 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)<br>
                 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<br>
                 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<br>
                 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<br>
                 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br>
                 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<br>
                 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<br>
                 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<br>
                 at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)<br>
                 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)<br>
                 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<br>
                 at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)</font>
<br><font size=3 face="Courier New">                 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)<br>
                 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)<br>
                 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)<br>
                 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<br>
                 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<br>
                 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)<br>
                 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<br>
                 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<br>
                 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<br>
                 at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)<br>
                 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)<br>
                 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)<br>
                 at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)<br>
                 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)<br>
                 at java.lang.Thread.run(Thread.java:534)<br>
</font>
<p>
<hr noshade>
<br><font size=4 color=white face="Times New Roman"><b>Apache Tomcat/4.1.29</b></font>
<br>
<br>
<br>
<br><font size=1 color=white face="Arial">Message from Reed McCauley/USTRA/NONABB@ABB_US01@opencms.org received on 02/06/2004 02:16 PM</font>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif">02/06/2004 02:16 PM</font>
<br><font size=1 face="sans-serif">Internal</font>
<br>
<td>
<td><font size=1 face="sans-serif"><b>Reed McCauley/USTRA/NONABB@ABB_US01@opencms.org</b></font>
<br>
<br><font size=1 color=red face="sans-serif">Please respond to opencms-dev@opencms.org</font>
<br><font size=1 color=red face="sans-serif">Sent by opencms-dev-admin@opencms.org</font></table>
<br>
<table width=100%>
<tr valign=top>
<td>
<div align=center>
<br></div>
<td><font size=1 face="sans-serif">        To:        opencms-dev@opencms.org</font>
<br><font size=1 face="sans-serif">        cc:        </font>
<br><font size=1 face="sans-serif">        Subject:        [opencms-dev] Tomcat 5.0.16 usage</font></table>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br><font size=2><tt>Hi,<br>
I've installed the opencms (Tomcat (5.0.16), MySQL (4.0.17) and opencms<br>
(5.0.1)) environment on W2K. I'm trying out "the demo" listed in Ch 5.2<br>
section 1 of the opencms manual. The step  to  "Edit pages" fails. On<br>
different installation/test run phases I get different results. Here's<br>
the<br>
most common:<br>
type Exception report<br>
message<br>
description The server encountered an internal error () that prevented<br>
it from<br>
fulfilling this request.<br>
exception<br>
javax.servlet.ServletException: Servlet execution threw an exception<br>
</tt></font>
<br><font size=2><tt>root cause<br>
java.lang.NoSuchMethodError:<br>
org.apache.xerces.dom.CoreDocumentImpl.getEncoding()Ljava/lang/String;<br>
</tt></font>
<br><font size=2><tt>com.opencms.template.CmsXmlXercesParser.getOriginalEncoding(CmsXmlXercesParser.java:193)<br>
</tt></font>
<br>
<br><font size=2><tt>com.opencms.template.CmsXmlXercesParser.getXmlText(CmsXmlXercesParser.java:131)<br>
</tt></font>
<br><font size=2><tt>com.opencms.template.A_CmsXmlContent.getXmlText(A_CmsXmlContent.java:684)<br>
</tt></font>
<br><font size=2><tt>com.opencms.template.A_CmsXmlContent.getXmlText(A_CmsXmlContent.java:673)<br>
</tt></font>
<br><font size=2><tt>com.opencms.file.CmsResourceTypePage.copyResource(CmsResourceTypePage.java:391)<br>
</tt></font>
<br><font size=2><tt>com.opencms.file.CmsObject.copyResource(CmsObject.java:684)<br>
</tt></font>
<br><font size=2><tt>com.opencms.workplace.CmsXmlTemplateEditor.createTemporaryFile(CmsXmlTemplateEditor.java:100)<br>
</tt></font>
<br>
<br><font size=2><tt>com.opencms.workplace.CmsXmlTemplateEditor.getContent(CmsXmlTemplateEditor.java:444)<br>
</tt></font>
<br>
<br><font size=2><tt>com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:171)<br>
</tt></font>
<br><font size=2><tt>com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)<br>
</tt></font>
<br><font size=2><tt>com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache.java:149)<br>
</tt></font>
<br>
<br><font size=2><tt>com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:285)<br>
</tt></font>
<br><font size=2><tt>com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)<br>
com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)</tt></font>
<br><font size=2><tt>com.opencms.core.OpenCms.showResource(OpenCms.java:961)<br>
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)<br>
javax.servlet.http.HttpServlet.service(HttpServlet.java:743)<br>
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)</tt></font>
<br>
<br>
<br><font size=2><tt>Note that I'm using Tomcat 5.0.16. I get a compability warning during<br>
installation saying that opencms has not been tested against it. Is this<br>
the problem?<br>
</tt></font>
<br><font size=2><tt>Thanks for any help on this,<br>
</tt></font>
<br><font size=2><tt>Reed<br>
</tt></font>
<br><font size=2><tt>(See attached file: C.htm)</tt></font>
<br>
<br><font size=1 color=red face="sans-serif">Attention: Attachment  "C.htm" has been removed from this note on February 09 2004 by Reed McCauley/USTRA/NONABB</font>
<br>
<br>