HTTP 503 error due to incompatible S3 connector in AEM SP22/SP23

Description description

Environment

Adobe Experience Manager (AEM)

Issue/Symptoms

  • AEM becomes inaccessible after upgrading to Service Pack 22 or 23 with S3 datastore enabled

  • Displays HTTP ERROR 503:AuthenticationSupport service missing. Cannot authenticate request.

  • Logs show unresolved OSGi dependencies during startup, including:

    • ERROR: Bundle ‘751’ Error starting … oak-blob-cloud-1.22.6.jar …
    • Unable to resolve … osgi.wiring.package=org.apache.jackrabbit.guava.common.base(version> =33.2.0)(!(version> =34.0.0))

Cause

The issue occurs due to incompatibility between the S3 Connector version (oak-blob-cloud-1.22.6.jar) and AEM Service Pack 22 or 23. The connector relies on specific versions of supporting libraries, such as Guava, which are mismatched in the upgraded environment. As a result, OSGi fails to resolve dependencies, preventing AEM from starting.

Resolution resolution

  1. Confirm Connector Compatibility:

    • For AEM SP22 or SP23, use S3 Connector v1.10.22.
    • Download the required JARs from Adobe Distribution or Software Distribution.
  2. Upgrade AEM Service Pack:

  3. Remove Incompatible Connector:

    1. Stop the AEM instance.
    2. Back up the following directory: <aem-install>/crx-quickstart/install/
    3. Delete all contents of the install folder to remove old connector JARs and bundles.
  4. Clear OSGi State:

    1. Start AEM and let it run for about 1 minute.
    2. Stop the instance again to ensure stale OSGi references are cleared.
  5. Copy the v1.10.22 S3 connector JARs and any custom configuration files back into: <aem-install>/crx-quickstart/install/

  6. Start the AEM instance.

AEM should now start successfully with all OSGi dependencies resolved.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f