users@glassfish.java.net

Re: Troubleshooting hanging deployment

From: Laird Nelson <ljnelson_at_gmail.com>
Date: Fri, 9 Nov 2012 08:07:41 -0800

On Fri, Nov 9, 2012 at 8:02 AM, Hong Zhang <hong.hz.zhang_at_oracle.com> wrote:

> You can try to collect a jstack trace to see what is the server doing when
> it's hanging, it might give you some clue...
>

Thanks. On a related subject, shouldn't it be the case that if I have the
following in my env output:

AS_ADMIN_READTIMEOUT=3600

...then asadmin should wait 60 * 60 = 3600 seconds until timing out?

It does not seem to be honoring this setting:

$ env | grep AS_ADMIN
AS_ADMIN_READTIMEOUT=3600
$ asadmin stop-domain domain1
Waiting for the domain to stop
.......................................................
Timed out (60 seconds) waiting for the domain to stop.
Command stop-domain failed.

Thanks,
Laird

-- 
http://about.me/lairdnelson