Documentation Index

Fetch the complete documentation index at: https://docs.datajet.app/llms.txt

Use this file to discover all available pages before exploring further.

Starting the DataJet Server

Prev Next

DataJet Server runs as the executable DatajetServer.exe. It is normally launched from a start-up script that sets the required file locations and ports, reads the server configuration file, and starts the core processor and socket server.

Start-up script 

The server is started with a small script (for example, a Windows batch file) that changes to the binary folder and runs DatajetServer.exe with the required command-line options:

cd bin
DatajetServer.exe path=f:\datajet\ bin=f:\datajet\bin\ porta=5555 portb=5556 shareddatapath=D:\DJSharedData\sources datapath=f:\datajet\datasources\ mongoURL=127.0.0.1 mongoPort=27017 rms=48
pause

pause keeps the console window open after the process exits so that any start-up messages remain visible. Each parameter is described in command-line-options.

Configuration sources

Settings come from two places, applied in this order:

  1. Command-line options in the start-up script (see command-line-options).
  2. The server configuration file djserver.cnfg (see server-configuration-file).

Where a setting appears in both, the value in djserver.cnfg takes precedence. 

Default ports

If not otherwise set, the server listens on port 5555 for client/desktop connections and 5556 for the core processor.

Start-up log

On start-up the server writes a log (its location is shown as the Log line) recording the active configuration. Typical entries include:

EntryMeaning
DatajetServer <version>Server build version.
Running On <machine>Host machine name.
INI PathConfiguration-file folder, shown only when inipath is set.
Pool SizeActive process pool size.
Fragments / Cache / RMS / LGbEngine tuning values in effect.
System Root / Binary Root / Data RootResolved path, bin, and datapath locations.
Local LoginWhether local login is allowed.
PluginsNumber of script plugins loaded.
Initializing Mongo / Core / ServerStart-up sequence reaching the database, core processor, and socket listener.

The RMS value shown here is the current Requestable Memory Size; it can also be read or temporarily changed at runtime from the Command Line console.

Related