configuration file (wc-server.xml)

Many aspects of the runtime application are configured in an XML file. This XML file is located inside the Java Platform, Enterprise Edition EAR.

Do not place a customized wc-server.xml file inside the resources-ext directory. Placing it in resources-ext overwrites dynamically generated database and server properties during the build process.

To customize the wc-server.xml file:

  1. Make your edits directly to the template file: src/projects/ts-ear/template/xml/wc-server.xml.template
  2. Rebuild the ts-ear module to generate and apply your configuration changes:
    ./mvnw install -pl src/projects/ts-ear -P toolkit,build
    Note: If project dependencies have not been built recently, append -am to the command to build required dependent modules.