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 21:09:38 -0500

Good grief. This should be the correct thread dump. :)

On 6/14/10 7:14 PM, Ludovic Champenois wrote:
> On 6/14/10 5:10 PM, Jason Lee wrote:
>> I set AS_DEBUG to true and didn't see anything meaningful:
>>
>> CLASSPATH=
>> /Users/jasonlee/src/servers/glassfishv3/bin/../glassfish/modules/admin-cli.jar
>>
>> Commands: [start-domain, domain1]
>> asadmin extension directory:
>> /Users/jasonlee/src/servers/glassfishv3/glassfish/lib/asadmin
>> Prepare
>> Not using local password
>> Process program options
>> Parsing program options
>> Parse command options
>> params: {}
>> operands: [domain1]
>> Prevalidate command options
>> Inject command options
>> Validate command options
>> asadmin --host localhost --port 4848 --interactive=true --echo=false
>> --terse=false start-domain --verbose=false --upgrade=false
>> --debug=false domain1
>> Execute command
>> /0.0.0.0 : 6666 --> FREE
>> halpert/192.168.1.100 : 6666 --> FREE
>> localhost/127.0.0.1 : 6666 --> FREE
>> Time spent in master password extraction: 108 msec
>> /0.0.0.0 : 4848 --> FREE
>> halpert/192.168.1.100 : 4848 --> FREE
>> localhost/127.0.0.1 : 4848 --> FREE
>> Waiting for the server to start Check for pid file:
>> /Users/jasonlee/src/servers/glassfishv3/glassfish/domains/domain1/config/pid
>>
>> .Check for pid file:
>> /Users/jasonlee/src/servers/glassfishv3/glassfish/domains/domain1/config/pid
>>
>>
>>
>> It still took a LONG time before anything started. I've attached the
>> thread dump (jstack <pid>), but I'm not even close to being an expert
>> at reading these things. The thread dump was taken when the log was
>> stuck at
>>
>> Jun 14, 2010 3:56:53 PM
>> com.sun.enterprise.admin.launcher.GFLauncherLogger info
>> INFO: Successfully launched in 117 msec.
>>
>> Any clues?
>>
>>
> No, the jstack output is from the netbeans process, not the glassfish
> process...
> Ludo
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>


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