[opencms-dev] Error on Edit...

Salvador Santander dominion.salvador.ext at juntadeandalucia.es
Mon Dec 1 11:53:01 CET 2003


This error was already appears in the list, it's because tomcat and OpenCMS
using different version of XML parsers.
I forward the message:

De: opencms-dev-admin at opencms.org en nombre de Petr Hollay
[ph at ethikom.de]
Enviado: viernes, 14 de noviembre de 2003 11:13
Para: opencms-dev at opencms.org
Asunto: Re: [opencms-dev] OpenCms 5.0 and Tomcat 4.1.29?

Hi,
reason is that OpenCms still uses old version of Xerces XML parser - version
1.4.4,
and in Tomcat 4.1.29 is available to web applications newer version -
Xerces2 2.5.0.

Just replace tomcat-4.1.29\common\endorsed\xercesImpl.jar with
xerces-1_4_4.jar from OpenCms lib directory and restart Tomcat.

Regards
Petr



-----Mensaje original-----
De: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org]En nombre de Markus Ruecker
Enviado el: lunes, 01 de diciembre de 2003 11:27
Para: opencms-dev at opencms.org
Asunto: [opencms-dev] Error on Edit...


Hi,

I'm new to OpenCms. It seems to be a great work.
But I have two errors and I don't know where to search for a solution.

The installed system is:
- RedHat Linux 9 (Kernel 2.4.20-8)
- MySQL 3.23
- Tomcat 4.1.29

The installation went well (with no errors!). But if I want to edit a
page (as described in the manual) I get these errors:

1. On Edit page, I get "HTTP Status 404" - "The requested resource () is
not available."

2. On Edit sourcecode I get this error "HTTP Status 500" - type
"Exception report" - description "The server encountered an internal
error () that   prevented it from fulfilling this request."
The logfile says:

2003-12-01 11:23:06 StandardWrapperValve[OpenCmsServlet]:
Servlet.service() for servlet OpenCmsServlet threw exception
javax.servlet.ServletException: Servlet execution threw an exception
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:256)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
7)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:171)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
        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.i
nvokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
        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:78
1)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:549)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:58
9)
        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(CmsXmlXerces
Parser.java:193)
        at
com.opencms.template.CmsXmlXercesParser.getXmlText(CmsXmlXercesParser.ja
va: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.ja
va:391)
        at com.opencms.file.CmsObject.copyResource(CmsObject.java:684)
        at
com.opencms.workplace.CmsXmlTemplateEditor.createTemporaryFile(CmsXmlTem
plateEditor.java:100)
        at
com.opencms.workplace.CmsXmlTemplateEditor.getContent(CmsXmlTemplateEdit
or.java:439)
        at
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:1
71)
        at
com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
        at
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementC
ache.java:149)
        at
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:2
85)
        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:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:256)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
7)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:171)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
        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.i
nvokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
        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:78
1)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:549)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:58
9)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:666)
        at java.lang.Thread.run(Thread.java:534)

Maybe somebody knows, where I have to look for a solution.

Thank's to all,
Regards,
Markus...


_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list