[opencms-dev] CmsXmlXercesParser exception

Dimitri Bougoulias D.Bougoulias at ieee.org
Mon May 12 19:43:01 CEST 2003


Ulrich, 
Eclipse 2.1 uses xerces 2.0 (from IBM's XML4J 4.0.7) 
Tomcat uses higher version (>2.1.x or 2.2.x).

I agree with Alex that most likely your setup uses Eclipse xerces....

Dimitri

-----Original Message-----
From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
On Behalf Of Alexander Kandzior
Sent: Monday, May 12, 2003 8:07 PM
To: opencms-dev at opencms.org
Subject: RE: [opencms-dev] CmsXmlXercesParser exception


Ulrich,

it's likley that your system uses another version of the Xerces parser
(probably from eclipse) which is not compatible with the version required in
OpenCms. I don't know the details as we do not use this kind of setup. Maybe
search the mailing list archive for remote online debugging, this is working
quite well even though you can not hot-swap code in the core with this
setup. 

Best Regards,
Alex.

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

> -----Original Message-----
> From: opencms-dev-admin at opencms.org
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of Ulrich Rueth
> Sent: Monday, May 12, 2003 6:43 PM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] CmsXmlXercesParser exception
> 
> 
> Hi!
> I just set up OpenCms using Eclipse with the Tomcat plugin
> (Tomcat 4.1.18) in order to be able to debug the code (I try 
> to find a solution for Bug Nr. 8). I downloaded the OpenCms 
> source package for 5.0.0 and I am working in Tomcat directly 
> (via Eclipse) with the sources (I removed the opencms.jar 
> coming with the binary distribution). When trying to log in, 
> I get the following exception (I only list the top lines of 
> the root cause stack trace
> here):
> 
> java.lang.VerifyError: (class:
> com/opencms/template/CmsXmlXercesParser,
> method: parse signature: 
> (Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;)
> Incompatible object argument for function call
> 	at 
> com.opencms.template.A_CmsXmlContent.(A_CmsXmlContent.java:156)
> 	at 
> com.opencms.file.genericSql.CmsResourceBroker.init(CmsResource
> Broker.java:42
> 03)
> 	at com.opencms.file.CmsRbManager.init(CmsRbManager.java:88)
> 	at com.opencms.core.OpenCms.(OpenCms.java:255)
> 	at 
> com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:242)
> 	at 
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardW
> rapper.java:93
> 4)
> 	at
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrap
> per.java:666)
> 	at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValve.ja
> va:214)
> ...
> 
> This also happens if I build a jar file from the OpenCms
> 5.0.0 sources and add it as jar file to the web application. 
> I am a bit stuck now, has anybody an idea what's going an here?
> 
> Thanks for your help!
> Ulrich
> 
> 
> _______________________________________________
> 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