Show Table of Contents
13.2. 2 つのアプリケーションサーバーインスタンスの起動
Hello World クイックスタートをデプロイする前に、アプリケーションサーバー (JBoss Enterprise Application Platform 6.x) の 2 つのインスタンスを起動します。
手順13.1 最初のアプリケーションサーバーインスタンスの起動
ルートディレクトリーへ移動
コマンドラインターミナルで、JBoss サーバーディレクトリーのルートへ移動します。最初のアプリケーションサーバーを起動
ご使用のオペレーティングシステムに適した以下のコマンドを使用して、選択したアプリケーションサーバーの最初のインスタンスを起動します。- Linux の場合:
$JBOSS_HOME/bin/standalone.sh
- Windows の場合:
$JBOSS_HOME\bin\standalone.bat
手順13.2 2 番目のアプリケーションサーバーインスタンスの起動
アプリケーションサーバーのクローン
選択した JBoss Server のコピーを作成し、2 番目のインスタンスを作成します。ルートディレクトリーへ移動
コマンドラインターミナルで、JBoss サーバーディレクトリーのルートへ移動します。2 番目のアプリケーションサーバーの起動
ご使用のオペレーティングシステムに適した以下のコマンドを使用します。このコマンドは提供されるポートオフセットでサーバーを起動し、両方のサーバーインスタンスが同じホストで実行されるようにします。- Linux の場合:
$JBOSS_HOME2/bin/standalone.sh -Djboss.socket.binding.port-offset=100
- Windows の場合:
$JBOSS_HOME2\bin\standalone.bat -Djboss.socket.binding.port-offset=100

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.