You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Robin Winkler <Ro...@web.de> on 2003/05/23 14:49:33 UTC

Trouble using XUpdate

Hi!

I am running Xindice 1.0 on my SuSE 8.2 machine.  I use the JAVA 1.4.1 SDK environment. The Xindice database is accessible via the command line and via my Java-application tool. Everything works fine here including XPath queries. But when I try to use XUpdate I only get exceptions. I tried to get the provided XUpdate examples running but I also get the same error message. I have checked the XUpdate Query-string many times and do not think that the string is false and causes this exception (it is exactly the same string provided in the example application in the Xindice Devlopers Guide). 

I use the eclipse platform for developing my application and included all the jar files in the /lib folder to my project environment. I use the default CORBA Xindice is using.

What do I have to do to in order to get the XUpdate service running?

Any help would be greatly appreciated!
Thanks in advance,
Robin

Here is the stackTrace:

org.apache.xindice.client.corba.db.APIException: IDL:org/apache/xindice/client/corba/db/APIException:1.0
	at org.apache.xindice.client.corba.db.APIExceptionHelper.read(APIExceptionHelper.java:112)
	at org.apache.xindice.client.corba.db._CollectionStub.queryCollection(_CollectionStub.java:833)
	at org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.updateResult(XUpdateQueryServiceImpl.java:165)
	at org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.update(XUpdateQueryServiceImpl.java:185)
	at XindiceSelectionHandler.addTransformationAgentXUpdate(XindiceSelectionHandler.java:277)
	at ToolServer.testCases(ToolServer.java:139)
	at ToolServer.<init>(ToolServer.java:46)
	at ToolServer.main(ToolServer.java:146)
org.xmldb.api.base.XMLDBException: Query Processing Error
	at org.apache.xindice.core.FaultCodes.createXMLDBException(FaultCodes.java:239)
	at org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.updateResult(XUpdateQueryServiceImpl.java:170)
	at org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.update(XUpdateQueryServiceImpl.java:185)
	at XindiceSelectionHandler.addTransformationAgentXUpdate(XindiceSelectionHandler.java:277)
	at ToolServer.testCases(ToolServer.java:139)
	at ToolServer.<init>(ToolServer.java:46)
	at ToolServer.main(ToolServer.java:146)
______________________________________________________________________________
UNICEF bittet um Spenden fur die Kinder im Irak! Hier online an
UNICEF spenden: https://spenden.web.de/unicef/special/?mc=021101


Re: Trouble using XUpdate

Posted by onno <on...@onnos.com>.

> I don't suppose you could point to a mailing list entry or web page that
> describes the error.

someone else did just after i did:

http://marc.theaimsgroup.com/?l=xindice-dev&m=105109377210297&w=2


Re: Trouble using XUpdate

Posted by Steven Doolan <do...@ballyhoo.com.au>.
I don't suppose you could point to a mailing list entry or web page that
describes the error.

Steven

----- Original Message -----
From: "onno" <on...@onnos.com>
To: <xi...@xml.apache.org>
Sent: Saturday, May 24, 2003 12:43 AM
Subject: Re: Trouble using XUpdate


> i've posted the modified xindice.jar
>
> http://www.onnos.com/xindice.jar
>
> I don't have time for finding wher it was...
>
>


Re: Trouble using XUpdate

Posted by Gul Akbar <G....@Bradford.ac.uk>.
You can edit the source code also, information can be found here:

http://marc.theaimsgroup.com/?l=xindice-dev&m=105109377210297&w=2

Gul Akbar

Quoting onno <on...@onnos.com>:

> i've posted the modified xindice.jar
> 
> http://www.onnos.com/xindice.jar
> 
> I don't have time for finding wher it was... 
> 
> 


-------------------------------------------------
This mail sent through IMP: webmail.brad.ac.uk

Re: Trouble using XUpdate

Posted by onno <on...@onnos.com>.
i've posted the modified xindice.jar

http://www.onnos.com/xindice.jar

I don't have time for finding wher it was... 


Re: Trouble using XUpdate

Posted by George Papamarkos <g....@dcs.bbk.ac.uk>.
I would be really interested on letting me know where the error is because I
dont have the time to search on all this code.

Regards,

George

----- Original Message ----- 
From: "onno" <on...@onnos.com>
To: <xi...@xml.apache.org>
Sent: Friday, May 23, 2003 3:22 PM
Subject: Re: Trouble using XUpdate


> > I am running Xindice 1.0 on my SuSE 8.2 machine.  I use the JAVA 1.4.1
SDK
> environment. The Xindice database is accessible via the command line and
via
> my Java-application tool. Everything works fine here including XPath
> queries. But when I try to use XUpdate I only get exceptions. I tried to
get
> the provided XUpdate examples running
>
> Xindice 1.0 has an error in CODE! when it comes to XUpdate - you'll need
to
> find the error (can't find it here) and recompile. (it's just 1 line)
>
> If needbe i can provide a fixed 1.0 jar...
>
>


Re: Trouble using XUpdate

Posted by onno <on...@onnos.com>.
> I am running Xindice 1.0 on my SuSE 8.2 machine.  I use the JAVA 1.4.1 SDK
environment. The Xindice database is accessible via the command line and via
my Java-application tool. Everything works fine here including XPath
queries. But when I try to use XUpdate I only get exceptions. I tried to get
the provided XUpdate examples running

Xindice 1.0 has an error in CODE! when it comes to XUpdate - you'll need to
find the error (can't find it here) and recompile. (it's just 1 line)

If needbe i can provide a fixed 1.0 jar...