Loading

Schedulers Not Visible in Runtime Manager (CH 2.0) for Mule 4 Applications Using SFTP Connector Versions Older Than 2.7.1

Дата публикации: Sep 29, 2026
Описание

Description (Symptom)

- A Mule 4 application deployed to CloudHub 2.0 has one or more Scheduler sources, but the Schedules tab in Runtime Manager is empty. You can't view, enable, disable or run the schedulers from the UI.
- The application uses the SFTP Connector (mule-sftp-connector) at a version older than 2.7.1.
- Deleting and redeploying the application doesn't help.
- A browser HAR capture of the Schedules tab shows the schedulers request returning HTTP 404, similar to:

    GET .../deployments/<deploymentId>/schedulers  ->  404
    "Not found 'https://catalog.graph.anypoint.mulesoft.com/v1/application/<groupId>/<artifactId>/<version>'"


- The same application may show its schedulers in another environment, or when built with an older Mule Maven Plugin version. This depends on how that build was produced, and it doesn't mean that environment is unaffected. See Cause.

 

Environment


- Mule 4.x applications deployed to CloudHub 2.0 (Shared or Private Space)
- SFTP Connector versions older than 2.7.1
- Any Mule Maven Plugin version supported for CloudHub 2.0 deployments (4.5.1 or later)

Cause


When an application is deployed, CloudHub 2.0 generates metadata about the application's components, including its schedulers, and Runtime Manager uses it to show the Schedules tab. SFTP Connector versions older than 2.7.1 have a defect that makes this metadata generation fail for the application. So no scheduler metadata is published, and the Schedules tab has nothing to show. The defect is fixed in SFTP Connector 2.7.1.

Upgrading the Mule Maven Plugin, runtime or Java version doesn't fix it on its own. The connector version is what determines the outcome.

Why this happens


- CloudHub 2.0 generates this metadata in a separate platform service. That service loads the application's connectors to read their component models, including the schedulers.
- The Java environment used by that service was updated, and it now includes the Bouncy Castle cryptography library.
- SFTP Connector versions older than 2.7.1 detect Bouncy Castle and try to use it for secure random number generation, but they don't package or declare the classes they need. The connector can see the library but can't load it, so it fails while initializing. Metadata generation for the whole application then stops, and the schedulers are never published.
- SFTP Connector 2.7.1 corrects how the connector handles the Bouncy Castle provider (connector-sftp#2-7-1), so metadata generation completes.
- This affects only the metadata that Runtime Manager displays. It isn't a defect in the Scheduler component or in the Mule runtime, and changing the scheduler configuration doesn't help.
- Newer Mule Maven Plugin versions always use the current metadata service. An application may appear to work when it was built with an older plugin version, but it will hit the issue once it's rebuilt with a current one. The connector upgrade is the permanent fix.

Решение

1. In the application's pom.xml, update the SFTP Connector dependency to version 2.7.1 or later (use the latest available version if possible):

     <dependency>
       <groupId>com.mulesoft.connectors</groupId>
       <artifactId>mule-sftp-connector</artifactId>
       <version>2.7.1</version>   <!-- or later -->
       <classifier>mule-plugin</classifier>
     </dependency>


If the connector version is managed in a parent POM or BOM, update it there so that every inheriting application picks it up.
2. Check the upgrade notes before moving across several versions, and test SFTP connectivity and authentication in a non-production environment first: https://docs.mulesoft.com/sftp-connector/latest/sftp-connector-upgrade-guide
3. Rebuild and redeploy the application.
4. Open Runtime Manager > the application > Schedules and confirm the schedulers are listed. Re-enable any scheduler that was disabled during troubleshooting.
5. Apply the same change to every other application that uses an SFTP Connector version older than 2.7.1, including those that currently show their schedulers, before promoting to production.

SFTP Connector release notes: https://docs.mulesoft.com/release-notes/connector/connector-sftp

Номер статьи базы знаний

005390617

 
Загрузка
Salesforce Help | Article