Problem solved! I mistyped the url should have been
xmldb:xindice://localhost:8080/db
rather then
xmldb:xindice//localhost:8080/db
Sorry for the mail!
Charlie
Charles Lee wrote:
Hi,
Thanks for the advice.
I have followed the instructions on the wiki and now I have a even
more trivial error. I have check that tomcat have started xindice
successfully as I can navigate to the debug tool.
I issued the following command:
./xindice.sh lc -c xmldb:xindice//localhost:8080/db
and the error I get is:
trying to register database
XMLDB Exception 400:
The error have no details. Any ideas?
Thanks
Charlie
Vadim Gritsenko wrote:
Charles Lee wrote:
HI guys!
Just wondering if you guys/gals have xindice ver. 1.1b4 runnning? I
have installed the war successfully in tomcat and have added the
appropriate env variables. My OS is FC3.
I try to add a new collection by issueing the following command:
./xindice.sh ac -c /db -n test
The error message is:
XMLDB Exception 0: Cannot communicate with the server:
http://127.0.0.1:8888/xindice/
The url should be http://localhost:8080/xindice/.
Is there a way to configure that?
Yup. RTFM:
http://wiki.apache.org/xindice/XindiceFAQ/XindicePort
Vadim