TomEE Configuration

TomEE Configuration

WIP

NOTE. It is recommended to get familiar with baseCreator first.

Generating Configuration

The main configuration file tomee.xml, as well as all necessary JNDI property files are expanded using baseCreator.

nsf \
  net.democritus:baseCreator:2019.8.1-SNAPSHOT \
  create-deployment \
  --expansionSettings conf/expansionSettings.xml \
  --server 'TomEE Plume 7.1.1' \
  --base 'BASE1'

This script should be invoked every time a component is added or removed, or the database configuration has changed.

You will find the resulting files in <expansionTarget>/<application.shortName>/deployment.

Generating Default Database

nsf \
  net.democritus:baseCreator:2019.8.1-SNAPSHOT \
  create-database \
  --expansionSettings conf/expansionSettings.xml \
  --server 'TomEE Plume 7.1.1' \
  --base 'BASE1'

You will find the resulting database in <expansionTarget>/<application.shortName>/deployment/generated_db_<application.shortName>.script.

Copying Configuration to Base

The baseCreator tasks create-deployment and create-database only generate the necessary configuration files, but do not copy it to the target base.

@TODO add task for copying configuration

results matching ""

    No results matching ""