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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content