Server Configuration
The server functionality is configured in the server configuration file.
The default server configuration file is default.serverConfig
located in <ATACCAMA_HOME>/server/etc/
.
Use this file as a template to create your own server configuration.
You can edit the configuration file directly in ONE Desktop, using the Server Configuration Editor. |
File structure
The configuration file consists of the following parts:
-
port - Specifies the port in which internal communication requests (like shutdown) are being served.
-
tempFolders - List of folders which can be used for temporary files. All of these folders can be used by various algorithms from the plan files.
The first defined folder is used by online services as the temporary storage for versioned folders. Therefore, make sure that you have enough storage space in that folder.
-
runtimeConfiguration - Reference to the Runtime Configuration file containing the definitions of shared resources like database connections and folder shortcuts.
-
serverComponents - Contains a list of server components running on the server.
Each component is specified by the element component with a class parameter containing the full class name of the component to be started. All references to other configuration files in this section, that is, all component configuration, are either absolute paths or they are relative to the location of the server configuration file.
For more information about server components, see Server Components.
<?xml version='1.0' encoding='UTF-8'?>
<server>
<port>7777</port>
<runtimeConfiguration>default.runtimeConfig</runtimeConfiguration>
<tempFolders>
<tempFolder path="/tmp" />
</tempFolders>
<serverComponents>
<component class="com.ataccama.dqc.web.HttpDispatcher">
<listeners>
<listener port="8888" threads="10" name="default" ssl="false"/>
<listener name="console" port="8887" threads="5" ssl="false" />
<listener name="ssl" port="443" threads="10" ssl="true" keyStoreFile="c:/keystore" keyStorePassword="secret"/>
</listeners>
<filters>
<filter>
<filter class="com.ataccama.dqc.web.filters.LoggingFilter">
<logFile>../logs/request.log</logFile>
<maxRequestLogSize>10000</maxRequestLogSize>
<maxResponseLogSize>10000</maxResponseLogSize>
<appendLog>false</appendLog>
</filter>
<mappings>
<mapping urlPattern="/"/>
</mappings>
</filter>
</filters>
</component>
<component class="com.ataccama.dqc.server.services.AuthenticationService">
<methods>
<method class="com.ataccama.dqc.communication.auth.server.PasswordServerMethod">
<provider class="com.ataccama.dqc.communication.auth.server.FileBasedIdentityProvider">
<configFile>users.xml</configFile>
</provider>
</method>
<method ...>
...
</method>
...
</methods>
</component>
<component class="com.ataccama.dqc.online.OnlineServicesComponent">
<serviceLookupFolders>
<configFolder>etc/online</configFolder>
</serviceLookupFolders>
</component>
</serverComponents>
</server>
Was this page useful?