此内容没有您所选择的语言版本。
2.3. Starting the JBoss ON Server
The JBoss ON server is actually a customized JBoss AS server, included in the JBoss ON installation, so starting the JBoss ON server means starting that JBoss instance.
The JBoss ON server can be started manually or can be configured to start and run as a system service.
2.3.1. Starting the JBoss ON Server (Basic) 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
The JBoss ON server process is started by running a scripting in the serverRoot
/bin/
directory. There is an .sh
script for Linux and Unix systems and a .bat
script for Windows systems.
The simplest way to start the server is simply to run the script with the
start
command. This starts the server process and then exits from the script.
serverRoot/bin/rhq-server.{sh|bat} start Trying to start the RHQ Server... RHQ Server (pid 27547) is starting
serverRoot/bin/rhq-server.{sh|bat} start
Trying to start the RHQ Server...
RHQ Server (pid 27547) is starting
The
rhq-server.{sh|bat}
script looks for specific environment variables during its execution, especially related to the JVM to use with the JBoss AS server instance. A complete list of environment variables is given in the script itself; defaults based on the installation information are used, so most environment variables don't need to be reset.
Note
The
RHQ_SERVER_JAVA_HOME
environment variable must be set on Red Hat Enterprise Linux systems for the server to start. This can be set to a general value like /usr/
.
The server can also be started in console mode, which prints detailed information about the server process to the terminal and leaves the script open as long as the server is running.