[opencms-dev] Java Encoding Error
Matthias Koch
Net at StarLine-Inc.de
Sat Mar 20 13:32:02 CET 2004
Hi,
ich have a Problem with OpenCms 5.0.1 and 5.0.0
when I will create a new site i allways get this Error:
type Exception report
message
description The server encountered an internal error () that prevented it from
fulfilling this request.
exception
javax.servlet.ServletException:
org.apache.xerces.dom.CoreDocumentImpl.getEncoding()Ljava/lang/String;
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:324)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:200)
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.workplace.CmsNewResourcePage.createPagefile(CmsNewResourcePage.java:118)
com.opencms.workplace.CmsNewResourcePage.getContent(CmsNewResourcePage.java:194)
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)
sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:284)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:306)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:200)
note The full stack trace of the root cause is available in the Tomcat logs.
I don't know what it is, I have testet different versions of xerces and
different encoding types but I get allways the same error.
I use Tomcat 5.0.18 or 5.0.19 with java 1.4.2_03
Have anyone any ideas ?
Thank you verry much.
(Sorry for my bad english)
mfg Matthias
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the opencms-dev
mailing list