Command line syntax:
mwdaemon mwserver [<port>] [-o<timeout (in seconds)>] [-tls] [-cert <cert_file>] [-key <key_file>] [-allow-insecure-clients]
<port>: TCP/IP port on which the Middleware daemon listens.
-o<timeout (in seconds)>: Specifies the timeout beyond which any orphan server processes (i.e. processes whose client parts are no longer responding) are terminated.
The timeout is disabled if <timeout> is set to 0. It is also disabled if the -o parameter is not specified.
The timeout is set to 0 seconds by default. The minimum value is 60 seconds.
-tls: Starting up the daemon in TLS mode. In this mode, communications among client and server programs are encrypted (TLS 1.2).
-cert <certificate_file_name>: name of file containing the certificate string for TLS encryption. The file must be in PEM format.
If the parameter is not provided, in TLS mode, the daemon will search for a file called "adelia-middleware-cert.crt" in the current search path.
-key <key_file_name>: name of the file containing the private key corresponding to the server certificate. The file must be in PEM (PRIVATE KEY) format.
If the parameter is not provided, in TLS mode, the daemon will search for a file called "adelia-middleware-key.key" in the current search path.
--allow-insecure-clients: authorizes the connection of clients in version 13.x and 14.0.0 which do not support the TLS protocol.
These clients are not authorized by default and receive a version error.
Important: if the daemon is started up with a server certificate that is self-signed or signed by a private certification authority, the server or authority certificate must be saved in the client workstation trusted certificate store.
See Middleware operating in TLS mode page for more information.
Silent mode:
mwdaemon -q mwserver [<port>] [-o<timeout (in seconds)>]
To kill a Middleware daemon:
mwdaemon -k mwserver [<port>]
To list the Middleware daemons:
mwdaemon –l
To install as a Windows Service in manual start mode:
mwdaemon -i [<external name> [<internal name> [mwserver [<port>]]]] [-tls] [-cert <cert_file>] [-key <key_file>] [-allow-insecure-clients] [-o<timeout (in seconds)>][-u <user> <password>]
<external name>: Name displayed onscreen.
<internal name>: Name of the service.
<user>: Service start profile.
<password>: password associated with the start profile.
To install as a Windows Service in automatic start mode:
mwdaemon -a [<external name> [<internal name> [mwserver [<port>]]]] [-tls] [-cert <cert_file>] [-key <key_file>] [-allow-insecure-clients] [-o<timeout (in seconds)>] [-u <user> <password>]
To remove the Windows Service:
mwdaemon -r <external name>