Careful with search/replace

Heiko W.Rupp hrupp at redhat.com
Mon Apr 2 12:32:50 UTC 2012


Removal of managed servers all of a sudden failed:

2012-04-02 14:08:47,606 WARN  [ResourceContainer.invoker.daemon-2] (rhq.modules.plugins.jbossas7.ASConnection)- Response body for Operation{operation='read-resource', address=Address{path: host=master,server-pluginConfig=server-one,core-service=platform-mbean}, additionalProperties={}} was empty and response code was 500 (Internal Server Error).
2012-04-02 14:08:47,606 ERROR [ResourceContainer.invoker.daemon-2] (rhq.modules.plugins.jbossas7.ASConne

Turns out that 

the literal "string host=master,server-config= "

got mangled by a global search/replace of "config" to "pluginConfig" to

"host=master,server-pluginConfig="






More information about the rhq-devel mailing list