users@glassfish.java.net

Re: Keeping the Console Open?

From: <glassfish_at_javadesktop.org>
Date: Tue, 19 Feb 2008 10:32:00 PST

Hi Ryan,
The preferred way to start the server is by using the asadmin.bat script under <AS>/bin directory. If you want to keep the console open and see all the logged message, you can start the server by specifying the verbose mode.
Assuming <glassfish> is where you installed your server, and you want to start domain1, the following should give you want you expect.

<glassfish>/bin/asadmin start-domain domain1 -v

The console will stays open and you can see all the logged messages.
I also want to point out that if you kill this console, you only quit the 'asadmin' command. Your server is still running until you do the '<glassfish>/bin/asadmin stop-domain domain1' command.

hope this help.
Anissa
[Message sent by forum member 'anilam' (anilam)]

http://forums.java.net/jive/thread.jspa?messageID=259715