Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3383

"The unbindBlobDataSource method has thrown an exception" message on shutdown of the RDBMK

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.19, 1.2.4, 1.3.5
    • 1.0.21, 1.2.6, 1.3.6, 1.4
    • core
    • None

    Description

      During shutdown/restart the instance, the customer sometimes have exceptions indicating the unbinding of the Datasource to the RDBMK has problems:

      17.08.2015 21:34:35.890 *ERROR* [FelixStartLevel] org.apache.jackrabbit.oak-core [org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService(34)] The unbindBlobDataSource method has thrown an exception (java.lang.IllegalStateException: Service already unregistered.)
      java.lang.IllegalStateException: Service already unregistered.
                      at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:124)
                      at org.apache.jackrabbit.oak.osgi.OsgiWhiteboard$1.unregister(OsgiWhiteboard.java:75)
                      at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService.unregisterNodeStore(DocumentNodeStoreService.java:413)
                      at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService.unbindBlobDataSource(DocumentNodeStoreService.java:408)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
                      at java.lang.reflect.Method.invoke(Method.java:611)
                      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$NotResolved.invoke(BaseMethod.java:574)
                      at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:499)
                      at org.apache.felix.scr.impl.helper.BindMethod.invoke(BindMethod.java:41)
                      at org.apache.felix.scr.impl.manager.DependencyManager.invokeUnbindMethod(DependencyManager.java:1721)
                      at org.apache.felix.scr.impl.manager.SingleComponentManager.invokeUnbindMethod(SingleComponentManager.java:392)
                      at org.apache.felix.scr.impl.manager.DependencyManager$SingleDynamicCustomizer.removedService(DependencyManager.java:802)
                      at org.apache.felix.scr.impl.manager.DependencyManager$SingleDynamicCustomizer.removedService(DependencyManager.java:676)
                      at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1518)
                      at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1413)
                      at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.untrack(ServiceTracker.java:1273)
                      at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1452)
                      at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:940)
                      at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:794)
                      at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:544)
                      at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4425)
                      at org.apache.felix.framework.Felix.access$000(Felix.java:75)
                      at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:402)
                      at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:153)
                      at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:128)
                      at org.apache.sling.datasource.internal.JNDIDataSourceFactory.deactivate(JNDIDataSourceFactory.java:108)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
                      at java.lang.reflect.Method.invoke(Method.java:611)
                      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.AbstractComponentManager.dispose(AbstractComponentManager.java:550)
                      at org.apache.felix.scr.impl.config.ConfigurableComponentHolder.disposeComponents(ConfigurableComponentHolder.java:718)
                      at org.apache.felix.scr.impl.BundleComponentActivator.dispose(BundleComponentActivator.java:364)
                      at org.apache.felix.scr.impl.Activator.disposeComponents(Activator.java:386)
                      at org.apache.felix.scr.impl.Activator.access$300(Activator.java:49)
                      at org.apache.felix.scr.impl.Activator$ScrExtension.destroy(Activator.java:270)
                      at org.apache.felix.utils.extender.AbstractExtender$2.run(AbstractExtender.java:290)
                      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:450)
                      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
                      at java.util.concurrent.FutureTask.run(FutureTask.java:149)
                      at org.apache.felix.utils.extender.AbstractExtender.destroyExtension(AbstractExtender.java:312)
                      at org.apache.felix.utils.extender.AbstractExtender.bundleChanged(AbstractExtender.java:186)
                      at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:869)
                      at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:790)
                      at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:515)
                      at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4409)
                      at org.apache.felix.framework.Felix.stopBundle(Felix.java:2526)
                      at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1315)
                      at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
                      at java.lang.Thread.run(Thread.java:761)
      

      Attachments

        Activity

          People

            reschke Julian Reschke
            elemer Elemer Kisch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: