Show Table of Contents
13.3. Hello World クイックスタートのビルドおよびデプロイ
クイックスタートをビルドおよびデプロイする前に、前提条件をすべて満たし、2 つのアプリケーションサーバーインスタンスが実行されているようにしてください (詳細は「2 つのアプリケーションサーバーインスタンスの起動」を参照してください)。
手順13.3 Hello World クイックスタートのビルドおよびデプロイ
必要なディレクトリーへの移動
コマンドラインターミナルで、クイックスタートのルートディレクトリーへ移動します。最初のアプリケーションサーバーインスタンスのビルドおよびデプロイ
以下のコマンドを使用して、クイックスタートを最初のアプリケーションサーバーインスタンスにビルドおよびデプロイします。# mvn clean package jboss-as:deploy
このコマンドは、target/jboss-helloworld-jdg.warを稼働している最初のサーバーインスタンスにデプロイします。2 番目のアプリケーションサーバーインスタンスのビルドおよびデプロイ
以下のコマンドを使用して、クイックスタートを指定のポートを持つ 2 番目のアプリケーションサーバーインスタンスにビルドおよびデプロイします。# mvn clean package jboss-as:deploy -Djboss-as.port=10099
このコマンドは、target/jboss-helloworld-jdg.warを稼働している 2 番目のサーバーインスタンスにデプロイします。

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.