Sonatype CLM Server - Installation And Deployment Guide

3.4. File Configuration

Sonatype CLM Server stores various files and data related to its operations in a work directory. By default this data is stored in a sonatype-work/clm- server/ directory in the path the server runs. The directory is configurable using the sonatypeWork field in File Configuration in config.yml.

File Configuration in config.yml

sonatypeWork: ./sonatype-work/clm-server

In addition, Sonatype CLM Server uses the system temporary directory during its operation. This folder varies by operating system but is usually controlled by an environmental variable. If a specific directory needs to be used, the CLM Server can be started with a command line flag as such:

cd /opt/sonatype-clm-server
java -jar -Djava.io.tmpdir=/path/to/tmpdir sonatype-clm-server-1.10.2.jar server config.yml

Note that the user account which the server runs under must have sufficient access rights to both the work and temporary directory in order for Sonatype CLM Server to function properly.