I have an http://uche.ogbuji.net/tech/4Suite/?xslt=config-helper.xslt which asks a series of questions and creates a configuration file for you. I recommend this for creating your own config files, but you can also cut/past/edit the following samples:
For flat-file on UNIX:
<?xml version='1.0' encoding='UTF-8'?> <rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns='http://xmlns.4suite.org/4ss/properties#' > <Core rdf:ID='Core'> <SystemContainer>ftss</SystemContainer> <!-- <XsltStrobeInterval>100</XsltStrobeInterval> --> <DynamicReloadInterval>110</DynamicReloadInterval> <TemporaryReapInterval>120</TemporaryReapInterval> <!-- Use filesystem for repository --> <Driver rdf:parseType='Resource'> <rdf:type resource='http://xmlns.4suite.org/4ss/properties#FlatFile'/> <Root>xmlserver</Root> </Driver> <!-- Controller PID and log file locations --> <PidFile>/var/tmp/4ss.pid</PidFile> <LogFile>/var/tmp/4ss.log</LogFile> <!-- Controller log level (optional; default: notice) --> <!-- one of emerg|crit|error|warning|notice|info|debug --> <LogLevel>debug</LogLevel> </Core> </rdf:RDF>
For Postgres:
<?xml version='1.0' encoding='UTF-8'?> <rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns='http://xmlns.4suite.org/4ss/properties#' > <Core rdf:ID='Core'> <SystemContainer>ftss</SystemContainer> <!-- <XsltStrobeInterval>100</XsltStrobeInterval> --> <DbMaintenanceTime>03:30</DbMaintenanceTime> <DynamicReloadInterval>110</DynamicReloadInterval> <TemporaryReapInterval>120</TemporaryReapInterval> <!-- Use PostGreSQL for repository --> <!-- User, Password, Host, Port are optional --> <Driver rdf:parseType='Resource'> <rdf:type resource='http://xmlns.4suite.org/4ss/properties#Postgres'/> <DbName>xmlserver</DbName> </Driver> <!-- Controller PID and log file locations --> <PidFile>/var/tmp/4ss.pid</PidFile> <LogFile>/var/tmp/4ss.log</LogFile> <!-- Controller log level (optional; default: notice) --> <!-- one of emerg|crit|error|warning|notice|info|debug --> <LogLevel>debug</LogLevel> </Core> </rdf:RDF>
The XsltStrobeInterval is only needed if you enable an XSLT strobe (runs an XSLT script at regular intervals).
The DbMaintenanceTime is generally only applicable to database back ends, such as Postgres. See Mike Olson's message DB Maintenance stuff for details. Also see Mike Olson's warning about making sure the right Postgres user is set up to run the maintenance.
