Trung,
The command to start/stop is same as what you're using.
asadmin start-domain
asadmin stop-domain.
I've created a similar script under /gfwiki/glassfish directory
(gf-wiki.sh), only difference is I've not put the email part yet.
thx
Senthil
Trung Duc Tran wrote:
>The machine was rebooted. I still need to figure out why.
>
>Senthil, we need to set up a daemon init.d script for your glassfish
>domain so that it will be started automatically at boot time. Please
>look into /nbwiki/rc-wiki.sh for inspiration. Or you can tell me the
>command lines to start and stop the domain, and I can do the rest.
>
> -t
>
>
>
>Kedar Mhaswade wrote on 08/22/2006 10:46 PM:
>
>
>>Yes, looks like it.
>>Lloyd also reported the same.
>>
>>(broadcasting the mail to others so that they
>>know, sorry if you receive multiple copies).
>>
>>Ann Hillesland wrote:
>>
>>
>>>Hi,
>>>
>>>I can't connect to the glassfish wiki at www.glassfishwiki.org. Is it
>>>down?
>>>
>>>Thanks,
>>>
>>>Ann
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>>>For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>>
>>>
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>>
>>
>
>
>