dev@glassfish.java.net

Re: Running glassfish in foreground?

From: Cheng Fang <Cheng.Fang_at_Sun.COM>
Date: Thu, 27 Jul 2006 17:17:48 -0400

asadmin start-domain --verbose
asadmin help start-domain

     --verbose By default this flag is set to false. If set
                     to true, detailed server startup output is
                     displayed. On Windows, press CTRL-Break in
                     the domain's
                      window to print a thread dump. On UNIX,
                     press CTRL-C to kill the server and press
                     CTRL-\ to print a thread dump.

Cheng




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.
>