dev@glassfish.java.net

Re: deployed war not showing up after server restart

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Wed, 27 Feb 2008 10:18:51 -0800

Hi Jane,
You are right that after waiting some random time, i can see the
application with list-applications command. During this time,
accessing any page in my web app in the browser results in error.

thanks
Anissa

Vince Kraemer wrote:
> It sounds like a bug to me. It seems like list-applications should
> pause until the server is ready to provide a correct answer [one that
> is not going to change without the user taking some explicit action...
> like issuing an 'asadmin deploy' command....
>
> That would probably apply to ALL the command... not just
> list-applications.
>
> Otherwise, folks that need to do things like automate things using
> asadmin will have to litter their scripts with sleep calls... and even
> then, the scripts may fail when moved from machine to machine because
> of things like processor horsepower...
>
> vbk
>
> Jane Young wrote:
>> Hi Anissa,
>>
>> Do you still see this issue?
>> The application is there but it does not get displayed with
>> list-applications command right after server restart. You need to
>> wait for a few seconds and try list-applications again and the
>> deployed applications are displayed.
>>
>> Jane
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>