After restart server-config in a batch script the CLI loses the connection with the server in EAP 6.4

Solution Verified - Updated -

Issue

After running the following batch, the CLI loses the connection with the server:

[domain@localhost:9999 /] batch
[domain@localhost:9999 / #] /server-group=other-server-group/system-property=my.property:remove
[domain@localhost:9999 / #] /host=master/server-config=server-one:restart
[domain@localhost:9999 / #] run-batch
The batch executed successfully

...

[domain@localhost:9999 /] /host=master/server=server-one:read-attribute(name=server-state)
Failed to get the list of the operation properties: "JBAS014883: No resource definition is registered for address [
    ("host" => "master"),
    ("server" => "server-one")
]"

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 6.4.X

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.