Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

13.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.
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 13.4. Build the CarMart Quickstart to the Server (Library Mode)

  1. Start the Server

    Run the selected server by navigating to the root directory in a terminal window and enter the following command:
    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. 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.

13.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 13.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

13.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 13.6. Remove an Application from JBoss Enterprise Web Server

  • To remove an application, use the following command:
    $ mvn tomcat:undeploy -Plibrary-tomcat
    Copy to Clipboard Toggle word wrap
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat