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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In