cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Community - Read only mode

sanjaybandhaniya
Elite Collaborator
Elite Collaborator

I am using alfresco community v6.2.

I have create job, that job have logic to call external webservice.

In middle of the job, it is giving below error.

 org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.service.transaction.ReadOnlyServerException: 01180072 Access Denied.  The system is currently in read-only mode.]

Any idea why this is happening?

4 REPLIES 4

angelborroy
Community Manager Community Manager
Community Manager

I guess you need to take care of transaction database in your custom code:

https://github.com/Alfresco/alfresco-community-repo/blob/14.111/repository/src/main/java/org/alfresc...

Hyland Developer Evangelist

You mean I need to handle usertransaction?

Same Code is working fine in webscript but it is giving above error when I am running from job.

upforsin
Star Collaborator
Star Collaborator

Hi @sanjaybandhniya 

I suppose you injected lower-case services into your job. Try to chnage them in the upper-case (i.e. "nodeService" -> "NodeService").

I had the same issue, from the nodeService I was getting

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

and from the contentService I was getting 

Transaction must be active and synchronization is required.

 after changing them to the NodeService and ContentService the error was gone.

Regards,

howkymike

howkymike
Alfresco Developer

Can you use Trial Edition?