Receiving "Can not connect http client invoker. Response: OK/200." exception when executing JBoss ON script that updates roles

Solution Unverified - Updated -

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, 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