cancel
Showing results for 
Search instead for 
Did you mean: 

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

hariharanv
Champ on-the-rise
Champ on-the-rise

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/}exceptionNameSmiley Surprisedrg.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!

5 REPLIES 5

gluck113
Star Contributor
Star Contributor

Hi Hariharan,

Are you sure your Alfresco license is still valid. Because if it isn't, it's a default behaviour to toggle the entire repository to read-only mode.

Hope it helps

Thanks, Simon! I think we still have valid license, cos we are able to create/upload/download docs from URL/share but not from java web service API. Please note, from the same API, we are able to fetch the directories but not documents.

hariharanv
Champ on-the-rise
Champ on-the-rise

Any other suggestions please?

Will setting the server.transaction.allow-writes as true in global properties help?

gluck113
Star Contributor
Star Contributor

Very strange, I've never seen this sort of combinaison. I think you already checked that, but are they pointing on the same repo?

Since it's an entreprise version, you can always open a support ticket.