Starting the servers as regular processes
To start all of the Klocwork Servers as regular processes, run the following command:
kwservice --projects-root <projects_root> start
where <projects_root> is the projects_root directory you want to use
To start one of the Klocwork Servers, run the following command:
kwservice --projects-root <projects_root> start [<server_name>]
where
- <server_name> can be one of:
- database
- license
- klocwork
- <projects_root> is the projects_root where the servers are running
Examples
To start all Klocwork Servers:
kwservice --projects-root "C:\Klocwork\Server 23.2\projects_root" start
To start the Klocwork Server:
kwservice --projects-root "C:\Klocwork\Server 23.2\projects_root" start klocwork
You see messages indicating that the servers have been started, showing the server host name and port number and the path to the projects_root. For example:
Using projects root: C:\Klocwork\Server 23.2\projects_root Local Host is: serverxyz.com [13.1.1.142] Starting License Server [started on serverxyz.com:27000] (projects root is C:\Klocwork\Server 23.2\projects_root) Starting Database Server [started on serverxyz.com:3306] (projects root is C:\Klocwork\Server 23.2\projects_root) Starting Klocwork Server [started on serverxyz.com:8080]