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 Charles Lee <ch...@hotpop.com> on 2005/05/06 20:06:19 UTC

ServerStartUp

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?

Thanks in advace for any info..
Charlie 


Re: ServerStartUp

Posted by Andre Juffer <aj...@sun3.oulu.fi>.
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?

Deploy xindice.war (exactly this name) in the webapp directory of 
xindice. Start up Tomcat. Check if Tomcat actually runs 
(http://localhost:8080/). Then try http://localhost:8080/xindice/. This 
should work, there is nothing to configure. It should work out of the blue.

> 
> Thanks in advace for any info..
> Charlie


-- 
Andre H. Juffer              | Phone: +358-8-553 1161
The Biocenter and            | Fax: +358-8-553-1141
     the Dep. of Biochemistry | Email: Andre.Juffer@oulu.fi
University of Oulu, Finland  | WWW: www.biochem.oulu.fi/Biocomputing/

Re: ServerStartUp

Posted by Charles Lee <ch...@hotpop.com>.
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
>>
>
>
>



Re: ServerStartUp

Posted by Charles Lee <ch...@hotpop.com>.
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
>



Re: ServerStartUp

Posted by Vadim Gritsenko <va...@reverycodes.com>.
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