geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder" <>
Subject Re: Restart Geronimo from within Servlet
Date Fri, 31 Mar 2006 13:51:42 GMT
If the restart code in the console does what you want, then you can
execute the same logic from a servlet.  The best way would be to
connect to the local server via JMX (which would require the
administrator username and password).  You could also connect directly
to the Geronimo kernel in the local JVM, though we're hoping to shift
our classloader structure to move the Geronimo stuff out of the
application classloader, so in a future release of Geronimo, you might
need to manually specify classloader dependencies to get this approach
to work.


On 3/31/06, Mario Rübsam <> wrote:
> Hi,
> we developed a programm for automated data and program updates. This work
> fine with Geronimo but for the users convenience Geronimo should be restarted
> automatically after that (Geronimo runs as a windows service).
> I noticed the shutdown button in the console and I wonder if it will work to
> restart Geronimo from a servlets code?
> Any suggestions?
> Thanks,
> Mario

View raw message