02-18-2022 09:36 AM
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?
02-18-2022 09:43 AM
I guess you need to take care of transaction database in your custom code:
02-18-2022 10:07 AM
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.
10-09-2022 03:55 AM
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
10-09-2022 10:57 PM
Can you use Trial Edition?
Explore our Alfresco products with the links below. Use labels to filter content by product module.