dev@glassfish.java.net

Re: Running glassfish in foreground?

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Thu, 27 Jul 2006 15:30:33 -0700

Hi Sreeni,

Sreenivas Munnangi wrote On 07/27/06 15:11,:

>
>
> Jan Luehe wrote On 07/27/06 02:21 PM,:
>
>>Scott Oaks wrote On 07/27/06 14:14,:
>>
>>
>>
>>>asadmin start-domain --verbose
>>>
>>>This is particularly useful if you want to send a kill -3 signal
>>>(CTRL-BREAK on windows) to see a stack trace, as that output is
>>>otherwise lost (depending on the state of the build...it used to be
>>>lost, then it was fixed, then it was lost, and I'm not sure of it's
>>>state right now
>>>
>>>
>>>
>>>
>>It's not working with the latest 9.1 build, which is why I had filed
>>https://glassfish.dev.java.net/issues/show_bug.cgi?id=838
>>("-XX:+PrintClassHistogram" and SIGQUIT have no effect in default start
>>mode)
>>last week when I ran into this.
>>
>>Jan
>>
> Jan, based on the following email exchange I thought the use of
> --verbose option worked for you. Can you pl.


Yes, --verbose is working for me.

When I said "it's not working [...]", I was referring to Scott's statement
about the info obtained by kill -3 signal being lost in some of the
previous builds, and his comment "I'm not sure of it's state right
now".

Sorry for the confusion.


Jan


> confirm.
>
> ***start***
>
>Jan,
>>
>> This seems like a bug. Please file it. I just tried it.
>> Workaround: asadmin start-domain --verbose. This should work, I tested
>> it.
>
>
>
>
>Thanks a lot, Kedar!
>
>I've confirmed that your suggested workaroud does the trick.
>
>I've filed
>
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=838
>
>
>Jan
>
>
>
>
>
>>>
>>> Thanks,
>>> Kedar
>>
> ***end***
>
>>
>>
>>
>>>-Scott
>>>
>>>On Thu, 2006-07-27 at 17:08, Kohsuke Kawaguchi wrote:
>>>
>>>
>>>
>>>
>>>>Would it be possible to run Glassfish in the foreground (as opposed to
>>>>work like a daemon, which is what happens when I do "asadmin start-domain")?
>>>>
>>>>In other words, I'd like to do the equivalent of "catalina.sh run" with
>>>>Glassfish. I can see the console that way (presumably where I can
>>>>configure logs to be sent) and I can kill it simply with Ctrl+C.
>>>>
>>>>--
>>>>Kohsuke Kawaguchi
>>>>Sun Microsystems kohsuke.kawaguchi_at_sun.com
>>>>
>>>>
>>>>
>>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>>
>>>
>>>
>>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>>
>>