0 Replies Latest reply on Feb 2, 2016 6:24 AM by jerometang

    Property update with Controller Client API don't persist in domain mode

    jerometang

      Hi There,

       

      I was trying to update "enable-statistics" property of "transactions" subsystem by controller Client API org.jboss.as.controller.client.helpers.domain.impl.DomainClientImpl.java execute method, after the method calling, JBoss server will response with "operation-requires-restart" header, but after I restart JBoss server which is running in domain mode, the value weren't updated, but it works in standalone mode.

       

      Anything wrong with the usage of this API? or how can I update this property by java?

       

      Any idea is appreciated, thanks in advance!