dev@glassfish.java.net

Re: Slow Startup time for Glassfish and asadmin on Mac

From: Ludovic Champenois <ludovic.champenois_at_oracle.com>
Date: Mon, 14 Jun 2010 19:57:52 -0700

On 6/14/10 7:09 PM, Jason Lee wrote:
> Good grief. This should be the correct thread dump. :)
>
Well maybe this:

        at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
        at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:850)
        at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1201)
        at java.net.InetAddress.getAllByName0(InetAddress.java:1154)
        at java.net.InetAddress.getAllByName0(InetAddress.java:1129)
        at java.net.InetAddress.getHostFromNameService(InetAddress.java:551)
        at java.net.InetAddress.getCanonicalHostName(InetAddress.java:505)
        at com.sun.enterprise.universal.glassfish.GFLauncherUtils.getCanonicalHostName(GFLauncherUtils.java:160)
        at com.sun.enterprise.universal.glassfish.ASenvPropertyReader.setProperties(ASenvPropertyReader.java:229)


getCanonicalHostName() may be very slow sometimes (20 sec), see
http://www.google.com/search?q=getCanonicalHostName+very+slow&btnG=Search&hl=en&sa=2

Maybe Byron can take a look?
Ludo