Starting the database server on Windows

The Rational® DOORS® database server runs as a service, which you can start and stop using the Control Panel. The database server starts automatically when the computer starts, and reads configuration information from the registry. You can also start the database server using the command line, with switches to override the configuration information in the registry.

About this task

When the server starts, it reads configuration information from the registry.
Table 1. Rational DOORS registry values and switches
Value name Switch (abbreviation) Description
portnumber -portnumber (-p) The port number that the server uses. By default, it is 36677.

To change the port number that the server uses, right-click PortNumber and select Modify. Type a new port number in the Value data field.

Do not use a port number less than 1000, or the server must run in privileged mode. Do not run the server in privileged mode.

If you want to temporarily use a different port, use the -portnumber switch on the command line, or from a shortcut.

serverdata -serverdata (-s) The location of the Rational DOORS data. You must enter the full path to the folder where the database files are stored.
home -home (-h) The Rational DOORS home directory. You must enter the full path to the folder where Rational DOORS was installed.
You can set the server to log database activity by creating registry values, or by using switches on the doord command.
Table 2. Registry values and switches to enable the logging of activity on the server
Value name Switch (abbreviation) Value data
logfile -logfile (-l) The path to the server log file.
loglevel -loglevel (-L) The level of logging, 1 being the lowest, and 6 being the most verbose.

Procedure

  1. To run the Rational DOORS database server using the configuration information in the registry, open Services in the Control Panel. Select DOORS Database Server 9.5, and click Start.
  2. To run the database server from the command line, open a command prompt and navigate to the bin directory in the Rational DOORS installation folder. Run doorsd, using command-line switches to override settings in the registry, and to set up server logging.

Feedback