Este contenido no está disponible en el idioma seleccionado.

9.5. The CarMart Quickstart Using Tomcat


9.5.1. Build the CarMart Quickstart to Tomcat

The following procedure provides directions to build the CarMart quickstart to Tomcat 7.
Prerequisite

Obtain the supported JBoss Data Grid Library Mode distribution files.

Procedure 9.4. Build the CarMart Quickstart to Tomcat

  1. Install the Maven Repository

    For initial testing in a small team, extract the JBoss Data Grid Maven repository to a directory on the local system:
    $ unzip jboss-datagrid-maven-repository-6.0.0.zip
    
    Copy to Clipboard Toggle word wrap
    For further information about the installation methods available to install the JBoss Data Grid Maven repository, refer to Chapter 4, Install and Use the Maven Repository.
  2. Add Manager Script Information

    This build assumes that the default configuration for Tomcat 7 will be used, including a default host name (localhost) and port (8080). To allow Maven's Tomcat plug-in to access the manager, add the following information to the tomcat-users.xml file (located at conf/tomcat-users.xml):
    <role rolename="manager-script"/>
    <user username="admin" password="" roles="manager-script"/>
    Copy to Clipboard Toggle word wrap
  3. Start Tomcat

    Use the following script to start Tomcat:
    $CATALINA_HOME/bin/catalina.sh start
    
    Copy to Clipboard Toggle word wrap
  4. Build your Application

    Use the following command to build your application using Maven:
    $ mvn clean package -Plibrary-jbossas -Ddatagrid.maven.repo=file:///path/to/unpacked/jdg/maven/repository
    
    Copy to Clipboard Toggle word wrap
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat