此内容没有您所选择的语言版本。

Chapter 4. Manage Configuration at Runtime


In the upcoming chapters, you’ll often be provided two options for applying application server configuration changes to your deployment. You’ll be shown how to edit the standalone.xml or domain.xml directly. This must be done when the server (or servers) are offline. Additionally, you may be shown how to apply config changes on a running server using the app server’s command line interface (JBoss EAP CLI). This chapter discusses how you will do this.

4.1. Start the JBoss EAP CLI

To start the JBoss EAP CLI, you need to run the jboss-cli script.

Linux/Unix

$ .../bin/jboss-cli.sh

Windows

> ...\bin\jboss-cli.bat

This will bring you to a prompt like this:

Prompt

[disconnected /]

There’s a few commands you can execute without a running standalone server or domain controller, but usually you will have to have those services booted up before you can execute CLI commands. To connect to a running server simply execute the connect command.

connect

[disconnected /] connect
connect
[domain@localhost:9990 /]

You may be thinking to yourself, "I didn’t enter in any username or password!". If you run jboss-cli on the same machine as your running standalone server or domain controller and your account has appropriate file permissions, you do not have to setup or enter in a admin username and password. See the JBoss EAP Configuration Guide for more details on how to make things more secure if you are uncomfortable with that setup.

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部