The licenseserver command registers MapForce Server with the Altova LicenseServer specified by the Server-Or-IP-Address argument. For the licenseserver command to be executed successfully, the two servers (MapForce Server and LicenseServer) must be on the same network and LicenseServer must be running. You must also have administrator privileges in order to register MapForce Server with LicenseServer.
mapforceserver licenseserver [options] Server-Or-IP-Address
•The Server-Or-IP-Address argument takes the name or IP address of the LicenseServer machine.
Once MapForce Server has been successfully registered with LicenseServer, you will receive a message to this effect. The message will also display the URL of the LicenseServer. You can now go to LicenseServer to assign MapForce Server a license. For details about licensing, see the LicenseServer documentation (https://www.altova.com/manual/AltovaLicenseServer/).
Examples of the licenseserver command:
mapforceserver licenseserver DOC.altova.com
mapforceserver licenseserver localhost
mapforceserver licenseserver 127.0.0.1
The commands above specify, respectively, the machine named DOC.altova.com, and the user's machine (localhost and 127.0.0.1) as the machine running Altova LicenseServer. In each case, the command registers MapForce Server with the LicenseServer on the machine specified. The last command calls the server-executable to execute the command.
Options are listed in short form (if available) and long form. You can use one or two dashes for both short and long forms. An option may or may not take a value. If it takes a value, it is written like this: --option=value. Values can be specified without quotes except in two cases: (i) when the value string contains spaces, or (ii) when explicitly stated in the description of the option that quotes are required. If an option takes a Boolean value and no value is specified, then the option's default value is TRUE. Use the --h, --help option to display information about the command.