[opencms-dev] Can't edit HTML-Files after switching server
Alexander Langer
al at al-arenal.de
Sat Jul 10 14:55:01 CEST 2004
Hi!
I currentyl have to switch to a new machine. I got Tomcat 5.0.18 up
and running with IBM's JDK 1.4.1 on a Linux box. I installed OpenCMS
5.0.0, then imported the stuff from the running system and upgraded to
5.0.1. Now while I'm testing if everything works, I experienced that
when I try to edit mit HTML pages with the WYSIWYG editor, I get
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
root cause
java.lang.NoSuchMethodError: org.apache.xerces.dom.CoreDocumentImpl: method getEncoding()Ljava/lang/String; not found
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(Compiled Code))
note The full stack trace of the root cause is available in the Tomcat logs.
--------------------------------------------------------------------------------
Apache Tomcat/5.0.18
When I try to access the source, I get:
HTTP Status 404 -
--------------------------------------------------------------------------------
type Status report
message
description The requested resource () is not available.
--------------------------------------------------------------------------------
Apache Tomcat/5.0.18
Any idea how to fix this?
al
--
Alexander Langer
homepage: http://www.al-arenal.de
mailto: langer at al-arenal.de
More information about the opencms-dev
mailing list