| File | Location | Purpose |
|---|---|---|
| wrapper.conf | $MULE_HOME/conf/wrapper.conf | JVM process configuration: heap, GC, system properties |
| scheduler-conf.properties | $MULE_HOME/conf/scheduler-conf.properties | Mule's internal thread pool sizing |
| log4j2.xml | $MULE_HOME/conf/log4j2.xml | Runtime and application logging configuration |
| mule-cluster.properties | $MULE_HOME/.mule/mule-cluster.properties | Cluster and JDBC Object Store configuration |
Note: Any change to wrapper.conf or scheduler-conf.properties requires a full Mule runtime restart to take effect.
The .mule folder exists at two levels:
$MULE_HOME/.mule/<app-name> ├── deployment-properties/ │ ├── artifact.status.deployment.properties │ ├── deployment.properties │ └── flows.deployment.properties ├── objectstore/ │ └── <store-name>/ <-- Persisted Object Store data └── (other app-specific runtime state)
| Folder / File | Safe to Delete? | Notes |
|---|---|---|
| deployment-properties/ | With caution | Mule regenerates on next deploy, but flow states and app status are lost |
| objectstore/ | No | Contains persisted application data — deleting causes permanent data loss |
| Entire .mule/ folder | No | Destroys both deployment state and Object Store data |
Do not delete the entire .mule folder for maintenance or upgrade purposes if applications rely on persisted Object Store data. Target specific subfolders instead.
Location: $MULE_HOME/.mule/<app-name>/deployment-properties/
These three files are runtime-generated and runtime-managed. They are not packaged inside the application JAR. Mule writes and reads them automatically as part of application lifecycle management.
Purpose: Stores the runtime-resolved snapshot of deployment-time properties for the application.
Example content:
anypoint.platform.client_id=abc123 anypoint.platform.client_secret=xyz789 api.name=my-api api.version=v1
When Mule writes it: At application deployment time, combining properties from the control plane, command line, and app-bundled files into a single resolved snapshot.
When Mule reads it: During property resolution for the running application and on restart to restore deployment configuration.
Behavior if deleted:
Purpose: Tracks the start/stop state of individual flows within the application. This is the mechanism that persists flow-level start/stop changes made via Runtime Manager or the Mule Runtime API.
Example content:
status=started
When Mule writes it: Each time a flow's running state is changed — either through the Runtime Manager UI, the ARM API, or the local Mule runtime API.
When Mule reads it: At application startup — Mule restores each flow to its last known state. A flow that was stopped before a restart remains stopped after restart.
Behavior if deleted:
Purpose: Tracks the overall deployment lifecycle status of the application artifact.
Example content:
status=STARTED
Possible status values:
| Value | Meaning |
|---|---|
| STARTED | Application is fully deployed and running |
| STOPPED | Application is deployed but intentionally stopped |
| FAILED | Application deployment or startup failed |
When Mule writes it: As the application transitions through lifecycle states — deploying → started, started → stopped, any state → failed.
When Mule reads it: At Mule runtime startup, to distinguish between applications that were intentionally stopped and those that failed.
Behavior if deleted or corrupted:
Note: artifact.status.deployment.properties has no official public MuleSoft documentation by name. Its behavior is based on runtime internals, naming convention analysis, and support case patterns. Do not modify this file manually.
| File | Tracks | Written When | Read When | Impact if Deleted |
|---|---|---|---|---|
| deployment.properties | Resolved deployment-time properties (client IDs, API name/version) | At deployment | At startup and during property resolution | Regenerated on next deploy, potential property resolution gaps mid-runtime |
| flows.deployment.properties | Per-flow start/stop state | When flow state changes | At app startup | All flows revert to started on next restart |
| artifact.status.deployment.properties | Overall app lifecycle state (STARTED/STOPPED/FAILED) | On app state transitions | At runtime startup | App state not correctly restored, unexpected auto-start behavior |
Location: $MULE_HOME/apps/
Each deployed application has a corresponding anchor file (e.g., my-app-anchor.txt) in the apps directory.
Purpose: Signals to the Mule hot-deployment layer that the application is active and should remain deployed.
Deleting the anchor file is the recommended method for undeploying an application from a standalone runtime:
rm $MULE_HOME/apps/my-app-anchor.txt
The runtime detects the missing anchor and initiates a clean, graceful shutdown and undeployment of the application. The application folder is removed by the runtime only after the app has fully terminated.
Why this is preferred over deleting the app folder directly:
005387194

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.