[wildfly-dev] allow-resource-service-restart=true

Brian Stansberry brian.stansberry at redhat.com
Mon Nov 7 09:43:22 EST 2016


See “restart-required” in the “Description of an Operation” section of https://docs.jboss.org/author/display/WFLY/Description+of+the+Management+Model

> On Nov 7, 2016, at 1:20 AM, Ondrej Kotek <okotek at redhat.com> wrote:
> 
> Is there any way how to recognize whether an operation handles the allow-service-restart header please? (Other way than trying it.)
> 
> Ondra
> 
> 
> ----- Original Message -----
> From: "Kabir Khan" <kabir.khan at jboss.com>
> To: "Martin Stefanko" <mstefank at redhat.com>
> Cc: wildfly-dev at lists.jboss.org
> Sent: Friday, November 4, 2016 4:38:27 PM
> Subject: Re: [wildfly-dev] allow-resource-service-restart=true
> 
> Not all operations handle the allow-service-restart header
>> On 4 Nov 2016, at 15:09, Martin Stefanko <mstefank at redhat.com> wrote:
>> 
>> 
>> Hi,
>> 
>> I am looking for help with the usage of the allow-resource-service-restart header. For the following examples each attribute is a boolean with "restart-required" set to "no-services".
>> 
>> When I run
>> 
>> /subsystem=jmx:write-attribute(name=non-core-mbean-sensitivity,value=true){allow-resource-service-restart=true}
>> 
>> it works as expected, but
>> 
>> /subsystem=undertow:write-attribute(name=statistics-enabled,value=true){allow-resource-service-restart=true}
>> 
>> for instance, puts the server into the reload-required state.
>> 
>> This is happening on several other places so I want to ask if it is a desired behavior.
>> 
>> 
>> Martin Stefanko
>> 
>> Associate Software Engineer
>> JBoss Sustaining Engineering Team
>> Red Hat Czech s.r.o.
>> _______________________________________________
>> wildfly-dev mailing list
>> wildfly-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/wildfly-dev
> 
> 
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev

-- 
Brian Stansberry
Manager, Senior Principal Software Engineer
JBoss by Red Hat






More information about the wildfly-dev mailing list