Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 4. Starting and Stopping JBoss Fuse
Abstract
Red Hat JBoss Fuse provides simple command-line tools for starting and stopping the server.
4.1. Starting JBoss Fuse Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
Abstract
The default way for deploying the Red Hat JBoss Fuse runtime is to deploy it as a standalone server with an active console. You can also deploy the runtime as a background process without a console.
Overview Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
The default way for deploying the Red Hat JBoss Fuse runtime is to deploy it as a standalone server with an active console. You can also deploy the runtime to run as a background process without a console.
Setting up your environment Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
You can start the JBoss Fuse runtime from the installation directory without doing any work. However, if you want to start it in a different folder you will need to add the
bin directory of your JBoss Fuse installation to the PATH environment variable, as follows:
Windows
set PATH=%PATH%;InstallDir\bin
*NIX
export PATH=$PATH,InstallDir/bin
Launching the runtime Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
If you are launching the JBoss Fuse runtime from the installation directory use the following command:
Windows
bin\fuse.bat
bin\fuse.bat
*NIX
bin/fuse
bin/fuse
If JBoss Fuse starts up correctly you should see the following on the console:
Launching the runtime in server mode Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
Launching in server mode runs Red Hat JBoss Fuse in the background, without a local console. You would then connect to the running instance using a remote console. See Section 8.2, “ Connecting and Disconnecting Remotely” for details.
To launch JBoss Fuse in server mode, run the following
Windows
bin\start.bat
bin\start.bat
*NIX
bin/start
bin/start
Launching the runtime in client mode Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
In production environments you may want to have a runtime instance accessible using only a local console. In other words, you cannot connect to the runtime remotely. You can do this by launching the runtime in client mode using the following command:
Windows
bin\fuse.bat client
bin\fuse.bat client
*NIX
bin/fuse client
bin/fuse client