Edit online

Setting up an HTTP License Server (Floating or Named-User Licenses)

Restriction: The floating license server does not work with Docker containers.
The HTTP License Server is available in several distributions, tailored for covering various deployment configurations:
  • Windows installer - Easy-to-use Windows installation wizard. Requires elevated permissions to run it.
  • All-platform distribution - Script-based deployment that does not require elevated permissions to run it. Provides scripts for Windows, macOS, and Linux.
  • Web Archive (WAR) distribution - Provides more flexibility in your deployment configuration, but it requires an existing HTTP server (such as Apache Tomcat).

HTTP License Server System Requirements

Table 1. Requirements
Hardware Specification
CPU 1 core
RAM 512 MB/Linux OS, 1 GB/Windows OS (256 MB available memory)
Hard Disk Space 500 MB
Network Requirements Network interfaces stay unchanged (static MAC addresses) after activation
Server OS Requirements Linux or Windows
Antivirus and Firewall Requirements Allow access to the configured TCP port (default 8080)

Installing the HTTP License Server Installer Distribution for Windows

  1. Download the HTTP license server installer from the HTTP License Server website.
  2. Run the installer and follow the on-screen instructions.
  3. You must configure two sets of credentials:
    1. Administrator credentials - Used for accessing the Oxygen XML Web Author license server administrative interface.
    2. Standard user credentials - Used by an Oxygen XML Web Author application to connect to the license server.
  4. You can choose to change the default 8080 port the server runs on. If you need to change the port after the installation, you can do it by editing the following vmoptions file: oXygen HTTP License Server\Windows Service\oXygenHTTPLicenseServer.vmoptions.
  5. Optionally, you can choose to install the server as a Windows service. In this case, you can choose the name of the Windows service.
Tip: In case you run into issues, the license server log file is located in: [Installation_Directory]\work\logs\oXygenLicenseServlet.log.

Installing the HTTP License Server All-Platform Distribution

  1. [Prerequisite] Java 8 or later must be installed.
  2. Download the HTTP license server all-platform archive from the HTTP License Server website.
  3. Unpack the archive.
  4. Run the license server scripts suitable for your operating system (licenseServer.bat for Windows or licenseServer.sh for Linux and macOS).
    Note: To specify a different port (other than the default 8080), you can pass the new port number as an argument to the scripts (for example, licenseServer.bat 8082). You can also change the port by editing the following vmoptions file: oXygen HTTP License Server\Windows Service\oXygenHTTPLicenseServer.vmoptions.
  5. On the first run, you are prompted to set two sets of credentials:
    1. Administrator credentials - Used for accessing the Oxygen XML Web Author license server administrative interface.
    2. Standard user credentials - Used by an Oxygen XML Web Author application to connect to the license server.
      Tip: If you want to manually install, start, stop, or uninstall the server as a Windows service, run the following scripts from a command line as an Administrator:
      • installWindowsService.bat [serviceName] - Installs the server as a Windows service with the name serviceName. The parameters for the license key folder and the server port can be set in the oXygenLicenseServer.vmoptions file.
      • startWindowsService.bat [serviceName] - Starts the Windows service.
      • stopWindowsService.bat [serviceName] - Stops the Windows service.
      • uninstallWindowsService.bat [serviceName] - Uninstalls the Windows service.

      If you do not provide the serviceName argument, the default name oXygenLicenseServer is used.

      If the license server is installed as a Windows service, the output and error messages are automatically redirected to the following log files that are created in the install folder:
      • outLicenseServer.log - Standard output stream of the server.
      • errLicenseServer.log - Standard error stream of the server.

