AEM 6.5.23: JSP Error and Missing Blobs After Service Pack Installation
This article provides steps to resolve JSP errors and missing blob issues encountered after installing Service Pack 6.5.23 on Adobe Experience Manager (AEM) Author instances.
Description description
Environment
Adobe Experience Manager Forms (AEM Forms) 6.5.23 (JEE, Standalone, Windows)
Issue/Symptoms
After attempting to install Service Pack 6.5.23 on an AEM Author instance, the following issues occur:
- A JSP error is encountered during the installation process.
- Running a datastore consistency check reports over 4,000 missing blobs.
- Reverting the server from a snapshot doesn’t resolve the missing blob issue; the consistency check continues to report missing binaries.
Example error from the Forms add-on installation:
org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreException: Record ... does not exist
The JMX consistency check also reports a high number of missing blobs (For example: 4170) on the Author instance.
Resolution resolution
-
Stop the AEM instance
- Ensure the AEM Author server is fully stopped before proceeding.
-
Take a complete backup
- Create a consistent snapshot of both the AEM instance and the associated database at the same timestamp.
- Backups should be performed while AEM is offline to ensure consistency.
-
Run an offline datastore consistency check
- From the
crx-quickstartdirectory, execute the following command (update paths as needed):
- From the
java -jar oak-run-1.22.22.jar datastorecheck --consistency --ref --id --fds <path-to-FileDataStore.config> --repoHome <path-to-repository> --store <path-to-segmentstore> --dump temp --verbose
- Example:
java -jar oak-run-1.22.22.jar datastorecheck --consistency --ref --id --fds C:\Users\Administrator\Desktop\Author_65\crx-quickstart\launchpad\config\org\apache\jackrabbit\oak\plugins\blob\datastore\FileDataStore.config --repoHome C:\Users\Administrator\Desktop\Author_65\crx-quickstart\repository --store C:\Users\Administrator\Desktop\Author_65\crx-quickstart\repository\segmentstore --dump temp --verbose
- Ensure all paths are relative to the current working directory and don’t include redundant prefixes (For example: avoid
crx-quickstart/crx-quickstart/...).
-
Review the consistency check output
- Determine whether the missing blobs are only referenced in indexes or are required for actual content.
- If missing blobs are only in indexes, reindexing may resolve the issue.
- If missing blobs are required for content, restore them from a known-good backup.
-
Retry the Service Pack installation
- After resolving missing blobs, attempt the Service Pack 6.5.23 installation again.
Cause
The issue is caused by repository/datastore inconsistencies, specifically missing binary blobs referenced by the AEM repository. This can result from incomplete backups, improper snapshot procedures, or underlying storage issues. The Service Pack installation fails because required binaries aren’t accessible.