users@glassfish.java.net

RE: Re: Glassfish v2 Auto Restart [creating a Windows Service]

From: Derek Sceats <dsceats_at_silasg.com>
Date: Wed, 22 Jul 2009 11:04:02 -0700

If you are using Windows, you need to create a Windows Service.

Here are instructions, courtesy of Ryan DeLaPlant...
http://www.ryandelaplante.com/rdelaplante/entry/creating_a_windows_service_for

Once you have done this, just make sure that it is set startup type to Automatic start, and set values for the Recovery options to restart on failure.

If you are not using Windows, hopefully someone else can provide instructions.

Hope this helps.

Derek


-----Original Message-----
From: Hu Zhang [mailto:huzhang1982_at_gmail.com]
Sent: Wed 7/22/2009 10:52 AM
To: users_at_glassfish.dev.java.net
Subject: Re: Glassfish v2 Auto Restart
 
Thanks so much for your reply. But how can I set it up? I tried to use
Computer Management, but I cannot find Glassfish in the list.

On Wed, Jul 22, 2009 at 1:27 PM, <Vince.Power_at_medavie.bluecross.ca> wrote:

> No, not unless you specifically put something in the system startup to run
> "asadmin start-domain".
>
> -Vince
>
>
>
> *Hu Zhang <huzhang1982_at_gmail.com>*
>
> 07/22/2009 02:24 PM
> Please respond to
> users_at_glassfish.dev.java.net
>
> To
> users_at_glassfish.dev.java.netcc
> Subject
> Glassfish v2 Auto Restart
>
>
>
>
> If I reboot the computer, will the domains automatically restart?
>
> -----------------------------------------------------------------------
> This communication, including any attached documentation, is intended only
> for the person or entity to which it is addressed, and may contain
> confidential, personal, and/or privileged information. Any unauthorized
> disclosure, copying, or taking action on the contents is strictly
> prohibited. If you have received this message in error, please contact us
> immediately so we may correct our records. Please then delete or destroy the
> original transmission and any subsequent reply. Thank you.
>
> La présente communication, y compris toute pièce qui y a été jointe, est
> destinée uniquement à la personne ou à l'entité à laquelle elle a été
> adressée, et contient des renseignements à caractère confidentiel et
> personnel. Toute diffusion ou reproduction non autorisée ou toute
> intervention entreprise relativement à son contenu est strictement
> interdite. Si vous avez reçu ce message par erreur, veuillez nous le
> signaler immédiatement afin que nous puissions effectuer la correction à nos
> dossiers. Veuillez par la suite supprimer ou détruire le contenu de la
> transmission originale ainsi que toute réponse ultérieure. Merci.
> -----------------------------------------------------------------------
>