thanks for your quick reply. unfortunatly it still doesnt work for me.
It seems to me, this problem requires resolutions by the devepers which is why i am sending this message to the dev list also.
thanks,
martin


Yun Ding wrote:

Hi Martin,



Hello, i searched the mailinglists for a solution for my XUpdate Problem
and found the message attached below. I would like to know if theres a
solution to this problem already?



Several times ago I got the same Exception as you. I followed the suggested solution and tried the following two suggestions, which did not help:

1)  added the line
-Djava.endorsed.dirs=C:\D\XML\Xindice\xml-xindice-1.0\xml-xindice-1.0\java\lib
to the config\vm.cfg.

2) added the xalan/xerces delivered by
xindice to the directory jre/lib/endorsed directory.

Also installing other JDKs did not help.

Eventually, I managed to run Xupdate in the following way:
instead of starting the xindice server using the startup.bat, I
typed the java command:

java
-Djava.endorsed.dirs=C:\D\XML\Xindice\xml-xindice-1.0\xml-xindice-1.0\java\lib
-Dxindice.home=C:\D\XML\Xindice\xml-xindice-1.0\xml-xindice-1.0
org.apache.xindice.server.Xindice config\system.xml

Of couse, you have to adapt the command according to the location
where you installed xindice.

The example XUpdate still did not work. But try the examples in
http://www.xmldatabases.org/projects/XUpdate-UseCases/
They worked  fine!

I am running with W2k and JDK 1.4.

Good luck!

Yun



Im running win2k and now removed all
my 1.4 jdks, installed 1.3.1. Still no change, i tried everything i
could think of. Would installing a different os probably change anything?
thanks a lot, my error is attached below also
martin

-----------------------
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 de.mux.testing.database.Heinz.main(Heinz.java:32)
XML:DB Exception occured 1 Query Processing Error

-----------------------

Yes, we sometimes have that problem with XUpdate.

Occasionally it is due to malformed XUpdate processing commands.  Try
loading your XUpdate into a xml editor or, at a stretch, into Internet
Explorer to ensure that it is valid xml.

However, there is one machine that we tried to run Xindice on that refused
to run XUpdate commands.  We never managed to get to the bottom of this
though.  It didn't work with the Java interface or with the CORBA interface.
All the other machines we have used seem to be happy with it.  We were
running JDK 1.3.1 on Windows 2000 sp2 on the machine (like all the other
machines).

Sorry this isn't more helpful.

Barney Govan
R&D Engineer
Sony BPRL






--
Yun Ding
European Media Laboratory
Schloss-Wolfsbrunnenweg 33
D-69118 Heidelberg
Tel.: (+49) 6221 533 240
Fax.: (+49) 6221 533 297










Reply via email to