[opencms-dev] error message

Petr Hollay ph at ethikom.de
Wed Feb 19 10:25:50 CET 2003


Hi,

problem is in different versions of Xerces XML parser in Tomcat 4 (Xerces
v2) and OpenCms (Xerces v1).

Just remove xercesImpl.jar from /tomcat/common/endorsed/ and copy into this
folder xerces-1_4_4.jar from OpenCms distribution.

Until you have no other webapps using new Xerces, this solution is ok.


See file tomcat-4.1.x/RELEASE-NOTES-4.1.txt:

Tomcat 4.1 also makes available Xerces 2 to web applications.
--------------------------
Tomcat 4.1 and XML Parsers:
--------------------------

As described above, Tomcat 4.1 makes an XML parser (and many other standard
APIs) available to web applications.  This parser is also used internally
to parse web.xml files and the server.xml configuration file.  If you wish,
you may replace the "xercesImpl.jar" file in "common/endorsed" with another
XML parser, as long as it is compatible with the JAXP 1.1 APIs.

Regards
Petr

  -----Original Message-----
  From: owner-opencms-dev at www.opencms.org
[mailto:owner-opencms-dev at www.opencms.org]On Behalf Of Michal Sadlon
  Sent: Wednesday, February 19, 2003 10:13 AM
  To: opencms-dev at opencms.org
  Subject: [opencms-dev] error message


  Hi everybody,
  i try opencms 4.7.7 to install (Unix-Debian) and i get this error message:

  java.lang.VerifyError: (class: com/opencms/template/CmsXmlXercesParser,
method: parse signature: (Ljava/io/Reader;)Lorg/w3c/dom/Document;)
Incompatible object argument for function call

  Can anybody help?

  Thank for your help.
  Michal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20030219/df442f1e/attachment.htm>


More information about the opencms-dev mailing list