Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
14.2. Start Two Application Server Instances
Procedure 14.1. Start the First Application Server Instance
Navigate to the Root Directory
In the command line terminal, navigate to the root for your JBoss server directory.Start the First Application Server
Depending on your operating system, use the appropriate command from the following to start the first instance of your selected application server:- For Linux:
$JBOSS_HOME/bin/standalone.sh
$JBOSS_HOME/bin/standalone.sh
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - For Windows:
$JBOSS_HOME\bin\standalone.bat
$JBOSS_HOME\bin\standalone.bat
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Procedure 14.2. Start the Second Application Server Instance
Clone the Application Server
Create a copy of the selected JBoss Server to create a second instance.Navigate to the Root Directory
In the command line terminal, navigate to the root for your JBoss server directory.Start the Second Application Server
Use the appropriate command for your operating system from the following commands. This command starts the server with the provided port offset to ensure that both the server instances run on the same host.- For Linux:
$JBOSS_HOME2/bin/standalone.sh -Djboss.socket.binding.port-offset=100
$JBOSS_HOME2/bin/standalone.sh -Djboss.socket.binding.port-offset=100
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - For Windows:
$JBOSS_HOME2\bin\standalone.bat -Djboss.socket.binding.port-offset=100
$JBOSS_HOME2\bin\standalone.bat -Djboss.socket.binding.port-offset=100
Copy to Clipboard Copied! Toggle word wrap Toggle overflow