dev@glassfish.java.net

Re: How does asadmin know

From: Vince Kraemer <vince.kraemer_at_oracle.com>
Date: Wed, 16 Feb 2011 09:46:54 -0800

What tactic does restart-domain use to detect restart for remote domains?

Thanks,
vbk

Tom Mueller wrote:
> It's polling the server. It looks for the "pid" file to show up and
> watches to see if the process exits.
>
> See StartServerHelper.waitForServer.
>
> Tom
>
>
> On 2/15/2011 5:24 PM, vince kraemer wrote:
>> that start-domain was successful?
>>
>> Is it polling the server or does the successful start callback to
>> asadmin?
>>
>> Thanks,
>> vbk
>>