Alfresco Community - Read only mode

cancel
Showing results for 
Search instead for 
Did you mean: 
sanjaybandhniya
Intermediate

Alfresco Community - Read only mode

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?

Thanks & Regards,
Sanjay
2 Replies
angelborroy
Alfresco Employee

Re: Alfresco Community - Read only mode

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
sanjaybandhniya
Intermediate

Re: Alfresco Community - Read only mode

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.

Thanks & Regards,
Sanjay