Stefan, I wrote that HowTo for Xindice 1.1b but I guess it should be updated for 1.1b2, which, among other changes, now
tries to connect to port 8888 of localhost by default.
I don't know if your problems are related to this. I have recently installed Xindice 1.1b2 and Cocoon 2.1 and have them working
under Tomcat 4.1.18. For a quick fix to this I added another instance of a Coyote Connector under port 8888. This is done
in $TOMCAT_HOME/conf/server.xml
You can also use a command line option for specifying the url as xmldb:xindice://host:port/db   or something like that.
I don't remember now.

Other things that have changed, the servlet name went from "Xindice" to "xindice", but I think you can configure that when you build
the sources.

The database part.  Under $XINDICE_HOME/conf  there's a file called server.xml
In that file you can specify the db collection, with an absolute path, or a relative one (relative from the conf  directory).
Remember to use slashes '/' and not blackslashes '\' even if you are under windoze!


Ok, I have to go now. Tell me if this has solved some of your problems or not.

BarZ

under
Stefan Pietschmann wrote:
hi,
 
i'm totally new to xindice and I'm trying to set it up together with my cocoon installation.
 
cocoon is installed correctly and worked. I downloaded xindice successfully from CVS, built the *.war and deployed it. when I start tomcat I get the message "INFO: Database successfuly started" - so i guess xindice is running as expected. I can also read the "UGLY DEBUG TOOL" thing and browser the database.
now, for being able to work with it, i would like to install the command line tool. however, i haven't found any useful (or detailed enough) information on how to install it on win xp.
I did everything explained at http://nagoya.apache.org/wiki/apachewiki.cgi?HowToXindice1o1bCocoon2 (the "Installing the Xindice command line tool" part).
I have a separate xindice folder outside of the webapps, (set to %XINDICE_HOME%), added %XINDICE_HOME%/bin to the %PATH% variable ... well. that's it.
if I only have bin/* , dist/*, java/lib/* and config*/ folders in there (as suggested) the "xindice" command doesn't work at all. If I copy the build folder in as well it at least gives me two action options: "start" and "debug".
 
but how do i tell the xindice command line tool in the external %XINDICE_HOME% folder to use the database in %TOMCAT_HOME%/webapps/xindice-1.1b2/WEB_INF/db ?? the given command there doesn't work - most likely since it's explained for linux.
 
well, sorry if that's newbie stuff ;) if i got anything wrong please correct me. any help is very much appreciated!!
 
thanx guys
stefan

Reply via email to