xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kurt Kavanaugh" <kkavana...@teletrol.com>
Subject RE: 1.1b2 Configuration and import questions
Date Mon, 08 Sep 2003 17:11:53 GMT

ok. I have modified the sources and rebuilt and here is what I have found.

1. I modified the org.apache.xindice.client.xmldb.xmlrpc.DatabaseImpl.java class to have a
default of 8080 instead of 8888.

2. I modified the org.apache.xindice.tools.command.ListCollectionDocuments.java class to do
System.out.println() of the colstring.
which equals = "xmldb:xindice:///db"

3. The reason for failure at the ListCollectionDocuments level of visibility is that collection
returned is null.

                if (col == null) {
		        System.out.println("Collection is null"); // this is my line
                    System.out.println("ERROR : Collection not found!");
                    return false;

The command line I am using is....

xindice.bat ld -c /db

What am I doing wrong?

signed most frustrated.

-----Original Message-----
From: Kurt Kavanaugh 
Sent: Monday, September 08, 2003 10:46 AM
To: xindice-users@xml.apache.org
Subject: RE: 1.1b2 Configuration and import questions

ok. The 8888 port seems to be legacy from the jetty. albeit I am confused because I am running
the xindice.bat from the bin directory vs the xindice.bat in the root XINDICE_HOME directory.
note the xindice.bat in the bin is for running the XMLTools and the xindice.bat in the  root
directory is for starting xindice. But why have the xindice.bat in the root if I am running
xindice within tomcat where it gets started automagically?

Also the xindice.bat in the bin builds the db home local to the XINDICE_HOME, where it is
my understanding that the new war installation places this in the tomcat WEBINF directory.
Is there a mismatch in the tools and the war? Should there be two xindice.bats? One to start
and one to do admin?

If I set my XINDICE_DB_HOME to the tomcat installation I get...

C:\home\kurt\xml-xindice\bin>xindice.bat ld -c /db
Exception in thread "main" java.lang.NoClassDefFoundError: Files\Apache

Note, I am still unable to do a simple command line test of the the xindice.bat tool in the
bin directory to look at tomcat/xindice /db. Also note I did the download sources/build thing
on Friday.

Thanks for any and all help


-----Original Message-----
From: Kurt Kavanaugh 
Sent: Monday, September 08, 2003 9:10 AM
To: Xindice users (E-mail)
Subject: 1.1b2 Configuration and import questions

I have setup Xindice 1.1b2 to work with Tomcat per the instructions. However the below is
what I get with a simple attempt to look at the database.

C:\home\kurt\xml-xindice\bin>xindice.bat ld -c /db
[DEBUG] DatabaseImpl - -Using SAX Driver: 'xerces'
[DEBUG] DatabaseImpl - -Using Service Location: '/xindice/'
[DEBUG] CollectionImpl - -Using URL: ''
XMLDB Exception with code 0

Xindice Command Tools v1.1b2..... ( the rest of the standard usage message )


C:\home\kurt\xml-xindice\bin>java -Xms16m -Xmx128m -Dxindice.home=c:\home\kurt\xml-xindice
t\xml-xindice -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog -Dorg.apache.commons.logging.si
mplelog.defaultlog=debug -Dcmd.home=c:\home\kurt\xml-xindice\bin -classpath C:\j2sdk1.4.1_04\lib\tools.jar;c:\home\kurt\


Where does the 8888 port come from?
How can I get more logging info? Are there log4j settings that are applicable?
How can I import my legacy data? Has the import command line changed from 1.0?

I am going into the sources now to get my answers, but I was hoping somebody may have the


- Kurt

View raw message