Mule Enterprise Edition is the Mule runtime engine (Mule) distribution you download as mule-enterprise-standalone-*.zip. See Download, Install, Configure, and Upgrade On-Premises Mule Runtime Engine. An Enterprise license is a separate license.lic file from your MuleSoft subscription. You install that file on a Mule Enterprise Edition instance with mule -installLicense. Mule stores it as muleLicenseKey.lic in $MULE_HOME/conf. Production use, clustering, and premium connectors require a valid Enterprise license. Mule Kernel (mule-standalone-*.zip) doesn’t accept an Enterprise license and doesn’t include clustering.
This is the License stage in On-Premises Runtimes Overview. Stop the runtime before you install the license. After it installs, configure the Java Service Wrapper, then start the instance and deploy Mule applications.
An on-premises runtime with an expired Enterprise license doesn’t restart. Install a valid Enterprise license before you start the runtime in production.
The Enterprise license isn’t the Java Service Wrapper (Tanuki) license. A Tanuki license error means the wrapper key is missing or invalid, not that mule -installLicense failed.
MuleSoft provides a trial of Mule Enterprise Edition for evaluation. The trial license limits usage of Mule and isn’t appropriate for production.
Install a non-trial Enterprise license before you use Mule Enterprise Edition in production. If you already have a subscription, you can also download the license key from the MuleSoft Support portal.
-
Contact your MuleSoft account representative or the MuleSoft sales team to acquire an Enterprise license. Depending on your subscription, the license is provided either as:
-
A single license.lic file
-
A .zip file that contains one or more license files:
-
For Government Cloud customers, the .zip file includes both a license-fips.lic (FIPS), and a license.lic (non-FIPS) license.
-
For non-Government Cloud customers, the .zip file usually contains only one license file in the form of a license.lic file.
-
Before installing, it’s recommended to remove the previous license from your $MULE_HOME directory:
-
Navigate to $MULE_HOME/conf/
-
Delete the existing muleLicenseKey.lic file.
-
If you’re installing your license on multiple platforms, back up your new license.lic file in another location before proceeding.
-
Make sure that the Mule Server is stopped (not running) and then open the terminal or command line on your system.
-
Set the JAVA_HOME environment variable before running the mule -installLicense command.
-
On Mac/Unix/Linux, if JAVA_HOME isn’t detected automatically, set it to avoid any issues.
-
On Windows, if JAVA_HOME isn’t set, the license installation fails.
-
If your license was provided as a .zip file, extract it and select the correct file for your environment.
-
Run the license installation command:
-
On Mac/Unix/Linux, from the $MULE_HOME/bin directory, run mule -installLicense ~/license.lic.
-
On Windows, copy the license.lic file to the \bin folder, and then run mule.bat -installLicense license.lic from the command line.
-
In the $MULE_HOME/conf directory, Mule saves a new file called muleLicenseKey.lic. This shows that the license has been installed.
-
Start your Mule Server again, by the usual means.