cancel
Showing results for 
Search instead for 
Did you mean: 

scheduled action in 4.2c community

braguzz
Champ in-the-making
Champ in-the-making
hi, I have some problem in scheduling a javascript.

I've read something and in particular http://wiki.alfresco.com/wiki/Scheduled_Actions

but if i create the script in the end of the wiki in scheduled-action-services-context.xml I have tomcat errors.

someone can help me?


————–
2013-06-12 13:22:15,042 ERROR [quartz.core.JobRunShell] [SolrTrackerScheduler_Worker-1] Job Solr.CoreTracker-archive threw an unhandled Exception:
org.alfresco.error.AlfrescoRuntimeException: 05120022 GetModelsDiff return status is 404
at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036)
at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790)
at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129)
at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475)
at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
2013-06-12 13:22:15,043 ERROR [quartz.core.ErrorLogger] [SolrTrackerScheduler_Worker-1] Job (Solr.CoreTracker-archive threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 05120022 GetModelsDiff return status is 404]
at org.quartz.core.JobRunShell.run(JobRunShell.java:227)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
Caused by: org.alfresco.error.AlfrescoRuntimeException: 05120022 GetModelsDiff return status is 404
at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036)
at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790)
at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129)
at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475)
at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
… 1 more
————

1 REPLY 1

braguzz
Champ in-the-making
Champ in-the-making
thanks to http://alch3mi5t.blogspot.it/


It seems you’re running Alfresco with Solr engine. You should stop Alfresco, change the index from Solr to Lucene, because of this:

lucene

so, go to alfresco.global.properties and change the line:
index.subsystem.name=solr
into
index.subsystem.name=lucene

Then you should add(or change if you already have it) this:
index.recovery.mode=FULL