users@glassfish.java.net

Re: restart glassfishv2u2 programmatically

From: <glassfish_at_javadesktop.org>
Date: Wed, 17 Sep 2008 04:08:05 PDT

That would be a security problem. Not sure this would be allowed. A single glassfish container may host many applications. To allow a single application, other than the console, to resart the whole container would be a security nightmere.

If you must do it, I would say you would need to do it through JMX and the Managed Beans.
[Message sent by forum member 'wabunoh' (wabunoh)]

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