Installing the HTTP License Server WAR Distribution

  1. Make sure that you have Java Servlet Container installed on the server you have selected to be the license server. Apache Tomcat 5.5 or higher is recommended (available at http://tomcat.apache.org).
    Important: By default, the license server stores the statistics database and other data in the Java Servlet Container's temporary directory. If you are not using Apache Tomcat, this directory may be deleted when the server is stopped or restarted. However, you can set the oxygen.license.server.work.dir system property to specify a different path for the directory where the database is stored.
  2. Download the HTTP license server Web Archive (.war) from the HTTP License Server website.
  3. Configure three user roles in your installation of the Java Servlet Container (such as Apache Tomcat):
    1. One user with the role user, used by an Oxygen XML Web Author application to connect to the license server. In the subsequent example, this user name is John.
    2. Another user with the role admin, used for accessing the HTTP License Server administrative interface and the management interface. In the subsequent example, this user name is Mary.
    For example, in Apache Tomcat, a typical way to achieve this is to edit the tomcat-users.xml file from your Tomcat installation (if using a Tomcat zip/tar.gz distribution, by default this configuration file is found in the /TomcatInstallFolder/conf/ directory). After adding the three users, the configuration file might look like this:
    <tomcat-users xmlns="http://tomcat.apache.org/xml"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"
                  version="1.0">
      <!-- ... other user and role definitions ... -->
      <role rolename="user"/>
      <role rolename="admin"/>
      <user username="John" password="user_pass" roles="user"/>
      <user username="Mary" password="admin_pass" roles="admin"/>
    </tomcat-users>
  4. Deploy the WAR file.

    For example, in Apache Tomcat, go to the Web Application Manager page and log in with the user you configured with the admin role (Mary in the example above). In the WAR file to deploy section, choose the WAR file and click the Deploy button. The oXygenLicenseServlet application is now up and running, but the license key is not yet registered.

  5. Go to the HTTP License Server administration page. By default, the address of this page is http://<server-address>/oXygenLicenseServlet. In Apache Tomcat, you can also open this page by clicking the oXygenLicenseServlet link in the manager page.

    You need to authenticate with the user configured with the admin role (Mary in the example above).

  6. Activate the license key. This process involves binding your license key to your license server deployment. The browser used in the activation process needs to have Internet access.
    Note: If you cannot access the internet during the deployment, you can manually activate the license key.
    Once the process is completed you cannot activate the license on another license server. Follow these steps to activate the license:
    1. Paste your license key into the form and click Register/Activate.

      Step Result: You will be redirected to an online form hosted on the Oxygen XML Web Author website. This form is pre-filled with an activation code that uniquely identifies your license server deployment, and your license key.

    2. Click Register/Activate.

      If the activation process is successfully completed, your license server is running. Follow the on-screen instructions to configure the Oxygen XML Web Author client applications.

  7. The application's log file location is specified by the log4j.appender.R2.File property from the WEB-INF/lib/log4j.properties configuration file.

    For example, in Apache Tomcat, the configuration file is located at: TomcatInstallDir/webapps/oXygenLicenseServlet/WEB-INF/lib/log4j.properties and the default log file location is TomcatInstallDir/logs/oxygenLicenseServlet.log.

Installing Multiple Instances of the Oxygen License Servlet on a Tomcat Web Server

For cases where your organization has multiple sets of licenses (for example, an integrator with multiple clients might host a different license server for each client), follow this procedure to install multiple instances of the Oxygen License Servlet on a Tomcat web server:

  1. Rename the license server WAR file according to your needs. For example, you could use the customer name and a number (e.g. client23415).
  2. Go to your Tomcat license server manager (e.g. http://my.tomcatserver.com:port/manager/ ) and enter your credentials.
  3. Scroll to WAR file to deploy and press Browse button.
  4. Locate the WAR file from step 1 and press the Open button.
  5. Press the Deploy button.
  6. Check that the newly deployed license server is running (it must be in the Applications table).

Manual License Activation Procedure (For Users Whose License Server is Offline)

If your license server is not connected to the internet (therefore, the license cannot be activated automatically during the installation), you can manually activate the license by following these steps:
  1. Access the HTTP license server management page in a web browser.
  2. Copy the machine signature code.
    Note: The machine signature is displayed on the page as long as the license key was never activated. If you are trying to update/replace an already activated license key, the machine signature can be found by clicking on Remove/Replace License, then Replace on the next page.
  3. Go to the activation page at: http://www.oxygenxml.com/activation/.
  4. Enter or paste the machine signature code and the license key, then click Activate.

    Step Result: The activated license key is displayed on-screen.

  5. Copy the activated license key and paste it in the license registration page of the HTTP server.

Subscription Renewal

To renew your subscription, you must purchase a new subscription and Manually replace the license key.

Backup License Server Information

If you want to use a backup license server, the setup instructions are the same as the procedures for a main license server, but it requires its own separate license key. Contact the Oxygen support team to find out more details about the backup license pricing and availability.