Javier,

Thanks for the info.

Is there another way so as I can start axis2 server as soon as the OS
starts? I both LINUX as well as Windows.

-Salman

-----Original Message-----
From: javier [mailto:[email protected]] 
Sent: Thursday, February 12, 2009 3:39 PM
To: [email protected]
Subject: Re : Starting and stopping axis2 server

On linux (tested on FC and Ubuntu) you can write two scripts something like:


axis2_start.sh :

#!/bin/bash
nohup ${AXIS2_HOME}/bin/axis2server.sh > axis2server.log 2>&1 &

axis2_stop.sh:

#!/bin/bash
pkill -P $(pgrep axis2server.sh)

For axis2_start you will launch the standalone server on background with the
standard output/error on the axis2server.log file, and you can logout
without risk to shut-down your server. 

I hope this can be useful

cheers
javier


--- En date de : Jeu 12.2.09, Salman A. Kagzi <[email protected]> a
écrit :

> De: Salman A. Kagzi <[email protected]>
> Objet: Starting and stopping axis2 server
> À: [email protected]
> Date: Jeudi 12 Février 2009, 10h48
> Hi All,
> 
>  
> 
> I am new to axis and also new to UNIX environment, I am
> stuck with one
> problem hope you guys could help me out.
> 
>  
> 
> I need to setup axis2 1.3 standalone servers on various
> production sites.
> The setup should be such that axis2 can run unsupervised.
> 
> What it means is if by any chance a production system
> restarts then axis2
> should be started automatically.
> 
>  
> 
> Currently when we start axis with axis2server.sh or
> axis2server.bat it is
> very much necessary to have the console open, this is not
> possible at the
> production site.
> 
> Is there any other way to start axis2 server as service
> automatically when
> the OS starts. This feature is required on both UNIX as
> well as windows
> systems.
> 
>  
> 
> -Salman


 
____________________________________________________________________________
______________________
Ne pleurez pas si votre Webmail ferme ! Récupérez votre historique sur
Yahoo! Mail ! http://fr.docs.yahoo.com/mail/transfert_mails.html

Reply via email to