We are working on the release of 1.1, which is the latest in cvs, and
omits corba.  Please try checking out the source and building.

-Kevin Ross

-----Original Message-----
From: FTL Africa [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 18, 2003 8:51 AM
To: xindice-users@xml.apache.org
Subject: XUpdate - runtime error

Hi,

I have installed Xindice 1.0. I am working on a project that requires
Tomcat
1.4.1, Apache
1.3.7, java 1.4.1 and xindice 1.0.

I have set the following environment variables on WIN2000. (Note: I did
the
"endorsed" folder thing)

PATH
C:\xml-xindice-1.0\bin;
C:\j2sdk1.4.1_01\bin

XINDICE_HOME
C:\xml-xindice-1.0

XINDICE_LIB
C:\xml-xindice-1.0\java\lib

CLASSPATH
.;
C:\j2sdk1.4.1_01\lib\tools.jar;
%XINDICE_LIB%\xmldb.jar;
%XINDICE_LIB%\xindice.jar;
%XINDICE_LIB%\openorb-1.2.0.jar;
%XINDICE_LIB%\xerces1.4.3.jar;
%XINDICE_LIB%\xalan-2.0.1.jar;
%XINDICE_LIB%\openorb_tools-1.2.0.jar;
%XINDICE_LIB%\xml-apis-1.0.jar;
%XINDICE_LIB%\xmldb-sdk.jar;
%XINDICE_LIB%\xmldb-xupdate.jar;
C:\ProgramFiles\ApacheGroup\Tomcat4.1\common\lib\servlet.jar;
-Djava.endorsed.dirs=%XINDICE_LIB%\endorsed

CATALINA_HOME
C:\ProgramFiles\ApacheGroup\Tomcat4.1

At the moment I am working on examples in the Developer's guide and they
all
worked perfectly except for one.

1. I am getting the following error message on running (it compiles OK)
the
XUpdate example:
    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.update
 Result(XUpdateQueryServiceImpl.java:165)
        at
org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.
 update(XUpdateQueryServiceImpl.java:185)
        at org.apache.xindice.examples.XUpdate.main(XUpdate.java:91)
        XML:DB Exception occured 1 Query Processing Error

2. Another problem I have is that "javac" cannot see the classpath (At
least
I think so). The
    classpath is being echoed on the command-line but I have to include
the -classpath argument and specify
    the jar files for javac to recognize the classes. Isn't that weird?

Can anyone help me with the problems I mentioned?


Thanks In Advance,

Amos Makumbe




Reply via email to