Setting up an HTTP Floating License Server
The Oxygen XML Developer license server is available in several distributions, tailored for covering a variety of 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, Mac, and Linux.
- Web Archive (WAR) distribution - Provides more flexibility in your deployment configuration, but it requires an existing HTTP server (such as Apache Tomcat).
Installation Steps for the HTTP License Server Installer Distribution for Windows
- Download the HTTP license server installer from the Oxygen XML Developer website.
- Run the installer and follow the on-screen instructions.
- You need to configure two sets of credentials:
                     - Administrator credentials - used for accessing the Oxygen XML Developer license server administrative interface. Optionally you can choose to change the standard 8080 port.
- Standard user credentials - used by an Oxygen XML Developer application to connect to the license server.
 
- Optionally you can choose to install the server as a Windows service. In this case, you can choose the name of the Windows service.
Installation Steps for the HTTP License Server All-Platform Distribution
- Download the HTTP license server all-platform archive from the Oxygen XML Developer website.
- Unpack the archive.
- Run the license server scripts suitable for your operating system
                     (licenseServer.batfor Windows orlicenseServer.shfor Linux and Mac).NoteTo 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).
- On the first run, you will be prompted to set two sets of credentials:
                     - Administrator credentials - used for accessing the Oxygen XML Developer license server administrative interface.
- Standard user credentials - used by an Oxygen XML Developer application to connect to the license server.
 
Installation Steps for the HTTP License Server WAR Distribution
- Make sure that Apache Tomcat 5.5 or higher is running on the machine you have selected to be the license server. To get it, go to http://tomcat.apache.org.
- Download the HTTP license server Web ARchive (.war) from the Oxygen XML Developer website.
-  Configure two Tomcat users:
                     - One user with the role user, used by an Oxygen XML Developer application to connect to the license server. In the subsequent example, this user name is John.
- Another user with the roles admin and manager-gui, used for accessing the Oxygen XML Developer license server administrative interface and the Tomcat management interface. In the subsequent example, this user name is Mary.
 tomcat-users.xmlfile 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 two 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"/> <role rolename="manager-gui"/> <user username="John" password="user_pass" roles="user"/> <user username="Mary" password="admin_pass" roles="admin,manager-gui"/> </tomcat-users>
-  Go to the Tomcat Web Application Manager page and log-in with the user you configured
                     with the manager-gui role (Mary in the example above). In the
                     WAR file to deploy section, choose the WAR file and click the
                     Deploy button. The oXygenLicenseServletapplication is now up and running, but the license key is not yet registered.
- Go to the oXygen license server administration page by clicking the
                     oXygenLicenseServletlink in the manager page. You will need to authenticate with the user configured with theadminrole (Mary in our example).
-  Activate the floating license key. This process involves binding
                     your license key to your license server deployment. Once the process is completed
                     you
                     cannot activate the floating license with another license server. Follow these steps
                     to
                     activate the license: - Access the HTTP license server by following the link provided by the Tomcat Web
                           Application Manager page. If prompted for authentication, use the credentials
                           configured for the admin or manager users.
                           Result: A page is displayed that prompts for a license key. 
- Paste your floating license key into the form and press
                           Submit. The browser used in the activation process needs to
                           have Internet access.
                           Result: You will be redirected to an online form hosted on the Oxygen XML Developer website. This form is pre-filled with an activation code that uniquely identifies your license server deployment, and your license key. NoteIf, for some reason, your browser does not take you to this activation form, refer to the Manual Activation Procedure.
- Press Activate.
                           If the activation process is successfully completed, your license server is running. Follow the on-screen instructions to configure the Oxygen XML Developer client applications. 
 
- Access the HTTP license server by following the link provided by the Tomcat Web
                           Application Manager page. If prompted for authentication, use the credentials
                           configured for the admin or manager users.
                           
-  By default, the license server logs its activity in the
                     TomcatInstallDir/logs/oxygenLicenseServlet.logfile. To change the log file location, edit thelog4j.appender.R2.Fileproperty from theTomcatInstallDir/webapps/oXygenLicenseServlet/WEB-INF/lib/log4j.propertiesconfiguration file.
Manual License Activation Procedure
- Access the HTTP license server by following the link provided by the Tomcat Web Application Manager page. You will be taken to the license registration page.
- Copy the license server activation code.
- Go to the activation page at
                  http://www.oxygenxml.com/activation/.
- Paste the license server activation code and floating license key in the displayed form, then click Activate.
- The activated license key is displayed on-screen. Copy the activated license key and paste it in the license registration page of the HTTP server.
Automatic Subscription Renewal
If the HTTP license server is configured with a subscription license, then the license server will automatically check to see if a new subscription license was purchased and will automatically download and install it for you.
Important
oxygenxml.com. You can deactivate this automatic behavior by
                     disabling the Automatically check for subscription renewal option
                     from the main management page of the license server.
                  If the automatic renewal process fails, you can try either of the following possible solutions:
- If your server uses a proxy to connect to the Internet, go to the main management page of the license server and configure the proxy settings by clicking the Proxy settings link in the Management tasks section.
- Manually replace the floating license key.
 
          