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 Carlos Henrique Odenique Jardim <cj...@grad.icmc.usp.br> on 2002/09/17 16:10:55 UTC

Start Xindice as a Service


     Someone knows how start Xindice as a Service?
     I need start on linux boot!
     Thanks!


             ______________________________________________
                   Carlos Henrique Odenique Jardim
                 Bacharelado em Ci�ncia da Computa��o
                       ICMC - USP - S�o Carlos
                 	 ICQ UIN: 112116045
		         LINUX USER: 217111
		 e-mail: cjardim@grad.icmc.usp.br

                  "Quem quer passar al�m do Bojador
                   Tem que passar al�m da dor."
                                       (Fernando Pessoa)
             ______________________________________________




Re: Start Xindice as a Service

Posted by Chuck Amadi <ch...@breconbeacons.org>.
Chuck Amadi wrote:

> John Moylan wrote:
>
>> rc.local
>>
>> Carlos Henrique Odenique Jardim wrote:
>>
>>>     Someone knows how start Xindice as a Service?
>>>     I need start on linux boot!
>>>     Thanks!
>>>
>>>
>>>             ______________________________________________
>>>                   Carlos Henrique Odenique Jardim
>>>                 Bacharelado em Ci?ncia da Computa??o
>>>                       ICMC - USP - S?o Carlos
>>>                      ICQ UIN: 112116045
>>>                  LINUX USER: 217111
>>>          e-mail: cjardim@grad.icmc.usp.br
>>>
>>>                  "Quem quer passar al?m do Bojador
>>>                   Tem que passar al?m da dor."
>>>                                       (Fernando Pessoa)
>>>             ______________________________________________
>>>
>>>
>>>
>>>  
>>>
>>
>>
>>
>>
>> ****************************************************************************** 
>>
>> The information in this e-mail is confidential and may be legally 
>> privileged.
>> It is intended solely for the addressee. Access to this e-mail by 
>> anyone else
>> is unauthorised. If you are not the intended recipient, any disclosure,
>> copying, distribution, or any action taken or omitted to be taken in 
>> reliance
>> on it, is prohibited and may be unlawful.
>> Please note that emails to, from and within RT may be subject to the 
>> Freedom
>> of Information Act 1997 and may be liable to disclosure.
>> ****************************************************************************** 
>>
>
>
> I hope that I understand the post . If you've set up your > 
> ./bash_profile as per installation instructions NB Unix /Linux 
> basically identical Environment in relation to setting your variables.
>
> hence once you've set up your ./bash_profile > cd xindice < 
> xindice-home>where your program resides and at the prompt $ 
> xindiceadmin ac -c /db -n addressbook
> to test if you've set uo everthing accorrdingly to the instructions 
> found at http://xml.apache.org/xindice/INSTALL.unix / linux
>
> I hope this was what you wre after
>
May of got your request wrong to start Xindice cd to <Xindice -Install > 
and type ./start

-- 
Regards 
Chuck Amadi
ICT Dept Systems Programmer
Rhaglenydd Systemau Adran ICT





Re: Start Xindice as a Service

Posted by Chuck Amadi <ch...@breconbeacons.org>.
John Moylan wrote:

> rc.local
>
> Carlos Henrique Odenique Jardim wrote:
>
>>     Someone knows how start Xindice as a Service?
>>     I need start on linux boot!
>>     Thanks!
>>
>>
>>             ______________________________________________
>>                   Carlos Henrique Odenique Jardim
>>                 Bacharelado em Ci?ncia da Computa??o
>>                       ICMC - USP - S?o Carlos
>>                      ICQ UIN: 112116045
>>                  LINUX USER: 217111
>>          e-mail: cjardim@grad.icmc.usp.br
>>
>>                  "Quem quer passar al?m do Bojador
>>                   Tem que passar al?m da dor."
>>                                       (Fernando Pessoa)
>>             ______________________________________________
>>
>>
>>
>>  
>>
>
>
>
>
> ****************************************************************************** 
>
> The information in this e-mail is confidential and may be legally 
> privileged.
> It is intended solely for the addressee. Access to this e-mail by 
> anyone else
> is unauthorised. If you are not the intended recipient, any disclosure,
> copying, distribution, or any action taken or omitted to be taken in 
> reliance
> on it, is prohibited and may be unlawful.
> Please note that emails to, from and within RT may be subject to the 
> Freedom
> of Information Act 1997 and may be liable to disclosure.
> ****************************************************************************** 
>

