Hi Andrew
Thanks.
I am with you to step 10. I did build (1.1b3) from source so I have config\commands.xml
Kim,
That's progress. :)
Still the command line tool does not work. What I do not understand is: If Xindice is running as a
plug-in under Tomcat, what should then CLASSPATH be set to? Running Xindice 1.0 CLASSPATH was set to
C:\Xindice\xml-xindice-1.0\java\lib\Xindice.jar
Xindice 1.1b3 does not have this .jar file
Kind Regards
Kim Daugaard
I have the following environment variables set (adjust to your circumstances):
JAVA_HOME - c:\j2sdk1.4.2_03
CATALINA_HOME - c:\Tomcat 5.0.18
XINDICE_HOME - c:\xindice-1.1b3
I have nothing in CLASSPATH relating to Xindice. As I mentioned in a later email I downloaded and installed the binary which included a jar file after the war file and before the source zip. I don't know if that jar is helping make it work or not. <shrug/>
I navigate to c:\xindice-1.1b3\bin and type "xindice" and the batch file runs successfully. It shows a set of accepted parameters/switches.
I was able to create a test collection using the following (and also confirm it was added by navigating to database.xml in the browser). The Command window output is also shown.
C:\xindice-1.1b3>xindice ac -c xmldb:xindice://localhost:8080/db -n test
[DEBUG] DatabaseImpl - -Using SAX Driver: 'xerces'
[DEBUG] DatabaseImpl - -Using Service Location: '/xindice/'
[DEBUG] CollectionImpl - -Using URL: 'http://localhost:8080/xindice/'
[DEBUG] CollectionImpl - -Using URL: 'http://localhost:8080/xindice/'
Created : xmldb:xindice://localhost:8080/db/test
You say "does not work". The actual error message(s) would be more helpful.
Andrew Watt