このコンテンツは選択した言語では利用できません。

14.4. The (Non-transactional) CarMart Quickstart Using JBoss Enterprise Web Server


The Carmart (non-transactional) quickstart is supported for JBoss Data Grid's Library Mode with the JBoss Enterprise Web Server container.

14.4.1. Build and Deploy the CarMart Quickstart to JBoss Enterprise Web Server

The following procedure provides directions to build and deploy the CarMart quickstart to the JBoss Enterprise Web Server.
Prerequisites

Prerequisites for this procedure are as follows:

  1. 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
  2. Select JBoss Enterprise Web Server 2 (or better) for your application and install it.

Procedure 14.4. Build the CarMart Quickstart to the Server (Library Mode)

  1. Start the 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 users:
    $JBOSS_EWS_HOME/tomcat7/bin/catalina.sh run
    Copy to Clipboard Toggle word wrap
    For Windows users:
    $JBOSS_EWS_HOME\tomcat7\bin\catalina.bat run
    Copy to Clipboard Toggle word wrap
  2. Navigate to the Root Directory

    Open a command line and navigate to the root directory of this quickstart.
  3. Build and Deploy your Application

    Use the following command to build and deploy your application using Maven:
    $ mvn -Plibrary-tomcat clean package tomcat:deploy
    Copy to Clipboard Toggle word wrap
Result

The target war file (target/jboss-carmart.war) is deployed to the running instance of the selected server.

14.4.2. View the CarMart Quickstart Using JBoss Enterprise Web Server

The following procedure outlines how to view the CarMart quickstart on the JBoss Enterprise Web Server:
Prerequisite

The CarMart quickstart must be built and deployed to be viewed.

Procedure 14.5. View the CarMart Quickstart

  • To view the application, use your browser to navigate to the following link:
    http://localhost:8080/jboss-carmart
    Copy to Clipboard Toggle word wrap

14.4.3. Remove the CarMart Quickstart from JBoss Enterprise Web Server

The following procedure provides directions to remove an already deployed application from JBoss Enterprise Web Server.

Procedure 14.6. Remove an Application from JBoss Enterprise Web Server

  • To remove an application, use the following command from the root directory of this quickstart:
    $ mvn tomcat:undeploy -Plibrary-tomcat
    Copy to Clipboard Toggle word wrap
トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat