AnsweredAssumed Answered

scheduled action in 4.2c community

Question asked by braguzz on Jun 13, 2013
Latest reply on Jun 13, 2013 by braguzz
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
————

Outcomes