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 14:45:35 GMT

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

Kurt


-----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: 'http://127.0.0.1:8888/xindice/'
XMLDB Exception with code 0

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

Classpath

C:\home\kurt\xml-xindice\bin>java -Xms16m -Xmx128m -Dxindice.home=c:\home\kurt\xml-xindice
-Dxindice.db.home=c:\home\kur
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\
xml-xindice\java\lib\xmlrpc-1.1.jar;c:\home\kurt\xml-xindice\java\lib\xmldb-xupdate.jar;c:\home\kurt\xml-xindice\java\li
b\xmldb-common.jar;c:\home\kurt\xml-xindice\java\lib\xmldb-api-sdk-20021118.jar;c:\home\kurt\xml-xindice\java\lib\xmldb-
api-20021118.jar;c:\home\kurt\xml-xindice\java\lib\xml-apis-1.1.jar;c:\home\kurt\xml-xindice\java\lib\xerces-2.2.1.jar;c
:\home\kurt\xml-xindice\java\lib\xalan-2.4.0.jar;c:\home\kurt\xml-xindice\java\lib\servlet-2.3.jar;c:\home\kurt\xml-xind
ice\java\lib\commons-logging-1.0.1.jar;c:\home\kurt\xml-xindice\dist\xindice-1.1b2.jar;;\config
org.apache.xindice.tools

Questions:

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
answers.

Thanks


- Kurt

Mime
View raw message