Configuring

To configure this WebApp prepare configuration file using following example:

1
2
3
4
5
6
7
8
9
<?xml version="1.0" encoding="UTF-8"?>
<teryt-service>
    <log4j>
        <xml-filename>log4j.xml</xml-filename>
    </log4j>
    <teryt-domain>
        <xml-filename>hsqldb-teryt.cfg.xml</xml-filename>
    </teryt-domain>
</teryt-service>

Parameters documentation

teryt-service.log4j.xml-filename

Path to log4j configuration file in XML format.

teryt-service.teryt-domain.xml-filename

Path to XML configuration file of TERYT Domain provided within teryt library. For details on TERYT Domain configuration visit teryt library site.

Running

To run this WebApp (Service):

  1. upload WAR file to Servlet Container (e.g. Tomcat),
  2. pass the path to the to TERYT Service configuration file prepared in previous section as Servlet Container JVM system property named teryt-service.configuration (e.g. -Dteryt-service.configuration="C:\eclipse_jee_indigo_sr1_projects\teryt-service\configuration\teryt-service.cfg.xml")

When application is properly started index.html becomes available in WebApp context. It will contain Service management panel.