dev@glassfish.java.net

Re: Slow Startup time for Glassfish and asadmin on Mac

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Tue, 15 Jun 2010 18:29:04 -0700

May be I hit this problem with start-local-instance.... What exactly do
I need to change? Would I need to restart my mac?

thanks,
-marina

Jason Lee wrote:
> 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. :)
>