JBoss ON CLI to update a dynagroup definition
Issue
- following the documentation trying to update a dynagroup but get the below error:
org.rhq.enterprise.client.script.CLIScriptException: org.rhq.scripting.javascript.engine.util.ExtendedScriptException: org.mozilla.javascript.EcmaError: TypeError: Cannot find function setExpression in object function get() {/*
java.lang.Object get(int)
*/}
. (<Unknown source>#10) in <Unknown source> at line number 10
at org.rhq.enterprise.client.commands.ScriptCommand.executeScriptFile(ScriptCommand.java:291)
at org.rhq.enterprise.client.commands.ScriptCommand.execute(ScriptCommand.java:93)
at org.rhq.enterprise.client.ClientMain$StartupConfiguration.process(ClientMain.java:163)
at org.rhq.enterprise.client.ClientMain.run(ClientMain.java:188)
at org.rhq.enterprise.client.ClientMain.main(ClientMain.java:172)
Caused by: org.rhq.scripting.javascript.engine.util.ExtendedScriptException: org.mozilla.javascript.EcmaError: TypeError: Cannot find function setExpression in object function get() {/*
java.lang.Object get(int)
*/}
Environment
- Red Hat JBoss Operations Network (ON) 3.3
- ON Command Line Interface (CLI)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
