I have looked through the lists and have seen references to problems getting XUpdate to run as far back as the beginning of 2002. In all of the previous posts I have seen some suggestions about moving xerces jars into common/endorsed dir or modifying vm.cfg and adding a java.endorsed.dirs pointer to xindice java/lib there, or modifying the command line and adding java.endorsed.dirs there. All these have been tried and have failed.
I'm not certain if this is strictly related to JDK1.4, which we are using, or other changes that have occurred in Xindice, but this continuing problem needs to be solved whether it is related to 1.4 or not. I'm not being critical here. I think that the recent resurgence of interest in Xindice is really going to build a strong product and I am also contributing where possible, but I have observed that people have been complaining about XUpdate for months even going back into v1.0. This is a matter of priorities. XPath query and XUpdate modifications certainly are two crucial pieces to successfully utilizing Xindice. It would seem that this issue needs to be moved much higher on the list of priorities of things needing fixed. --- grenoml <[EMAIL PROTECTED]> wrote: > Here's how you should be able to duplicate the error: > > 1. make sure Xindice is running under Tomcat > 2. make sure there is an 'addressbook' collection under /db > xindice ac -c /db -n addressbook > 3. In Xindice 1.1 tree: > cd to ...java/examples/guide directory > 4. using the guide examples add documents to the addressbook (these > work) > ./run org.apache.xindice.examples.AddDocument xml/address1.xml > ./run org.apache.xindice.examples.AddDocument xml/address2.xml > 5. using the guide examples update the documents in the addressbook > ./run org.apache.xindice.examples.XUpdate (this does not work) > > You should now see the error. > > > --- "Vladimir R. Bossicard" <[EMAIL PROTECTED]> wrote: > > > Well at least when I run the Example XUpdate program I get the > same > > > error: > > > > > > XML:DB Exception occured 1 Query error: java.lang.Exception: > > > java.lang.NoClassDefFoundError: > > org/apache/xerces/framework/XMLParser > > > > > > So does anyone know how to fix this? > > > > why not writing a unit test that shows the bug? It' much easier to > > > start from something when debugging. > > > > It's especially important when you have to deal with external > > ressources > > (like the xml file to query and the Tomcat infrastructure). > > > > -Vladimir > > > > -- > > Vladimir R. Bossicard > > Apache Xindice - http://xml.apache.org/xindice > > > > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus � Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
