Re: How to configure DB URL for xindice command tool ?

Vadim Gritsenko <[email protected]> Fri, 05 Oct 2007 03:31:00 -0400
Newsgroups gmane.text.xml.xindice.user
Message-ID <[email protected]>
Pascal Maugeri wrote:
> Hi
> 
> I have a very basic question on how to configure this command line
> tool "\bin\xindice":
> 
> xindice DB is deployed under jetty server and available under the URL
> http://localhost:8080/xindice-1.1/?/db
> 
> how can I configure the xindice command line to point to this URL ?

To use non default context for xindice webapp, you'd have to add an extra system 
property to the java command in bin/xindice:

   -Dxindice.xmlrpc.service-location=/xindice-1.1/

And to use different port, use complete xmldb URL as suggested by Andre:

   xindice ... -c xmldb:xindice://localhost:8080/db/


Vadim