geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Rübsam>
Subject Re: Restart Geronimo from within Servlet
Date Mon, 03 Apr 2006 12:52:02 GMT

Matt Hogstrom wrote:
> Another option would be to use Java Service Wrapper to monitor Geronimo 
> and restart it when it shutdown.

thanks for the replies to my questions. I finally found the best way to
restart Geronimo with all the ressources closed and the server restarts.

I used the Java Service Wrapper as Matt suggested and added some filter
settings to the wrapper.conf .

# Filter settings

all other settings like Hernan described here:

Now the only thing I did in the servlet is a simple:

This triggers the log watch function of the JSW and
the wrapper executes the RESTART action.

Maybe this short example help others to remote restart the
Geronimo service via a web interface.


View raw message