[opencms-dev] OpenCmsServlet threw exception
Jamie Hahn
jhahn at mindleaders.com
Fri Sep 19 22:46:00 CEST 2003
I'm a newbie to OpenCms so please excuse me if this question is too simple.
I just installed OpenCMS and can create jsp and text files; however, when I
try to edit any html file within OpenCMS, I get a http 500 error with the
following message:
java.lang.NoSuchMethodError:
org.apache.xerces.dom.CoreDocumentImpl.getEncoding()Ljava/lang/String;
com.opencms.template.CmsXmlXercesParser.getOriginalEncoding(CmsXmlXercesPars
er.java:193)
com.opencms.template.CmsXmlXercesParser.getXmlText(CmsXmlXercesParser.java:1
31)
com.opencms.workplace.CmsNewResourcePage.createPagefile(CmsNewResourcePage.j
ava:118)
com.opencms.workplace.CmsNewResourcePage.getContent(CmsNewResourcePage.java:
190)
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:956)
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
Tomcat spits this out:
2003-09-19 16:00:28 StandardWrapperValve[OpenCmsServlet]: Servlet.service()
for servlet OpenCmsServlet threw exception
java.lang.NoSuchMethodError:
org.apache.xerces.dom.CoreDocumentImpl.getEncoding()Ljava/lang/String;
at
com.opencms.template.CmsXmlXercesParser.getOriginalEncoding(CmsXmlXercesPars
er.java:193)
at
com.opencms.template.CmsXmlXercesParser.getXmlText(CmsXmlXercesParser.java:1
31)
at
com.opencms.workplace.CmsNewResourcePage.createPagefile(CmsNewResourcePage.j
ava:118)
at
com.opencms.workplace.CmsNewResourcePage.getContent(CmsNewResourcePage.java:
190)
at
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:171)
at com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
at
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache
.java:149)
at
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:285)
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:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:286)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:258)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:256)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:210)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:196
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:175
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:149)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:156)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:974)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:207)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:647)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:497)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:575)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:649)
at java.lang.Thread.run(Thread.java:534)
If someone could point me in the right direction, I would really appreciate
it.
Thanks,
JH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20030919/c39a2a40/attachment.htm>
More information about the opencms-dev
mailing list