dev@glassfish.java.net

Re: Slow Startup time for Glassfish and asadmin on Mac

From: Jason Lee <jason.d.lee_at_oracle.com>
Date: Mon, 14 Jun 2010 22:44:16 -0500

On 6/14/10 10:29 PM, Byron Nevins wrote:
> I don't have a Mac. Run a simple java program on your Mac --
>
> Note that AFAIK the code is > 3 years old and has been tested
> constantly -- every start-domain exercises it. Every asadmin command
> runs this code too.
Ah ha! Thank you, Byron (and Ludo). It appears that it was trying to
reverse resolve my DHCP address to a FQDN, which it couldn't find. I
added an entry to /etc/hosts and the execution time of Byron's test
program went from ~30 seconds to to < 0.5. That's really going to speed
things up for me. :)

-- 
Jason Lee
Senior Member of Technical Staff
GlassFish Administration Console
Oracle Corporation
Phone +1 405-216-3193
Blog http://blogs.steeplesoft.com