Show in Frame No Frame
Up Previous Next Title Page Index Contents Search

Examples:

3.3 Server process parameters

The absolute path to the executable should always be given on the command line, enclosed in double quotes if it contains spaces or other special characters. Arguments (<arg>) should be quoted similarly.

-dir <absolute directory>
*sets the working directory of the server
*artbase.roo will be looked for in this directory
*the log file will be saved in this directory
-log <filename>
*changes the log filename from headless-transcript.log
*relative filenames will be calculated from the current working directory, so use -dir first
-port <number>
*makes the server listen on port <number> for SOAP connections for server administration. Default is 6370.
*the same port must be set in the Server URL in the client's Options | Paths
On Windows, there are the following two extra parameters for server administrators to install and deinstall the server process as a service, plus one more used internally when starting the service:

-installService <service name>
*should be the last parameter
*will remove any existing service of this name, create a new service, and start it
*the service command line will be identical to this command line, but with -installService replaced by -serviceName
-deinstallService <service name>
*will remove any existing service of this name. Note that you should stop the service first.
-serviceName <service name>
*will start this server as a service using the name provided
*should only be used as part of a service command line defined by -installService, not run manually from the command line
*when started as a service, the working directory will initially be C:\Windows\System32 on 32-bit Windows or C:\Windows\SysWOW64 on 64-bit Windows. If not changed by a -dir parameter, -serviceName will change it to be the directory specified on the command line for the executable

Examples:

Creating three services on Windows to be able to run three repositories in the same meshare simultaneously:

cd /D C:\meshare

set meserver=C:\Program Files (x86)\MetaEdit+ 5.5 Server\mep55server.exe

"%meserver%" -dir C:\meshare -log 6371.log -port 6371 -installService mep55server6371

"%meserver%" -dir C:\meshare -log 6372.log -port 6372 -installService mep55server6372

"%meserver%" -dir C:\meshare -log 6373.log -port 6373 -installService mep55server6373

Before managing each repository with Server..., the system administrator must set the correct Server URL port in the Options Tool. Normal users need not change any settings when switching between repositories.

Show in Frame No Frame
Up Previous Next Title Page Index Contents Search