users@glassfish.java.net

RE: Re: Keeping the Console Open?

From: Asleson, Ryan <asleson_at_BIWORLDWIDE.com>
Date: Tue, 19 Feb 2008 12:57:25 -0600

Hmm, that doesn't seem to work. The console window still closes and
complains something about the parameters.

 

-----Original Message-----
From: glassfish_at_javadesktop.org [mailto:glassfish_at_javadesktop.org]
Sent: Tuesday, February 19, 2008 12:32 PM
To: users_at_glassfish.dev.java.net
Subject: Re: Keeping the Console Open?

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net


This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by phone or reply by e-mail, delete the original message and destroy all copies. Thank you.