(original didn't appear to get through, so resending)
Well, I did that and got this:
Starting updates...
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/xalan/xpath/xml/PrefixResolver
at
org.infozone.tools.xml.queries.xalan.XPathQueryFactoryImpl.newXPathQuery(XPathQueryFactoryImpl.java:30)
at
org.infozone.lexus.commands.CommandObject.<init>(CommandObject.java:45)
at
org.infozone.lexus.commands.DefaultCommand.<init>(DefaultCommand.java:23)
at
org.infozone.lexus.XUpdateQueryImpl.execute(XUpdateQueryImpl.java:112)
at
org.infozone.lexus.XUpdateQueryImpl.main(XUpdateQueryImpl.java:179)
I don't understand how I had this working before when Lexus is
apparently trying to access a class that has moved ... well, it's moved
in my copy of xalan-2.2.D11.jar
The actual class it wants seems to have moved to here:
org.apache.xml.utils.PrefixResolver
Have I got a version mismatch here? Should I download a new copy of XIndice?
thanks -mike
Lars Martin wrote:
>On Sun, 09 Dec 2001 19:54:09 +0000
>Michael Hearn <[EMAIL PROTECTED]> wrote:
>
>>Hiya, I'm still struggling to figure out what's wrong with the XUpdate
>>service. Here's a stack trace:
>>
>>Got DB objects...
>>Doing an XUpdate...
>>org.xmldb.api.base.XMLDBException:
>> at
>>org.dbxml.core.FaultCodes.createXMLDBException(FaultCodes.java:238)
>> at
>>org.dbxml.client.xmldb.services.XUpdateQueryServiceImpl.updateResult(XUpdateQueryServiceImpl.java:100)
>> at
>>org.dbxml.client.xmldb.services.XUpdateQueryServiceImpl.update(XUpdateQueryServiceImpl.java:115)
>> at org.genio.tests.dbTest.main(dbTest.java:62)
>>Exception in thread "main"
>>
>>Notice anything odd? The Exception appears to originate -in-
>>createXMLDBException(), whereas other exceptions i've seen don't. Does
>>anyone know what could be causing this messageless exception with an
>>error code that isn't listed anywhere in the source? I'm at my wits end,
>>even unzipping a new copy doesn't seem to have any effect. For some
>>reason the standard batch files don't work either, the lcp.bat file
>>isn't called for the jar files, so I have to set the CLASSPATH manually.
>>Maybe this is it, but on the other hand, i'm not getting NoClassDefFound
>>errors, and the rest of the database seems to work.
>>
>
>Please try to run the XUpdate implementation stand alone. Simply run
>org.infozone.lexus.XUpdateImpl with the appropriated command line
>arguments. Either your query will run without any problems, then the
>integration of XUpdate into dbXML (Xindice) is buggy (for example, the
>error handling) or you will get a more detailed error message, then
>either your XUpdate query is wrong or the XUpdate implementation is
>buggy.
>Regards, Lars
>--
>______________________________________________________________________
>Lars Martin mailto:[EMAIL PROTECTED]
>SMB GmbH http://www.smb-tec.com
>
--
______________________________
Michael Hearn
[EMAIL PROTECTED]
Jabber (jabber.org) [EMAIL PROTECTED]