[opencms-dev] Tomcat 5.0.16 usage

reed.mccauley at us.abb.com reed.mccauley at us.abb.com
Fri Feb 6 23:18:01 CET 2004






Hi,
I've installed the opencms (Tomcat (5.0.16), MySQL (4.0.17) and opencms
(5.0.1)) environment on W2K. I'm trying out "the demo" listed in Ch 5.2
section 1 of the opencms manual. The step  to  "Edit pages" fails. On
different installation/test run phases I get different results. Here's
the
most common:
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

root cause
java.lang.NoSuchMethodError:
org.apache.xerces.dom.CoreDocumentImpl.getEncoding()Ljava/lang/String;

com.opencms.template.CmsXmlXercesParser.getOriginalEncoding(CmsXmlXercesParser.java:193)


com.opencms.template.CmsXmlXercesParser.getXmlText(CmsXmlXercesParser.java:131)

 com.opencms.template.A_CmsXmlContent.getXmlText(A_CmsXmlContent.java:684)

 com.opencms.template.A_CmsXmlContent.getXmlText(A_CmsXmlContent.java:673)

com.opencms.file.CmsResourceTypePage.copyResource(CmsResourceTypePage.java:391)

 com.opencms.file.CmsObject.copyResource(CmsObject.java:684)

com.opencms.workplace.CmsXmlTemplateEditor.createTemporaryFile(CmsXmlTemplateEditor.java:100)


com.opencms.workplace.CmsXmlTemplateEditor.getContent(CmsXmlTemplateEditor.java:444)


com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:171)

 com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)

com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache.java:149)


com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:285)

 com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
 com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)
                 com.opencms.core.OpenCms.showResource(OpenCms.java:961)
 com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


Note that I'm using Tomcat 5.0.16. I get a compability warning during
installation saying that opencms has not been tested against it. Is this
the problem?

Thanks for any help on this,

Reed

(See attached file: C.htm)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040206/b9a720bc/attachment.htm>


More information about the opencms-dev mailing list