[opencms-dev] CmsXmlXercesParser exception

Alexander Kandzior alex at opencms.org
Mon May 12 22:08:01 CEST 2003


Ulrich, 

we use Eclipse for developing OpenCms. I am thinking about writing a
documentaion about "Working on the OpenCms core with Eclipse" or
something like this but this not likley to happen very soon as other
projects have higher priority. For debugging, we most often do
"System.err.println()" ;-) I know there are 1000 methods more fancy then
this, so don't tell me. 

My tip: Check out the targets "tomcat.update" and "tomcat.all" in the
Ant build.xml. If you setup OpenCms like described on the "Core build"
page (http://www.opencms.org/opencms/en/development/core.html) you can
recompile directly into the Tomcat directroy from Eclipse with this
targets. Development process is: Log out from OpenCms - Stop Tomcat -
Hit "Run Ant" (or whatever) in Eclipse - OpenCms is build and copied to
Tomcat /libs dir - Start Tomcat - Login to OpenCms again. Takes less
then 30 seconds on a resonable fast development machine. 

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 9:43 PM
> To: opencms-dev at opencms.org
> Subject: AW: [opencms-dev] CmsXmlXercesParser exception
> 
> 
> Alex,
> 
> what kind of setup do you use (just because I'm interested in it)?
> 
> Ulrich
> 
> > -----Ursprungliche Nachricht-----
> > Von: opencms-dev-admin at opencms.org 
> > [mailto:opencms-dev-admin at opencms.org]Im Auftrag von Alexander 
> > Kandzior
> > Gesendet: Montag, 12. Mai 2003 19:07
> > An: opencms-dev at opencms.org
> > Betreff: 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
> >
> >
> 
> 
> _______________________________________________
> 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