10-31-2016 06:31 AM
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/}exceptionNamerg.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!
11-01-2016 06:59 AM
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
11-02-2016 03:51 AM
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.
11-03-2016 12:50 AM
Any other suggestions please?
11-03-2016 01:45 AM
Will setting the server.transaction.allow-writes as true in global properties help?
11-03-2016 02:18 AM
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.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.