users@glassfish.java.net

Re: restart glassfishv2u2 programmatically

From: <glassfish_at_javadesktop.org>
Date: Wed, 17 Sep 2008 21:22:49 PDT

There are very few good reasons to do this. What problem are you trying to solve?

One solution might involve an external cron job that looks for the presence of a file located in your webapp's temp directory. When you need things restarted, you create the file, cron sees it, deletes the file, then kicks asadmin with the proper parameters to restart things.
[Message sent by forum member 'wfay' (wfay)]

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