dev@glassfish.java.net

New Feature: Remote Restart

From: Byron Nevins <Byron.Nevins_at_Sun.COM>
Date: Tue, 07 Apr 2009 11:46:36 -0700
A new feature is now in place: Remote Server Restart

How to use it:

1) start a domain with asadmin.  You don't need to specify any special options.  It will automatically start both the domain and a "watchdog" process.  The watchdog is very lightweight. It will not block and it will return once it has verified that the domain has started.  So scripts that start domains should work exactly as before.
e.g. asadmin start-domain

2) to restart the domain, run this remote command from any computer:
asadmin restart-domain

3) to stop the domain and the watchdog simply run
asadmin stop-domain

Notes:
Known Issue:

-- 
Byron Nevins Work 408-276-4089, Home 650-359-1290, Cell 650-784-4123 - Sun Microsystems, Inc.