<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>So much for making precations.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>It turned out to be a bad idea to rename the
original xercesImpl.jar for backup and leave it in the endorsed
folder.</FONT></DIV>
<DIV><FONT face=Arial size=2>I found it was still being used...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If I delete this file and add the xerces1.4.4.jar
without renaming it works fine!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>- Leif</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=leif@eurostart.net href="mailto:leif@eurostart.net">Leif</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=opencms-dev@opencms.org
href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, January 17, 2004 11:42
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [opencms-dev] Can't edit page
even after replacing the XML/Xerces parser</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>I just installed OpenCMS 5.0.1, but when I try to edit any html file
within OpenCMS, I get a http 500 error with the<BR>following
message:<BR></DIV>
<DIV><FONT face=Arial size=2>java.lang.NoSuchMethodError:
org.apache.xerces.dom.CoreDocumentImpl.getEncoding()Ljava/lang/String;<BR> at
com.opencms.template.CmsXmlXercesParser.getOriginalEncoding(CmsXmlXercesParser.java:193)<BR> at
com.opencms.template.CmsXmlXercesParser.getXmlText(CmsXmlXercesParser.java:131)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have read somewhere that "This a a
conflict of XML/Xerces jar versions.</FONT></DIV>
<DIV><FONT face=Arial size=2>Tomcat comes with a version that is not
compatible with OpenCms at this time.<BR>Solution: Look for a xercesImpl.jar
somehere in the default Tomcat lib folders.</FONT></DIV>
<DIV><FONT face=Arial size=2>Replace this with the xerxec1.4.4.jar that ships
with OpenCms."</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've copied my "xerxec1.4.4.jar" into
c:\tomcat\common\endorsed and renamed it "xercesImpl.jar".</FONT></DIV>
<DIV><FONT face=Arial size=2>(The original "xercesImpl.jar" was renamed
"xercesImpl.jar.org"). I have tried restarting Tomcat and the
computer</FONT></DIV>
<DIV><FONT face=Arial size=2>several times but it s</FONT><FONT face=Arial
size=2>till doesn't work..... Any ideas?</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV>
<DIV>My Tomcat version is 4.1.29</DIV>
<DIV> </DIV>
<DIV>-Leif<BR></DIV></BLOCKQUOTE></FONT></BODY></HTML>