Questo contenuto non è disponibile nella lingua selezionata.

Chapter 2. Installing the JBoss ON CLI


There are two default available ways to run a JBoss ON server script:
  • In response to an alert
  • Through the CLI utility
Running a script as part of an alert is configured with the alert definition and does not require any other user intervention.
Running a script manually requires that the CLI utility be installed.

2.1. Installing the CLI

The CLI utility can be installed on any system, not just a system with a JBoss ON server or agent installed. That CLI utility package is simply unzipped in the desired location.
NOTE
The Java 6 JDK must be installed on the system.
IMPORTANT
The remote API cannot be run from a client inside an application server. For example, the remote API cannot be run from a client inside an EAP instance; it fails with errors like the following:
Caused by: java.lang.IllegalArgumentException: interface
org.rhq.enterprise.server.auth.SubjectManagerRemote is not visible from class
loader
at java.lang.reflect.Proxy.getProxyClass(Proxy.java:353)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581)
at
org.rhq.enterprise.client.RemoteClientProxy.getProcessor(RemoteClientProxy.java:69)
Copy to Clipboard Toggle word wrap
  1. Open the JBoss ON GUI.
    http://server.example.com:7080
    Copy to Clipboard Toggle word wrap
  2. Click the Administration tab in the top menu.
  3. Select the Downloads menu item.
  4. Scroll to the Command Line Client Download section, and click Download CLI 4.9.JON.3.3.
  5. Save the .zip file into the directory where the CLI should be installed.
  6. Unzip the packages. For example:
    [jsmith@server opt]$ unzip rhq-remoting-cli-4.9.JON.3.3.zip
    Copy to Clipboard Toggle word wrap
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat