Loading

CloudHub 2.0: Runtime Manager "Schedules" tab shows empty Introspection Service fails when the application does not declare javaSpecificationVersions: ["17"]

Publiseringsdato: Oct 6, 2026
Beskrivelse

On CloudHub 2.0, the Schedules tab is populated by a platform-side Introspection Service that runs at deploy time to introspect the application and generate the scheduler metadata the UI reads. This service selects its Java classloading context from the javaSpecificationVersions field in the application's mule-artifact.json.

When an application targets Java 17  and bundles custom connectors compiled for Java 17  but its mule-artifact.json does not declare javaSpecificationVersions: ["17"], the service introspects the application under a Java 8 context. It then cannot load the Java 17–compiled classes, introspection fails, no scheduler metadata is produced, and the UI's scheduler lookup returns HTTP 404(on the network log)  leaving the Schedules tab empty.

Importantly, the application still deploys and runs normally: the running container's Java version is determined by the CloudHub 2.0 deployment settings (independently of mule-artifact.json), so the app runs on Java 17 even when this field is absent. Only the deploy-time introspection  and therefore the Schedules tab  is affected.

error:
- java.lang.UnsupportedClassVersionError (Introspection Service Java 17 bytecode loaded under a Java 8 context)
- org.mule.runtime.api.exception.MuleRuntimeException: Unable to introspect application '<app>'
- Runtime Manager: GET .../deployments/{id}/schedulers → 404, body: Not found 'https://catalog.graph.anypoint.mulesoft.com/v1/application/{org}/{artifactId}/{version}'

Løsning

Declare the application's supported Java version in its mule-artifact.json:
{
  "minMuleVersion": "4.9.x",
  "javaSpecificationVersions": ["17"]
}
Then rebuild (mvn clean package) and redeploy. Confirm the Schedules tab populates.

 javaSpecificationVersions must be declared explicitly in the application's source mule-artifact.json. The Mule Maven Plugin does NOT auto-generate this field for Mule applications, even when building with a Java 17 JDK. (It auto-generates Java-version metadata only for SDK-built connectors and extensions, via the @JavaVersionSupport annotation.

Flere ressurser

Application Descriptor Reference (mule-artifact.json): https://docs.mulesoft.com/mule-runtime/4.9/mule-artifact-json

CloudHub 2.0 — Manage Schedules: https://docs.mulesoft.com/cloudhub-2/ch2-manage-schedules

Knowledge-artikkelnummer

005460946

 
Laster
Salesforce Help | Article