licenseserver
Syntax and description
The licenseserver command registers StyleVision Server with the Altova LicenseServer specified by the Server-Or-IP-Address argument. For the licenseserver command to be executed successfully, the two servers (StyleVision Server and LicenseServer) must be on the same network and LicenseServer must be running. You must also have administrator privileges in order to register StyleVision Server with LicenseServer.
stylevisionserver licenseserver [options] Server-Or-IP-Address |
•The Server-Or-IP-Address argument takes the name or IP address of the LicenseServer machine.
Once StyleVision 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 StyleVision Server a license. For details about licensing, see the LicenseServer documentation (https://www.altova.com/manual/en/licenseserver/3.11/).
StyleVisionServer on Windows stylevisionserver on Windows and Unix (Linux, Mac)
* Note that lowercase (stylevisionserver) works on all platforms (Windows, Linux, and Mac), while upper-lower (StyleVisionServer) works only on Windows and Mac. * Use forward slashes on Linux and Mac, backslashes on Windows.
|
On Windows systems: When spaces or special characters occur in strings (for example in file or folder names, or company, person or product names), use quotes: for example, "My File". Note, however, that a backslash followed by a double-quotation mark (for example, "C:\My directory\") might not be read correctly. This is because the backslash character is also used to indicate the start of an escape sequence, and the escape sequence \" stands for the double-quotation mark character. If you want to escape this sequence of characters, use a preceding backslash, like this: \\". To summarize: If you need to write a file path that contains spaces or an end backslash, write it like this: "C:\My Directory\\".
|
Examples
Examples of the licenseserver command:
stylevisionserver licenseserver DOC.altova.com
stylevisionserver licenseserver localhost
stylevisionserver 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 StyleVision Server with the LicenseServer on the machine specified. The last command calls the server-executable to execute the command.
Options
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.
--j, --json = true|false Values are true|false. If true, prints the result of the registration attempt as a machine-parsable JSON object.
|