Getting started Community Training Tutorials Documentation APIs, AI & Tools
Install an Enterprise License on On-Premises Mule Runtime Engine
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 Mule runtime engine 4.3 with an expired license does not restart. Install a valid Enterprise license before you start the runtime in production.
The Mule Enterprise license (muleLicenseKey.lic) is not the Java Service Wrapper (Tanuki) license. A Tanuki license error means the wrapper key is missing or invalid, not that mule -installLicense failed.
MuleSoft makes available a trial version of the Enterprise Edition of Mule runtime engine (Mule) for the purpose of evaluation. Though perfect for exploring Mule and Anypoint Studio, the trial license for Enterprise limits usage of Mule and is not appropriate for production uses.
Complete the following steps to acquire and install a non-trial Enterprise license before you use Mule runtime in a production environment.
-
Contact your MuleSoft account representative or the MuleSoft sales team to acquire an Enterprise license in the form of a
license.licfile. -
Before installing, it’s recommended to remove the previous license from your
$MULE_HOMEdirectory:-
Navigate to
$MULE_HOME/conf/ -
Delete the existing
muleLicenseKey.licfile.
-
-
If you are installing your license on multiple platforms, back up your new
license.licfile 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_HOMEenvironment variable before running themule -installLicensecommand.-
On Mac/Unix/Linux, if
JAVA_HOMEisn’t detected automatically, set it to avoid any issues. -
On Windows, if
JAVA_HOMEisn’t set, the license installation fails.
-
-
Run the license installation command:
-
On Mac/Unix/Linux, from the
$MULE_HOME/bindirectory, runmule -installLicense ~/license.lic. -
On Windows, copy the
license.licfile to the\binfolder, and then runmule.bat -installLicense license.licfrom the command line.
-
-
In the
$MULE_HOME/confdirectory, Mule saves a new file calledmuleLicenseKey.lic. This shows that the license has been installed. -
Start your Mule Server again, by the usual means.
Verify or Remove an Enterprise License
Make sure that the Mule Server is stopped and then open the terminal or command line on your system.
To verify that Mule successfully installed your Enterprise license, run the following command:
mule -verifyLicense
To uninstall a previously installed license, run the following command:
mule -unInstallLicense
Sometimes the license installation fails and it might be necessary to manually delete $MULE_HOME/conf/muleLicenseKey.lic
Download Your License Key
-
Log in to the Support portal using your login information. If you do not have credentials to log in, please contact your Customer Success Manager.
-
Click on the Support tab located on the navigation menu of the MuleSoft Help Center home page.
-
Click on the Subscriptions tab located halfway through the page.
-
Click on the Subscription Name of the subscription you would like a license key for. Please note that you must click on the Subscription Name (second column on the right) or you will not be forwarded to the correct page.
-
Click on the License ID number located at the end of the page on the right.
-
Click on the License Key file located in the Notes & Attachments section at the beginning of the page on the right to download your license key.
Install an Enterprise License on Embedded Mule Runtime Engine
Though not recommended for production environments, you have the option of installing an Enterprise license on the Mule that comes bundled with Studio.
-
Download and install Mule Enterprise Edition.
-
Contact your account representative or the MuleSoft sales team to acquire an Enterprise Edition license in the form of a
license.licfile. -
Complete the steps outlined above to install the new license on the Mule Enterprise Edition from the first step.
-
From the
$MULE_HOME/confdirectory, copy the new license file that Mule stored:muleLicenseKey.lic. -
Paste the
muleLicenseKey.licfile into the classpath of your embedded application in Mule bundled with Studio.
Install Product Licenses
To use the SAP Connector or other premium connectors, you must first acquire, then install a product license. Contact your account representative or the MuleSoft sales team to acquire a license for one of the above products.
| The MuleSoft Enterprise Maven customer repository allows you to access Mule Enterprise modules, connectors, and other components not included in the trial or community versions. See About the Mule Maven Plugin for details. |
Troubleshoot Common Error Messages
java.io.FileNotFoundException: muleLicenseKey.lic (Permission denied)
The process that runs mule -installLicense cannot write $MULE_HOME/conf/muleLicenseKey.lic. Stop the runtime, confirm the OS user owns $MULE_HOME, and retry. Do not copy-paste the install command if paste inserts hidden characters; type the command.