I hope that I understand the post . If you've set up your > 
./bash_profile as per installation instructions NB Unix /Linux basically 
identical Environment in relation to setting your variables.

hence once you've set up your ./bash_profile > cd xindice < 
xindice-home>where your program resides and at the prompt $ xindiceadmin 
ac -c /db -n addressbook
to test if you've set uo everthing accorrdingly to the instructions 
found at http://xml.apache.org/xindice/INSTALL.unix / linux

I hope this was what you wre after

-- 
Regards 
Chuck Amadi
ICT Dept Systems Programmer
Rhaglenydd Systemau Adran ICT





Re: Start Xindice as a Service

Posted by John Moylan <jo...@rte.ie>.
rc.local

Carlos Henrique Odenique Jardim wrote:

>     Someone knows how start Xindice as a Service?
>     I need start on linux boot!
>     Thanks!
>
>
>             ______________________________________________
>                   Carlos Henrique Odenique Jardim
>                 Bacharelado em Ci?ncia da Computa??o
>                       ICMC - USP - S?o Carlos
>                 	 ICQ UIN: 112116045
>		         LINUX USER: 217111
>		 e-mail: cjardim@grad.icmc.usp.br
>
>                  "Quem quer passar al?m do Bojador
>                   Tem que passar al?m da dor."
>                                       (Fernando Pessoa)
>             ______________________________________________
>
>
>
>  
>




******************************************************************************
The information in this e-mail is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this e-mail by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful.
Please note that emails to, from and within RT� may be subject to the Freedom
of Information Act 1997 and may be liable to disclosure.
******************************************************************************

Re: Start Xindice as a Service

Posted by Carsten Ziegert <Ca...@ik.fh-hannover.de>.
Am 17.09.2002 16:10 Uhr schrieb "Carlos Henrique Odenique Jardim" unter
<cj...@grad.icmc.usp.br>:

> 
> 
>    Someone knows how start Xindice as a Service?
>    I need start on linux boot!
>    Thanks!
> 
> 
>            ______________________________________________
>                  Carlos Henrique Odenique Jardim
>                Bacharelado em Ciência da Computação
>                      ICMC - USP - São Carlos
> ICQ UIN: 112116045
>         LINUX USER: 217111
> e-mail: cjardim@grad.icmc.usp.br
> 
>                 "Quem quer passar além do Bojador
>                  Tem que passar além da dor."
>                                      (Fernando Pessoa)
>            ______________________________________________
> 
> 
> 
> 


Carlos,

try this shell script (e.g.):

#!/bin/sh

JAVA_HOME=/usr/java
export JAVA_HOME

XINDICE_HOME=/home/summit/xindice
export XINDICE_HOME


if [ $# -lt 1 ]
then
    echo "usage: xindice [ start | stop ]"
    exit
fi

if [ "$1" = "start" ]
then
    cd $XINDICE_HOME
    ./start &
    exit
fi

if [ "$1" = "stop" ]
then
    $XINDICE_HOME/bin/xindiceadmin shutdown -c /db
    exit
fi

echo "usage: xindice [ start | stop ]"
exit



Carsten

-- 
Hannover Medical School                   University of Applied Sciences
Dept. of Hematology and Oncology         Faculty of Information Sciences
Carl-Neuberg-Straße 1                            Ricklinger Stadtweg 120
30625 Hannover                                            30459 Hannover
                   http://summit-bmt.fh-hannover.de