Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TO MERGE AGAINST 4.9 only] W-16722425: Updating section about modifying wrapper properties #2825

Draft
wants to merge 5 commits into
base: v4.7
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 9 additions & 19 deletions modules/ROOT/pages/runtime-installation-task.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -84,28 +84,18 @@ $ $MULE_HOME/bin/mule install

== Configure Properties in the wrapper.conf File

After installing Mule as a Windows service, you can override the properties defined in the `wrapper.conf` file by declaring new properties in the `wrapper.additional.conf` file.
After installing Mule as a service or as a daemon, you can modify the properties defined in the `wrapper.conf` file.

The configuration steps change depending on the Mule edition you are using:
For details about what you can do with the configuration file, see https://wrapper.tanukisoftware.com/doc/english/properties.html[Configuration Property Overview].

* Mule Community Edition
+
. After adding a new property, reinstall or restart the Windows service.
. Add the property, ensuring that its index is higher than the highest index in the `wrapper-additional.conf` file so that your property cannot be overridden.
+
For example, imagine that `wrapper-additional.conf` has the following property:
+
`wrapper.java.additional.n=-Dproperty=value`
+
If `n` is the highest index, you would add your property in the `wrapper.conf` file and increment the index, as follows:
+
`wrapper.java.additional.n+1=-DyourProperty=valueOfYourProperty`
After modifying the `wrapper.conf` file, restart your Mule instance to enable the changes.

* Mule Enterprise Edition
+
After you install Mule as a service, configure up to 20 additional properties using the following command-line argument:
+
`-additionalJavaProperties=numberOfExtraProperties`
[NOTE]
====
When you add new properties, ensure that no other properties already use the same sequence number (don't worry about the ones in `wrapper-additional.conf`, as Mule adjusts those upon restart).

Don't modify the `wrapper-additional.conf` file, as Mule automatically generates this file.
====

== Configure CPU Affinity

Expand Down