AnsweredAssumed Answered

Access Denied. The system is currently in read-only mode - Java Web Service

Question asked by hariharanv on Oct 31, 2016
Latest reply on Nov 3, 2016 by gluck113

We have fully functioning APIs that were working fine with the Alfresco 4.0 enterprise edition. But from today morning, we keep getting this error while fetching documents and their versions through Java webservices.

 

AxisFault

faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException

faultSubcode:

faultString:

faultActor:

faultNode:

faultDetail:

        {http://www.alfresco.org/ws/service/authentication/1.0}AuthenticationFault:<ns1:errorCode>0</ns1:errorCode><ns1:message>09314397 Access Denied.  The system is currently in read-only mode.</ns1:message>

        {http://xml.apache.org/axis/}exceptionName:org.alfresco.repo.webservice.authentication.AuthenticationFault

        {http://xml.apache.org/axis/}stackTrace:

 

When we check out the logs we see two sets of errors that keeps repeating:

 

11:00:54,574 INFO  [org.springframework.

extensions.webscripts.connector.RemoteClient] Error status 408 Read timed out
java.net.SocketTimeoutException: Read timed out
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:129)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:2

 

11:15:45,702 WARN  [org.alfresco.web.ui.common.

component.evaluator.BaseEvaluator] Error during ActionInstanceEvaluator evaluation of org.alfresco.web.action.evaluator.RegenerateRenditionsEvaluator@294ba3b1: 093153851 Access Denied.  The system is currently in read-only mode.
11:16:16,740 ERROR [alfresco.ajax] Failed to execute method NavigatorPluginBean.retrieveChildren: 093153852 Access Denied.  The system is currently in read-only mode.
org.alfresco.repo.security.permissions.AccessDeniedException: 093153852 Access Denied.  The system is currently in read-only mode.
    at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:301)

 

15:59:07,516 WARN [org.alfresco.web.bean.LoginBean] Security violation. Unable to redirect to external location:
16:04:36,005 WARN [org.alfresco.web.ui.common.component.evaluator.BaseEvaluator] Error during ActionInstanceEvaluator evaluation of org.alfresco.web.action.evaluator.RegenerateRenditionsEvaluator@218b85c8: 09314877 Access Denied. The system is currently in read-only mode

 

Why is this happening? We are using admin user for accessing. Our APIs were working fine till last night. We get this error only when we fetch documents and their versions. Directories are fetched w/o any issues.

 

Appreciate the help. Thanks!

Outcomes