Title: Message
Can you post your XUpdate class code?
 
Brian
-----Original Message-----
From: Llerta amat [mailto:[EMAIL PROTECTED]
Sent: 28 January 2003 14:37
To: [email protected]
Cc: [EMAIL PROTECTED]
Subject: Using XUpdate

Please, help me, I installed xIndice1.0 and jdk1.4 on UNIX.

When I execute :

bash-2.05$ ./run org.apache.xindice.examples.Xupdate

 

The output is :
bash-2.05$ ./run org.apache.xindice.examples.XUpdate

CMD_HOME: .

CMD_NAME: run

CLASSPATH :  ./../../lib/xmldb.jar:./../../lib/xmldb-xupdate.jar:./../../lib/xml

db-sdk.jar:./../../lib/xml-apis-1.0.jar:./../../lib/xindice.jar:./../../lib/xind

ice-http-0.8.jar:./../../lib/xerces-1.4.3.jar:./../../lib/xalan-2.0.1.jar:./../.

./lib/openorb_tools-1.2.0.jar:./../../lib/openorb-1.2.0.jar:./../../lib/infozone

-tools.jar:./../../lib/ant-1.4.1.jar::./src/class

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(APIExcepti

onHelper.java:112)

        at org.apache.xindice.client.corba.db._CollectionStub.queryCollection(_C

ollectionStub.java:833)

        at org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.upda

teResult(XUpdateQueryServiceImpl.java:165)

        at org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.upda

te(XUpdateQueryServiceImpl.java:185)

        at org.apache.xindice.examples.XUpdate.main(XUpdate.java:106)

XML:DB Exception occured 1 Query Compilation Error

 

I did TomSugden's steps too, but nothing. The result is the same.

 

1.       Created $XINDICE_HOME\java\lib\endorsed directory.

2.      Copied xerces.jar (version 1.4.4) and xalan.jar (the same one that is
contained in $XINDICE_HOME\java\lib) into the endorsed directory.

3.      Made a copy of the "start" .

4.      Hard coded the -D flags  in start:

The last lines in this file �start�:

while test $RESTART

do

   RESTART=

 

   java -Xms16m -Xmx168m -Djava.endorsed.dirs=c:\Xindice\java\lib\endorsed -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xindice.xml.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Dxindice.home="$XINDICE_HOME" $VMPROPS -classpath "$CLASSPATH" org.apache.xindice.server.Xindice $* &

 

   wait $!

done

 

What can I do?. Please, help me. I don�t know how to continue with my job.

 


Yahoo! M�viles
Personaliza tu m�vil con tu logo y melod�a favorito

Reply via email to