このコンテンツは選択した言語では利用できません。
11.5. The CarMart Quickstart Using WildFly
11.5.1. Build and Deploy the CarMart Quickstart to WildFly リンクのコピーリンクがクリップボードにコピーされました!
リンクのコピーリンクがクリップボードにコピーされました!
The following procedure provides directions to build and deploy the CarMart application to WildFly.
Note
The directions for this quickstart are for use with the selected version of WildFly, not Red Hat JBoss Data Grid itself. JBoss Data Grid does not support application deployment as described in this quickstart.
Prerequisites
Prerequisites for this procedure are as follows:
- Obtain the supported JBoss Data Grid Library Mode distribution files.
- Ensure that the JBoss Data Grid and JBoss Enterprise Application Platform Maven repositories are installed and configured. For details, see Chapter 3, Install and Use the Maven Repositories
- Select a JBoss server to use (JBoss Enterprise Application Platform 6 (or better) or WildFly 7 (or better).
Procedure 11.1. Build and Deploy CarMart to WildFly
Start WildFly
Navigate to the root of the WildFly server directory in a terminal window and enter the following command:For Linux users:$JBOSS_HOME/bin/standalone.sh
$JBOSS_HOME/bin/standalone.shCopy to Clipboard Copied! Toggle word wrap Toggle overflow For Windows users:$JBOSS_HOME\bin\standalone.bat
$JBOSS_HOME\bin\standalone.batCopy to Clipboard Copied! Toggle word wrap Toggle overflow Build and Deploy the Application
Use the following command to build and deploy the application using Maven:mvn clean package jboss-as:deploy
$ mvn clean package jboss-as:deployCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Result
The target war file (target/jboss-carmart.war) is deployed to the running instance of WildFly.