Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-6827

Scheduler throw NotFoundException on Live sync create/update

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: OpenIDM 5.0.0
    • Fix Version/s: None
    • Component/s: Performance
    • Labels:
      None
    • Environment:
      IDM 5.0.0-SNAPSHOT (revision: 86bb8a7) + OpenDJ-2.6.4

      Description

      There were some skipped accounts on create (5 accounts) / update (10 accounts) sync.
      Here is NotFoundException in the log:

      Oct 07, 2016 12:15:43 AM org.forgerock.openidm.scheduler.JobRequestHandler getAllTriggersOfJob
      WARNING: Unable to read trigger: scheduler-service-group_$x$x$_trigger-activeSynchroniser_systemLDAPAccount
      org.forgerock.json.resource.NotFoundException: Resource 'scheduler/trigger/scheduler-service-group_$x$x$_trigger-activeSynchroniser_systemLDAPAccount' not found
      	at org.forgerock.json.resource.Router.getBestMatch(Router.java:229)
      	at org.forgerock.json.resource.Router.handleRead(Router.java:323)
      	at org.forgerock.json.resource.FilterChain$Cursor.handleRead(FilterChain.java:113)
      	at org.forgerock.json.resource.Filters$ConditionalFilter.filterRead(Filters.java:102)
      	at org.forgerock.json.resource.FilterChain$Cursor.handleRead(FilterChain.java:111)
      	at org.forgerock.json.resource.Filters$ConditionalFilter.filterRead(Filters.java:102)
      	at org.forgerock.json.resource.FilterChain$Cursor.handleRead(FilterChain.java:111)
      	at org.forgerock.json.resource.Filters$ConditionalFilter.filterRead(Filters.java:102)
      	at org.forgerock.json.resource.FilterChain$Cursor.handleRead(FilterChain.java:111)
      	at org.forgerock.openidm.audit.filter.AuditFilter$6.apply(AuditFilter.java:176)
      	at org.forgerock.openidm.audit.filter.AuditFilter$6.apply(AuditFilter.java:173)
      	at org.forgerock.util.promise.Promises$CompletedPromise.thenAsync(Promises.java:255)
      	at org.forgerock.util.promise.Promises$CompletedPromise.thenAsync(Promises.java:244)
      	at org.forgerock.util.promise.Promises$CompletedPromise.thenAsync(Promises.java:223)
      	at org.forgerock.openidm.audit.filter.AuditFilter.logAuditAccessEntry(AuditFilter.java:217)
      	at org.forgerock.openidm.audit.filter.AuditFilter.filterRead(AuditFilter.java:172)
      	at org.forgerock.openidm.filter.MutableFilterDecorator.filterRead(MutableFilterDecorator.java:104)
      	at org.forgerock.json.resource.Filters$ConditionalFilter.filterRead(Filters.java:100)
      	at org.forgerock.json.resource.FilterChain$Cursor.handleRead(FilterChain.java:111)
      	at org.forgerock.openidm.servlet.internal.ServletConnectionFactory$4.filterRead(ServletConnectionFactory.java:475)
      	at org.forgerock.json.resource.FilterChain$Cursor.handleRead(FilterChain.java:111)
      	at org.forgerock.openidm.filter.PassthroughFilter.filterRead(PassthroughFilter.java:80)
      	at org.forgerock.openidm.filter.MutableFilterDecorator.filterRead(MutableFilterDecorator.java:104)
      	at org.forgerock.openidm.filter.MutableFilterDecorator.filterRead(MutableFilterDecorator.java:104)
      	at org.forgerock.json.resource.FilterChain$Cursor.handleRead(FilterChain.java:111)
      	at org.forgerock.openidm.filter.PassthroughFilter.filterRead(PassthroughFilter.java:80)
      	at org.forgerock.openidm.filter.MutableFilterDecorator.filterRead(MutableFilterDecorator.java:104)
      	at org.forgerock.json.resource.FilterChain$Cursor.handleRead(FilterChain.java:111)
      	at org.forgerock.json.resource.FilterChain.handleRead(FilterChain.java:260)
      	at org.forgerock.json.resource.InternalConnection.readAsync(InternalConnection.java:93)
      	at org.forgerock.json.resource.AbstractAsynchronousConnection.read(AbstractAsynchronousConnection.java:101)
      	at org.forgerock.json.resource.AbstractConnectionWrapper.read(AbstractConnectionWrapper.java:202)
      	at org.forgerock.openidm.servlet.internal.ServletConnectionFactory$1$1.read(ServletConnectionFactory.java:244)
      	at org.forgerock.openidm.scheduler.JobRequestHandler.getAllTriggersOfJob(JobRequestHandler.java:585)
      	at org.forgerock.openidm.scheduler.JobRequestHandler.getSchedule(JobRequestHandler.java:571)
      	at org.forgerock.openidm.scheduler.JobRequestHandler.handleDelete(JobRequestHandler.java:249)
      	at org.forgerock.json.resource.Router.handleDelete(Router.java:273)
      	at org.forgerock.openidm.scheduler.SchedulerService.deleteJob(SchedulerService.java:431)
      	at org.forgerock.openidm.scheduler.SchedulerService.unregisterConfigService(SchedulerService.java:294)
      	at org.forgerock.openidm.scheduler.ScheduleConfigService.deactivate(ScheduleConfigService.java:94)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:222)
      	at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:37)
      	at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:615)
      	at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:499)
      	at org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:295)
      	at org.apache.felix.scr.impl.manager.SingleComponentManager.disposeImplementationObject(SingleComponentManager.java:342)
      	at org.apache.felix.scr.impl.manager.SingleComponentManager.deleteComponent(SingleComponentManager.java:157)
      	at org.apache.felix.scr.impl.manager.AbstractComponentManager.doDeactivate(AbstractComponentManager.java:783)
      	at org.apache.felix.scr.impl.manager.AbstractComponentManager.deactivateInternal(AbstractComponentManager.java:757)
      	at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.removedService(DependencyManager.java:1014)
      	at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.removedService(DependencyManager.java:915)
      	at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1241)
      	at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1136)
      	at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.untrack(ServiceTracker.java:996)
      	at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1175)
      	at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:120)
      	at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:991)
      	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:839)
      	at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:546)
      	at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4557)
      	at org.apache.felix.framework.Felix.access$000(Felix.java:106)
      	at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:420)
      	at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:170)
      	at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:144)
      	at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.unregister(AbstractComponentManager.java:883)
      	at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.unregister(AbstractComponentManager.java:857)
      	at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:140)
      	at org.apache.felix.scr.impl.manager.AbstractComponentManager.unregisterService(AbstractComponentManager.java:925)
      	at org.apache.felix.scr.impl.manager.AbstractComponentManager.doDeactivate(AbstractComponentManager.java:774)
      	at org.apache.felix.scr.impl.manager.AbstractComponentManager.deactivateInternal(AbstractComponentManager.java:757)
      	at org.apache.felix.scr.impl.manager.SingleComponentManager.reconfigure(SingleComponentManager.java:615)
      	at org.apache.felix.scr.impl.manager.SingleComponentManager.reconfigure(SingleComponentManager.java:566)
      	at org.apache.felix.scr.impl.config.ConfigurableComponentHolder.configurationUpdated(ConfigurableComponentHolder.java:419)
      	at org.apache.felix.scr.impl.config.ConfigurationSupport.configurationEvent(ConfigurationSupport.java:315)
      	at org.apache.felix.cm.impl.ConfigurationManager$FireConfigurationEvent.sendEvent(ConfigurationManager.java:2046)
      	at org.apache.felix.cm.impl.ConfigurationManager$FireConfigurationEvent.run(ConfigurationManager.java:2014)
      	at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:143)
      	at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:110)
      	at java.lang.Thread.run(Thread.java:745)
      

      Complete log appended.

      This issue could be related to OPENIDM-4731.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brmiller Brendan Miller
              Reporter:
              tomas.hejret Tomas Hejret
              QA Assignee:
              Tomas Hejret Tomas Hejret
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: