Posts in Category "Content Services"

LiveCycle ES: AccessDeniedException: Access Denied. The system is currently in read-only mode.


If you are using LiveCycle Content Services you may notice the following error message in the server logs when starting the server:

00:05:55,646 ERROR [org.alfresco.service.descriptor.DescriptorService] Error installing embedded license
org.alfresco.service.license.LicenseException: Failed to save license
                at org.alfresco.repo.descriptor.RepositoryDescriptorDAOImpl.updateLicenseKey(
                at org.alfresco.enterprise.license.AlfrescoLicenseManager.setLicenseKey(

Caused by: org.alfresco.service.cmr.repository.ContentIOException: Failed to create directory for file storage: \\share\Adobe\lccs_data\contentstore\2012\10\26\0\5
                at org.alfresco.repo.content.filestore.FileContentStore.makeDirectory(
                at org.alfresco.repo.content.filestore.FileContentStore.createNewFile(
                at org.alfresco.repo.content.filestore.FileContentStore.createNewFile(
                at org.alfresco.repo.content.filestore.FileContentStore.getWriterInternal(
                at org.alfresco.repo.content.AbstractContentStore.getWriter(
                at org.alfresco.repo.content.RoutingContentService.getWriter(
                at org.alfresco.repo.descriptor.RepositoryDescriptorDAOImpl.updateLicenseKey(
                … 15 more
03:00:00,020 ERROR [org.quartz.core.JobRunShell] Job DEFAULT.indexBackupJobDetail threw an unhandled Exception: Access Denied.  The system is currently in read-only mode.


This error can occur when the user account that started the application server (JBoss/WebSphere/Weblogic) no longer has “write” permissions on the lccs_data shared directory used by content services (alfresco).

During startup sequence, Alfresco tries to create files in lccs_data shared directory, and if it cannot, it starts content services in read only mode.


Verify the user rights on the shared lccs_data directory, and try to create a folder/file manually.  Restarting the LiveCycle server will usually resolve the problem, but you should investigate the root cause why the user permissions are being lost in your environment.

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 10.0/10 (1 vote cast)

LiveCycle ES: CONTENT INTEGRITY ERROR using Content Services


If you are working with Content Services ES you may notice the following exception in the log files:

ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: System content not found in content store.
ERROR [org.alfresco.repo.admin.ConfigurationChecker] Ensure that the 'dir.root' property is pointing to the correct data location.
ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Ensure that the 'dir.root' property is pointing to the correct data location.
 at org.alfresco.repo.admin.ConfigurationChecker.check(
 at org.alfresco.repo.admin.ConfigurationChecker.access$000(
    at org.alfresco.repo.admin.ConfigurationChecker$1.execute(
    at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(
    at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(
    at org.alfresco.repo.admin.ConfigurationChecker.onBootstrap(
    at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(


This exception will occur when the data in the database is no longer synchronized with the data in the file system data store.  Both must remain synchronized at all times, otherwise data loss will occur.  It is part of the maintenance tasks to ensure that the following items are backed up regularly at the same time:

  • GDS document store (file system/network location)
  • Content Services data store (file system/network location)
  • Database schema

This information is described in detail with instructions in the LiveCycle Administration guide:

If the data in the Content Services data store is no longer synchronized with the data in the database, then this exception is thrown, as data integrity has been compromised.  This can happen if another server/user has access to the file data store and makes changes, or if the data in the database is modified by another user/application.

It can also occur while performing configuration changes to your LiveCycle installation if the deployment of these changes quits unexpectedly leaving the database and local data stores out-of-synch.


To resolve this situation you will need to restore the components above from the last valid configuration.

If this is a fresh installation of LC content services, then you can drop the Content Services tables in the database, delete any content in the data store, and re-try the deployment. The following technote describes which tables you need to drop (i.e. it gives you the SQL commands to run):

The Content Services tables in the database get created while the adobe-contentservices.ear file is being deployed (not during database initialization).  Once you have cleaned the DB and the data store, simply re-start the application server with the content services EAR file, and the tables will be re-created.

reference: (182870106)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 7.5/10 (2 votes cast)