You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Peter Charles <pe...@SIMS.Berkeley.EDU> on 2004/03/04 00:42:58 UTC

Using the Command Line tool

Hello,

Quick system config overview.  Win2000, jdk 1.4.2_3, tomcat 5, xindice
1.1b4

It seems connecting to Xindice using the command line tool is hard coded
to port 8888.  

I tried using the following to connect on a different port: xindice ac
-c http://localhost:8080/xindice/db -n fooColleciton

but got a:

trying to register database
XMLDB Exception 0: Cannot communicate with the server:
http://127.0.0.1:8888/xindice/

This does not reflect the command line tool help.

I able to browse the Ugly Debug tool at:  http://localhost:8080/xindice/

I was able to connect to the DB by changing the port on which tomcat's
http connector is listening on to 8888 from 8080.  

Is it possible to set Xindice to listen on a port other than tomcat's
http connector?   

Thanks

Peter
-----<CDE/>-----
Center for Document Engineering
University of California, Berkeley
cde.berkeley.edu



Re: Using the Command Line tool

Posted by Vadim Gritsenko <va...@reverycodes.com>.
Peter Charles wrote:

>Hello,
>
>Quick system config overview.  Win2000, jdk 1.4.2_3, tomcat 5, xindice
>1.1b4
>
>It seems connecting to Xindice using the command line tool is hard coded
>to port 8888.  
>
>I tried using the following to connect on a different port: xindice ac
>-c http://localhost:8080/xindice/db -n fooColleciton
>
>but got a:
>
>trying to register database
>XMLDB Exception 0: Cannot communicate with the server:
>http://127.0.0.1:8888/xindice/
>
>This does not reflect the command line tool help.
>
>I able to browse the Ugly Debug tool at:  http://localhost:8080/xindice/
>
>I was able to connect to the DB by changing the port on which tomcat's
>http connector is listening on to 8888 from 8080.  
>
>Is it possible to set Xindice to listen on a port other than tomcat's
>http connector?   
>  
>

http://wiki.apache.org/xindice/XindiceFAQ/XindicePort


PS I think it nowhere says that "context" (specified with -c) is an http 
URL. It must be XML:DB URL.

Vadim