[MGNLSCH-23] Support cluster ID in configuration of scheduled job Created: 19/Dec/11 Updated: 21/Feb/12 Resolved: 09/Feb/12 |
|
| Status: | Closed |
| Project: | Scheduler |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major |
| Reporter: | Rory Gibson | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | jackrabbit, rssaggregator | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux Ubuntu, Java 1.6 |
||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Date of First Response: | |||||||||||||||||
| Description |
|
We have our public instance setup to use a shared repository and have a customer requirement to have RSS Aggregator run and import updates every few mins. When we run the public instances with clustering (on same db), we run into an issue where each of the instances is throwing a javax.jcr.InvalidItemStateException: info.magnolia.module.data.importer.ImportException: Error while importing with handler [rssaggregator]:can't create parent [/rssaggregator]:202013d7-cf55-41ec-8cab-5a8e1c923d67/{}importState: the item cannot be removed because it has been modified externally.
at info.magnolia.module.data.importer.ImportHandler.execute(ImportHandler.java:464)
at info.magnolia.module.data.commands.ImportCommand.execute(ImportCommand.java:82)
at info.magnolia.commands.MgnlCommand.executePooledOrSynchronized(MgnlCommand.java:170)
at info.magnolia.commands.MgnlCommand.execute(MgnlCommand.java:157)
at info.magnolia.module.scheduler.CommandJob.execute(CommandJob.java:84)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
Caused by: info.magnolia.module.data.importer.ImportException: can't create parent [/rssaggregator]:202013d7-cf55-41ec-8cab-5a8e1c923d67/{}importState: the item cannot be removed because it has been modified externally.
at info.magnolia.module.data.importer.ImportHandler.getParent(ImportHandler.java:295)
at info.magnolia.module.data.importer.ImportHandler.lock(ImportHandler.java:271)
at info.magnolia.module.data.importer.ImportHandler.executeImport(ImportHandler.java:194)
at info.magnolia.module.data.importer.ImportHandler.execute(ImportHandler.java:461)
... 6 more
Caused by: javax.jcr.InvalidItemStateException: 202013d7-cf55-41ec-8cab-5a8e1c923d67/{}importState: the item cannot be removed because it has been modified externally.
at org.apache.jackrabbit.core.ItemImpl.getRemovedStates(ItemImpl.java:330)
at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:966)
at info.magnolia.cms.core.DefaultContent.save(DefaultContent.java:532)
at info.magnolia.module.data.importer.ImportHandler.getParent(ImportHandler.java:290)
... 9 more
ERROR info.magnolia.module.data.commands.ImportCommand 18.12.2011 07:20:01 -- exception during importing
This is causing the RSS Feeds to not display at all on public instances. Note that running a clustered environment is essential to achieve the required level of scalability so only running aggregator on one of them is not acceptable. |
| Comments |
| Comment by Ondrej Chytil [ 28/Dec/11 ] |
|
Because we are finishing 4.4.6 release this issue should be part of 4.4.7 release or Scheduler module will be released independently. |
| Comment by Rory Gibson [ 08/Feb/12 ] |
|
Is there any update on this yet please? |
| Comment by Ondrej Chytil [ 09/Feb/12 ] |
|
Hi Rory, since this ticket is duplicate of |