AW: [opencms-dev] Error on Edit...

DECART :: Markus Freyt markus.freyt at decart.de
Tue Dec 2 21:52:01 CET 2003


Hi Alex,
thank you so much....This was really solving the problem.

Have a nice evening indeed.

Markus Freyt

-----Ursprüngliche Nachricht-----
Von: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org]Im Auftrag von Mark Miller
Gesendet: Montag, 1. Dezember 2003 19:55
An: opencms-dev at opencms.org
Betreff: AW: [opencms-dev] Error on Edit...


And voila


http://mail.opencms.org/pipermail/opencms-dev/2003q3/007246.html


This a a conflict of XML/Xerces jar versions. Tomcat comes with a =
version
that is not compatible with OpenCms at this time.=20

Solution: Look for a xercexImpl.jar somehere in the default Tomcat lib
folders. Replace this with the xerxec1.4.4.jar that ships with
OpenCms.=20

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com






-----Ursprüngliche Nachricht-----
Von: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org] Im Auftrag von Mark Miller
Gesendet: 01 December 2003 19:52
An: opencms-dev at opencms.org
Betreff: AW: [opencms-dev] Error on Edit...

I would suggest that, from the log that you posted, you take a look at
the following lines

----- Root Cause -----
java.lang.NoSuchMethodError:
org.apache.xerces.dom.CoreDocumentImpl.getEncoding()Ljava/lang/String;
        at
com.opencms.template.CmsXmlXercesParser.getOriginalEncoding(CmsXmlXerces
Parser.java:193)

Something is wrong with Encoding or with Xerces. Do a search on both
keywords on the mailing list and check if anything matches your problem.





-----Ursprüngliche Nachricht-----
Von: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org] Im Auftrag von DECART :: Markus
Freyt
Gesendet: 01 December 2003 19:49
An: opencms-dev at opencms.org
Betreff: AW: [opencms-dev] Error on Edit...

Hmm, there seems to be a general misuderstanding.
In the last twenty hours 3 persons have raised up this problems ?

It might be based on settings around "Trusted Sites".
I have added "http://localhost:8080, but it doesn`t help.
But somewhere in between I have also achieved to see error
message 500 instead of 404...   ;-)

Pls, let me know, if your problem is solved....


Greetings

Markus Freyt






-----Ursprüngliche Nachricht-----
Von: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org]Im Auftrag von Markus Ruecker
Gesendet: Montag, 1. Dezember 2003 11:27
An: opencms-dev at opencms.org
Betreff: [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



_______________________________________________
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



_______________________________________________
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