cq-dam-cfm-graphql bundle activation failure after upgrade in AEM
After upgrading to AEM 6.5.21 (this is not a version‑specific issue, so it can occur on any version) and installing the Forms add-on package, the cq-dam-cfm-graphql bundle fails to start due to unresolved dependencies related to com.adobe.cq.ui.wcm.commons. This issue is caused by a missing or incorrect configuration in the FilterResolverHookFactory component, which prevents the required dependency from resolving correctly. To fix this issue, update the configuration to restore the required package resolution.
Description description
Environment
Adobe Experience Manager (AEM) Forms, v6.5.21
Issue/Symptoms
- The
cq‑dam‑cfm‑graphqlbundle fails to start and remains in an unresolved state. - Error logs show unresolved
osgi.wiring.packagedependencies forcom.adobe.cq.ui.wcm.commonsbecause of version constraints. - The error message references
FilterResolverHookFactorypreventing resolution due to invalid component configuration. - The Forms add-on package disappears from Package Manager after installation and restart.
Resolution resolution
To fix this issue, follow these steps:
- Open the OSGi Web Console at
/system/console/configMgron the affected server. - Find the configuration for
com.adobe.granite.apicontroller.FilterResolverHookFactory. - Compare this configuration with a working server where the
cq-dam-cfm-*bundles are active. - Add or correct the entries to include
cq-dam-cfm-*under thecom.adobe.cq.ui.commonspackage, as observed on a working server. - Save the configuration and apply the changes.
- Refresh or restart bundles using
/system/console/bundles. - Verify that the
cq-dam-cfm-graphqlbundle transitions to an active state and no longer reports unresolved dependencies.
Note: If the issue continues after you update the configuration, check that all relevant service packs and add‑ons are installed according to the official AEM 6.5.21 release notes, and compare bundle versions across servers if needed.
Related reading
- Install GraphiQL IDE on AEM 6.5 in AEM Headless Tutorial
- Bundles stuck in installed state after AEM Service Pack 22 upgrade