users@glassfish.java.net

RE: auto-restart

From: Alex Sherwin <alex.sherwin_at_acadiasoft.com>
Date: Tue, 5 Aug 2008 16:39:32 -0400

"asadmin list-domains | grep some_domain"

Is that good enough? It'll always return "some_domain running" or "some_domain not running"


Alex Sherwin
alex.sherwin_at_acadiasoft.com


-----Original Message-----
From: glassfish_at_javadesktop.org [mailto:glassfish_at_javadesktop.org]
Sent: Tuesday, August 05, 2008 4:53 PM
To: users_at_glassfish.dev.java.net
Subject: auto-restart

Hi,

Is there a way to monitor if the app-server is running or not? I'd like to create a script or something to automatically start up glassfish if it crashes. Can this be done? Through a cronjob script maybe?

Thanks
[Message sent by forum member 'black_lotus' (black_lotus)]

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

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