Can not connect to JON from command line for executing custom scripts

Solution Unverified - Updated -

Issue

  • Attempt to connect to JBoss ON using JBoss ON CLI fails;
  • Can not connect to JON from command line for executing custom script:
$ ./rhq-cli.sh -u rhqadmin -p rhqadmin -s my.jon.server.com -p 7080 -f /home/myScript.js
Logging in with default port: [7080]
Login failed for [rhqadmin] on [my.jon.server.com:7080]: username found in principals - do not continue
Usage: login username password [host]|[host port]|[host port <http>|<https>|<socket>|<sslsocket>]
$ 

Environment

  • Red Hat JBoss Operations Network (ON) 3

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