dev@glassfish.java.net

Re: deployed war not showing up after server restart

From: Vince Kraemer <Vince.Kraemer_at_Sun.COM>
Date: Wed, 27 Feb 2008 13:38:35 -0800

Kedar Mhaswade wrote:
> Vince Kraemer wrote:
>>
>> Kedar Mhaswade wrote:
>>> [snip]
>>
>>> BTW, how does the tools-plugin do it? It's not going
>>> to invoke "asadmin start-domain --wait-for-completion=true",
>>> right?
>>>
>>
>> The v2 server integration polls on the DeploymentManager.getTargets()
>> method...
>
> Probably the right way would be to ping the server's admin port, which
> is essentially what this method does, I believe.

I think we tried this simpler approach with earlier releases of the
server. It ran into problems, so we switched to polling on this
method... which has been performing well.

vbk