Have finally succeeded in starting up Xindice on Win98SE.  I had to CVS the
source, recompile it, and ensure that ANT_HOME is set (I set it to
XINDICE_HOME).  After that I can startup and begin populating the db.
Unfortunately, it doesn't take long before I get a
java.lang.IndexOutOfBoundsException, e.g. when attempting to add the 8th
document.  The documents are all rather small (3, 6, 3, 2, 3, 3, 5K) and the
8th is 7K.  Here's the startup and the error message:

C:\Program Files\Xindice\1.0>startup
java -classpath
".;C:\PROGRA~1\Xindice\1.0\java\lib\Xindice.jar;C:\PROGRA~1\Xind
ice\1.0\config;C:\PROGRA~1\Xindice\1.0\java\lib\OPENOR~2.JAR;C:\PROGRA~1\Xin
dice
\1.0\java\lib\ANT-14~1.JAR;C:\PROGRA~1\Xindice\1.0\java\lib\INFOZO~1.JAR;C:\
PROG
RA~1\Xindice\1.0\java\lib\OPENOR~1.JAR;C:\PROGRA~1\Xindice\1.0\java\lib\XIND
ICE.
JAR;C:\PROGRA~1\Xindice\1.0\java\lib\XALAN-~1.JAR;C:\PROGRA~1\Xindice\1.0\ja
va\l
ib\XERCES~1.JAR;C:\PROGRA~1\Xindice\1.0\java\lib\XML-AP~1.JAR;C:\PROGRA~1\Xi
ndic
e\1.0\java\lib\XMLDB-~1.JAR;C:\PROGRA~1\Xindice\1.0\java\lib\XMLDB-~2.JAR;C:
\PRO
GRA~1\Xindice\1.0\java\lib\XMLDB.JAR;C:\PROGRA~1\Xindice\1.0\java\lib\XMLRPC
~1.J
AR;C:\PROGRA~1\JavaSoft\jsdk\1.4.0\lib\tools.jar" -noverify
org.apache.xindice.c
ore.server.Xindice C:\PROGRA~1\Xindice\1.0\config\system.xml

Xindice 1.0 (Birthday)

Database: 'db' initializing
Script: 'GET' added to script storage
Filter: 'RPCHandler' added to filtering chain
Service: 'db' started
Service: 'HTTPServer' started @ http://rrl_dell:4080/
Service: 'APIService' started

Server Running
DEBUG>
java.lang.IndexOutOfBoundsException
        at java.io.ByteArrayInputStream.read(ByteArrayInputStream.java:159)
        at
org.apache.xindice.core.filer.Paged$Page.streamFrom(Paged.java:1001)
        at org.apache.xindice.core.filer.Paged.writeValue(Paged.java:198)
        at
org.apache.xindice.core.filer.BTreeFiler.writeRecord(BTreeFiler.java:
173)
        at
org.apache.xindice.core.Collection.putDocument(Collection.java:629)
        at
org.apache.xindice.core.Collection.insertDocument(Collection.java:659
)
        at
org.apache.xindice.client.corba.CollectionServant.insertDocument(Coll
ectionServant.java:317)
        at
org.apache.xindice.client.corba.db.CollectionPOA._invoke(CollectionPO
A.java:181)
        at org.openorb.adapter.poa.POA.dispatch(POA.java:975)
        at
org.openorb.net.AbstractServerRequest.dispatch(AbstractServerRequest.
java:750)
        at
org.openorb.net.ServerManagerImpl.serve_request(ServerManagerImpl.jav
a:1467)
        at
org.openorb.net.ServerManagerImpl.thread_pool_main(ServerManagerImpl.
java:1410)
        at
org.openorb.net.ServerManagerImpl.access$200(ServerManagerImpl.java:7
7)
        at
org.openorb.net.ServerManagerImpl$PoolThread.run(ServerManagerImpl.ja
va:1557)

Does anybody have any idea what is happening?

Richard R. Liu
Gundeldingerstr. 171
4053 Basel
Tel.:   061/361 32 75
E-mail: [EMAIL PROTECTED]


Reply via email to