Receiving "Can not connect http client invoker. Response: OK/200." exception when executing JBoss ON script that updates roles
Issue
- When updating roles through JBoss ON CLI, receive exception:
Exception in thread "main" org.rhq.enterprise.client.script.CLIScriptException: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped org.jboss.remoting.CannotConnectException: Can not connect http client invoker. Response: OK/200. (<Unknown source>#36) in <Unknown source> at line number 36
at org.rhq.enterprise.client.commands.ScriptCommand.executeScriptFile(ScriptCommand.java:298)
at org.rhq.enterprise.client.commands.ScriptCommand.execute(ScriptCommand.java:108)
at org.rhq.enterprise.client.ClientMain$StartupConfiguration.process(ClientMain.java:141)
at org.rhq.enterprise.client.ClientMain.main(ClientMain.java:161)
Caused by: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped org.jboss.remoting.CannotConnectException: Can not connect http client invoker. Response: OK/200. (<Unknown source>#36) in <Unknown source> at line number 36
at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:153)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:232)
at org.rhq.enterprise.client.commands.ScriptCommand.executeScriptFile(ScriptCommand.java:287)
... 3 more
Environment
- Red Hat JBoss Operations Network (ON) 3.1.2
- JBoss ON 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.
