Like what you see? Have a play with our trial version.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

New license files must be uploaded from the server on which Yellowfin is installed, otherwise an error message will be displayed.

Automated mechanism to update license

Use the code provided below to query a license file from a central server and specify the time interval for updates. The system will automatically update the license if a new version is available.

Add a snippet in the web.xml to enable license auto provisioning servlet.

Code Block
<servlet>
        <servlet-name>LicenceAutoProvision</servlet-name>
        <servlet-class>com.hof.servlet.LicenceAutoProvision</servlet-class>
        <init-param>
            <param-name>Enabled</param-name>
            <param-value>true</param-value>
        </init-param>
        <init-param>
            <param-name>TaskPeriodInterval</param-name>
            <param-value>360</param-value>
        </init-param>
        <init-param>
            <param-name>Protocol</param-name>
            <param-value>http</param-value>  
<!--            <param-value>https</param-value>--> 
<!--            <param-value>sftp</param-value>-->
        </init-param>
        <init-param>
            <param-name>Hostname</param-name>
            <param-value>localhost</param-value>
        </init-param>
        <init-param>
            <param-name>Port</param-name>
            <param-value>8100</param-value>
        </init-param>
        <init-param>
            <param-name>PathToLicenceFile</param-name>
            <param-value>/static/licence.lic</param-value>
        </init-param>
        <init-param>
            <param-name>Username</param-name>
            <param-value>demo</param-value>
        </init-param>
        <init-param>
            <param-name>Password</param-name>
            <param-value>demo</param-value>
        </init-param>
        <load-on-startup><!-- can use 9 or greater, as long as its one of the last servlet initialised --></load-on-startup>
    </servlet>


Parameter

Description

Parameter Status

Enabled

To enable if license automatic provisioning should start

Required, values are "true" or "false"

TaskPeriodInterval

To configure how often periodic task should run again after 

Required, any number

Protocol


Required, supported values are "http"/"https"/"sftp"

Hostname

Central server hostname

Required

Port

Central server open port for Yellowfin to connect to

Required

PathToLicenceFile

String path to the license file

Required

Username

Username for HTTP/HTTPS Basic Authentication and log in for SFTP

Optional

Password

Password HTTP/HTTPS Basic Authentication and log in for SFTP

Optional


Styleclass
ClasstopLink

top


...