Questions tagged [jboss-cli]

jBoss/WildFly command line interface

The AS 7 Command Line Interface (CLI) is a command line management tool for the AS 7 domain or a standalone server. It allows a user to connect to the AS7 domain controller or a standalone server and execute management operations available through the AS7 detyped management model. Depending on the operation system, the CLI is launched using jboss-admin.sh or jboss-admin.bat located in the AS7 bin directory.

91 questions
1
vote
1 answer

Configure Keycloak eventsListener via CLI

I have implemented a custom events listener for Keycloak and was able to provide its configuration using standalone-ha.xml ...
user1921819
  • 3,290
  • 2
  • 22
  • 28
1
vote
1 answer

CLI Scripting - Enable provider using environment properties

With Keycloak installation 9.0.2. From keycloak documentation a SPI and provider can be configured the following way within a CLI script: **/spi=dblock/:add(default-provider=jpa) **/spi=dblock/provider=jpa/:add(properties={lockWaitTimeout => "900"…
NicolasG
  • 171
  • 1
  • 6
1
vote
1 answer

deploy/start/stop JBOSS using CLI

I have JBOSS installed on my local server, using it's CLI I am able to deploy/undeploy on a different JBOSS using the command below and providing the respective IP,Port etc wherever I want to deploy. ./jboss-cli.sh -c controller=:
Raihan
  • 27
  • 4
1
vote
1 answer

Jndi value cant support dots

I am trying to declare a new JNDI with the tool jboss-cli.sh. This is my basic instruction: /subsystem=naming/binding=java:/comp/env/config/rutaLogback:add(value="/var/opt/logback.xml",binding-type=simple) The problem is that my value has a dot…
anomix
  • 23
  • 7
1
vote
1 answer

Jboss 7 CLI - unable to start interactive mode but gui mode works

The jboss CLI does not seem to start when it was working a few hours back. I was using the CLI to setup JNDI data source and setting up two way SSL for certificate based authentication using the elytron framework. kerth@ubuntu:~/jboss-eap-7.1/bin$…
neonidian
  • 1,221
  • 13
  • 20
1
vote
1 answer

Change datasource property using org.jboss.dmr.ModelNode

I have quite regular data source definition in standalone.xml
LancerX
  • 1,211
  • 7
  • 23
  • 40
1
vote
2 answers

JBoss EAP 7.0 check startup

I want to check whether my JBoss EAP 7 is started via jboss-cli. With JBoss EAP 6 I could use the following command jboss-cli.bat -c --commands="read-attribute server-state" While the server is starting, the response is starting. When the server…
SilverNak
  • 3,283
  • 4
  • 28
  • 44
1
vote
1 answer

How I can add an host via jboss-cli

How I can add a new host entry using jboss-cli to a Wildfly 12 instalation? I tried this command: /subsystem=undertow/server=default-server/host=127.0.0.10:add But I got this error: failure-description" => "WFLYCTL0158: Operation handler…
Otávio Garcia
  • 1,372
  • 1
  • 15
  • 27
1
vote
1 answer

Wildfly Management CLI Configuration

I've been finding ways to load configuration to wildfly in bulk (say I have a json data). Something that kind of look like this. ./jboss-cli.sh -c subsystem=messagingactivemq/server=default:add() Where { "outcome" =>…
lemoncodes
  • 2,371
  • 11
  • 40
  • 66
1
vote
2 answers

reading json data from variable instead of file in python

I'm creating a python script to extract values from jboss-cli.sh which by default return output in below format: { "outcome" => "success", "result" => { "ActiveCount" => "0", "AvailableCount" => "0", …
Manii
  • 55
  • 8
1
vote
2 answers

How to monitor and control MBDs from JBOSS Domain Mode (List, stopDelivery StartDelivery)

I want to list information about, start and stop the delivery of MDBs running in several servers. This page https://access.redhat.com/solutions/428023 shows how to stop and start MDB's delivery in standalone mode: [standalone@localhost:9999 /]…
1
vote
1 answer

JBOSS Cli adding connector,acceptor and Connection factory

i need to create connector,acceptor and connection factory for the hornet Q subsystem.Iam getting below error while connecting to it.Can you please tell me what could be wrong with my cli hornetq.txt…
Ravi
  • 1,247
  • 4
  • 15
  • 35
1
vote
3 answers

JBoss CLI escaping SELECT 1

Using JBoss (EAP 6.4) CLI to deploy, and at this point, want to add a datasource. The cli command is like…
Adam Biro
  • 11
  • 4
1
vote
1 answer

Trying to trigger JMX Mbean functions from command line

My application is running on Wildfly-8.0.1. Currently, I am able to trigger MBean methods through JConsole using service:jmx:http-remoting-jmx://localhost:9990. I want to write some script to trigger those commands but I didn't find a supporting…
Suresh Namala
  • 306
  • 4
  • 14
1
vote
1 answer

Huge amount of memory is required for deploy WAR file using jboss-CLI

I use wildfly appserver, when deploying a war file using Command-Line Interface (CLI) the process requires JVM heap size greater than 10 times the war file size. How can I reduce this memory size that is consumed by jboss-cli during the…
john miran
  • 393
  • 2
  • 13