Messages per Month
|Kohsuke Kawaguchi||Jul 27, 2006 2:08 pm|
|Scott Oaks||Jul 27, 2006 2:14 pm|
|Cheng Fang||Jul 27, 2006 2:17 pm|
|Jan Luehe||Jul 27, 2006 2:21 pm|
|Sreenivas Munnangi||Jul 27, 2006 3:11 pm|
|Mark Basler||Jul 27, 2006 3:24 pm|
|Jan Luehe||Jul 27, 2006 3:30 pm|
|Mark Basler||Jul 27, 2006 3:30 pm|
|Kohsuke Kawaguchi||Jul 27, 2006 3:36 pm|
|Mark Basler||Jul 27, 2006 3:38 pm|
|Kohsuke Kawaguchi||Jul 27, 2006 4:31 pm|
|Mark Basler||Jul 27, 2006 4:36 pm|
|Kedar Mhaswade||Jul 27, 2006 4:38 pm|
|Byron Nevins||Jul 27, 2006 4:54 pm|
|Jim Driscoll||Jul 28, 2006 8:35 am|
|Sameer Tyagi||Jul 28, 2006 11:59 am|
|Kedar Mhaswade||Jul 28, 2006 12:22 pm|
|Jan Luehe||Feb 13, 2009 1:48 pm|
|Jeanfrancois Arcand||Feb 13, 2009 1:54 pm|
|Hong Zhang||Feb 14, 2009 10:22 am|
|Wolfram Rittmeyer||Feb 15, 2009 5:36 am|
|Rajiv Mordani||Feb 17, 2009 10:42 am|
|Subject:||Re: Running glassfish in foreground?|
|From:||Kedar Mhaswade (Keda...@Sun.COM)|
|Date:||Jul 27, 2006 4:38:29 pm|
Launcher needs a lot of improvements -- coming in 9.1.
This is the flow for verbose startup:
asadmin.bat script -> asadmin VM -> startserv.bat script -> Launcher VM -> app server VM.
All processes remain till you do stop-domain and/or killing.
Sure, it needs improvement - big time.
Kohsuke Kawaguchi wrote:
Cheng Fang wrote:
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.
Ah, this is little better. On Windows, is there anyway to shut down a server started like this gracefully? If I Ctrl-C, it kills the batch file but the rest keeps running, and I need to manually "asadmin stop-domain".
Also, I noticed that when I do "start-domain --verbose", it creates two cmd.exe processes (for two batch files), and three Java processes. I was hoping to just see one Java process, so that I can kill it with Ctrl+C (or Process.destroy() from Java) and be done with it.
I'm curious why this many processes are necessary. Sorry to keep using Tomcat as a comparison, but when I do "catalina.bat run", I only see one cmd.exe and one Java process (and when I invoke it from Java, I can recreate the batch file, so all I need to launch is another Java process.)