[opencms-dev] Tomcat 5.0.16 usage
reed.mccauley at us.abb.com
reed.mccauley at us.abb.com
Mon Feb 9 20:23:01 CET 2004
Hi,
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.
Thanks for any help,
Reed
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
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
at java.lang.Thread.run(Thread.java:534)
root cause
java.lang.NoSuchMethodError:
org.apache.xerces.dom.CoreDocumentImpl.getEncoding()Ljava/lang/String;
at
com.opencms.template.CmsXmlXercesParser.getOriginalEncoding(CmsXmlXercesParser.java:193)
at
com.opencms.template.CmsXmlXercesParser.getXmlText(CmsXmlXercesParser.java:131)
at
com.opencms.template.A_CmsXmlContent.getXmlText(A_CmsXmlContent.java:684)
at
com.opencms.template.A_CmsXmlContent.getXmlText(A_CmsXmlContent.java:673)
at
com.opencms.file.CmsResourceTypePage.copyResource(CmsResourceTypePage.java:391)
at
com.opencms.file.CmsObject.copyResource(CmsObject.java:684)
at
com.opencms.workplace.CmsXmlTemplateEditor.createTemporaryFile(CmsXmlTemplateEditor.java:100)
at
com.opencms.workplace.CmsXmlTemplateEditor.getContent(CmsXmlTemplateEditor.java:444)
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:961)
at
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
at java.lang.Thread.run(Thread.java:534)
Apache Tomcat/4.1.29
Message from Reed McCauley/USTRA/NONABB at ABB_US01@opencms.org received on
02/06/2004 02:16 PM
02/06/2004 02:16 PM
Internal
Reed McCauley/USTRA/NONABB at ABB_US01@opencms.org
Please respond to opencms-dev at opencms.org
Sent by opencms-dev-admin at opencms.org
To: opencms-dev at opencms.org
cc:
Subject: [opencms-dev] Tomcat 5.0.16 usage
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)
Attention: Attachment "C.htm" has been removed from this note on
February
09 2004 by Reed McCauley/USTRA/NONABB
(See attached file: C.htm)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040209/1c80dc6c/attachment.htm>
More information about the opencms-dev
mailing list