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
0
votes
2 answers

WildFly CLI run script against embedded server

I have some scripts that I run using jboss-cli -c --controller=... --file=myscript.cli. The -c and --controller options are great, because my script does not know which server it should be run against and can be reused for multiple servers. I now…
Adrodoc
  • 673
  • 10
  • 19
0
votes
1 answer

JBoss Wildfly display values of attributes in jboss-cli command line mode

I would like to see values of different attributes while using the jboss-cli.sh commandline tool in JBoss WildFly 8.1 (I think the version doesn't matter that much) I know how to write values and I know how to list possible attributes to write to…
Steve Waters
  • 3,348
  • 9
  • 54
  • 94
0
votes
0 answers

Creating custom node operation to execute via JBoss CLI

We'd like to perform occasional configuration refreshes on some of our servers, but we'd prefer that that operation wasn't exposed via a web-service, but rather that the infrastructure guys could call a command via the JBoss CLI to do a refresh. Is…
Evan Knowles
  • 7,426
  • 2
  • 37
  • 71
0
votes
1 answer

JBoss EAP 7.1.0 connects using cli but fails using CommandContext or ModelControllerClient

I am trying to execute few commands using cli from java code. For this, I am trying to connect to cli but I am unable to connect. When i connect using jboss.cli.sh -> connect loclahost:9990, it connects. When I try this from java using…
Swaraj Shekhar
  • 187
  • 1
  • 7
  • 28
0
votes
0 answers

cli command is working differently in JBoss EAP 7.x as compared to JBoss EAP 6.x

In JBoss EAP 6.x, below are details of cli command and its response, to get the path of the deoployed archive file (picked from deployment-scanner subsystem) cli - /deployment=helloworld.war:read-attribute(name=content) response - { "outcome" =>…
0
votes
2 answers

jboss-cli.sh not working on centos 7

I am using Wildfly-12 on Centos 7. When I run ./jboss-cli.sh got following error : You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands. java.io.IOException: Error…
Osman Corluk
  • 325
  • 1
  • 3
  • 12
0
votes
0 answers

javax.security.sasl.SaslException: Authentication failed: the server presented no authentication mechanisms in Wildfly 10.1

I am new to EJBs, and I am trying to perform remote invocations on stateless and stateful beans that I have deployed on a pod in my project that is based on Wildfly 10.1 in the new OpenShift 3 (Origin). The code that I am using for initializing the…
0
votes
2 answers

How to get Wildfly server status via CLI?

I've been trying to validate if our server has started in Wildfly using the jboss-cli.bat This is the command i'm using: /host=slave-1/server-config=REST-server-one:read-resource(include-runtime=true) and this is what i'm getting from the…
aeycee
  • 167
  • 2
  • 2
  • 14
0
votes
2 answers

Jboss CLI application deployment

I need to deploy a WAR file in JBOSS using CLI and want to send a JVM command line parameter that is used in the application. The CLI command for the deployment is: deploy --name=xxx-api.war --server-groups=server-group1…
Arun
  • 3,701
  • 5
  • 32
  • 43
0
votes
1 answer

Failure to deploy datasource because JBoss thinks it already exists

I am running gradlew deploy on a JBoss 7.0.5 application and it is complaining that one of my data sources already exists when I try deploying: Deploying profile/deploy-datasources.cli { "outcome" => "failed", "failure-description" =>…
Drew13
  • 1,301
  • 5
  • 28
  • 50
0
votes
1 answer

JBoss CLI list MDBs

I am trying to implement some simple monitoring using the DMR API, so far I can list all the datasources and then get for each one some statistics with the following cli expression [/subsystem=datasources:read-resource(recursive=true)] translated to…
bajistaman
  • 62
  • 8
0
votes
3 answers

Wildfly Logging Profile Setting ( logger.debug("test") )

I would like to create a profile for my application's logs I need to use logger.debug() but if I put down in the standalone.xml file DEBUG I get too many lines from to .....................
Pako
  • 339
  • 2
  • 8
  • 20
0
votes
1 answer

Convert Wildfly/JBoss profile to CLI scripts?

Is it possible to convert the standalone.xml (or other configured Wildfly/JBoss profile XML file) to a series of commands or script that can be run by jboss-cli.sh? I have a Wildfly 11 instance that I've made config changes to. I'd like to be able…
Shadowman
  • 11,150
  • 19
  • 100
  • 198
0
votes
1 answer

Configure patched module in jboss eap 7

We use eclipselink in our applications therefore we configured JBoss to use eclipselink as persistence provider. We configured this by putting the eclipselink.jar into the following…
0
votes
0 answers

Jboss AS7 to Wildfly 10 Migration

im trying to migrate JBoss AS7.1 to Wildfly 10, i just followed some threads and i came upon this AS7 to Wildfly 10 guide. Basically it just tells how to migrate server configuration as well as application configuration. But the problem is, it says…
lemoncodes
  • 2,371
  • 11
  • 40
  • 66