[jboss-as7-dev] Management operation for getting the current "process-state"

Jaikiran Pai jpai at redhat.com
Fri May 4 06:36:23 EDT 2012


Is there a command/operation in the management API which shows me the 
current server process status. For example, I trigger an operation which 
results in a "reload-required" process state:

[standalone at localhost:9999 /] 
/subsystem=ejb3/service=remote/channel-creation-options=MAX_OUTBOUND_MESSAGES:add(type=remoting, 
value=123)
{
     "outcome" => "success",
     "response-headers" => {
         "operation-requires-reload" => true,
         "process-state" => "reload-required"
     }
}

Assume some admin decides to do the :reload operation at some later 
point in time and closes his session. At a later point in time, is there 
some way he can get to the process state to verify that a reload is 
required before actually doing a :reload?

-Jaikiran


More information about the jboss-as7-dev mailing list