You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Ulf Lilleengen <lu...@redhat.com> on 2016/08/17 08:44:52 UTC
Artemis JVM shutdown
Hi,
I'm looking for a way to shutdown artemis and the JVM remotely. As of
now, I'm able to send the forceFailover operation, but it doesn't shut
down the JVM, which is what I am after.
If this is not already supported, does it make sense to support it in
some way? Is there an approach that I have not thought of?
I think I can work around this by having a parent process that forks and
can kill the child processes remotely, but I would like to avoid that.
--
Ulf Lilleengen
Re: Artemis JVM shutdown
Posted by Ulf Lilleengen <lu...@redhat.com>.
Thank you! I will try this out.
On 08/17/2016 02:44 PM, Tim Bain wrote:
> One of the answers to
> http://stackoverflow.com/questions/191215/how-to-stop-java-process-gracefully
> shows a way to do it using JMX after modifying the JVM's command line
> options.
>
> On Aug 17, 2016 2:45 AM, "Ulf Lilleengen" <lu...@redhat.com> wrote:
>
>> Hi,
>>
>> I'm looking for a way to shutdown artemis and the JVM remotely. As of now,
>> I'm able to send the forceFailover operation, but it doesn't shut down the
>> JVM, which is what I am after.
>>
>> If this is not already supported, does it make sense to support it in some
>> way? Is there an approach that I have not thought of?
>>
>> I think I can work around this by having a parent process that forks and
>> can kill the child processes remotely, but I would like to avoid that.
>>
>> --
>> Ulf Lilleengen
>>
>
--
Ulf Lilleengen
Re: Artemis JVM shutdown
Posted by Tim Bain <tb...@alumni.duke.edu>.
One of the answers to
http://stackoverflow.com/questions/191215/how-to-stop-java-process-gracefully
shows a way to do it using JMX after modifying the JVM's command line
options.
On Aug 17, 2016 2:45 AM, "Ulf Lilleengen" <lu...@redhat.com> wrote:
> Hi,
>
> I'm looking for a way to shutdown artemis and the JVM remotely. As of now,
> I'm able to send the forceFailover operation, but it doesn't shut down the
> JVM, which is what I am after.
>
> If this is not already supported, does it make sense to support it in some
> way? Is there an approach that I have not thought of?
>
> I think I can work around this by having a parent process that forks and
> can kill the child processes remotely, but I would like to avoid that.
>
> --
> Ulf Lilleengen
>