Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-3080

Deadlock in JcrListener

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Fixed
    • r2.06.11
    • r2.06.12, r2.09.00
    • None
    • None

    Description

      Blocking threads:

      "http-8080-2" daemon prio=10 tid=0x0000000041298000 nid=0x7f82 in Object.wait() [0x00007f4a7c85f000]
      java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)

      • waiting on <0x00007f4a85ef8a08> (a EDU.oswego.cs.dl.util.concurrent.WriterPreferenceReadWriteLock$WriterLock)
        at java.lang.Object.wait(Object.java:485)
        at EDU.oswego.cs.dl.util.concurrent.WriterPreferenceReadWriteLock$WriterLock.acquire(Unknown Source)
      • locked <0x00007f4a85ef8a08> (a EDU.oswego.cs.dl.util.concurrent.WriterPreferenceReadWriteLock$WriterLock)
        at org.apache.jackrabbit.core.journal.AbstractJournal.lockAndSync(AbstractJournal.java:250)
        at org.apache.jackrabbit.core.journal.DefaultRecordProducer.append(DefaultRecordProducer.java:51)
        at org.apache.jackrabbit.core.cluster.ClusterNode$WorkspaceUpdateChannel.updateCreated(ClusterNode.java:586)
        at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.begin(SharedItemStateManager.java:549)
        at org.apache.jackrabbit.core.state.SharedItemStateManager.beginUpdate(SharedItemStateManager.java:1070)
        at org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:1100)
        at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:351)
        at org.apache.jackrabbit.core.state.ForkedXAItemStateManager.update(ForkedXAItemStateManager.java:357)
        at org.hippoecm.repository.jackrabbit.HippoLocalItemStateManager.update(HippoLocalItemStateManager.java:219)
        at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:326)
        at org.hippoecm.repository.jackrabbit.HippoLocalItemStateManager.update(HippoLocalItemStateManager.java:226)
        at org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:313)
        at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1103)
      • locked <0x00007f4a868fb818> (a org.hippoecm.repository.jackrabbit.XASessionImpl)
        at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:858)
        at org.apache.jackrabbit.core.NodeImpl.checkout(NodeImpl.java:3340)
        at org.hippoecm.repository.decorating.NodeDecorator.checkout(NodeDecorator.java:389)
        at org.hippoecm.repository.impl.NodeDecorator.checkout(NodeDecorator.java:172)
        at org.hippoecm.repository.impl.DocumentManagerImpl.putObject(DocumentManagerImpl.java:141)
        at org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowInvocationHandler.invoke(WorkflowManagerImpl.java:482)
      • locked <0x00007f4a868fb818> (a org.hippoecm.repository.jackrabbit.XASessionImpl)
        at $Proxy2.hints(Unknown Source)
        at org.hippoecm.repository.impl.WorkflowDescriptorImpl.<init>(WorkflowDescriptorImpl.java:81)
        at org.hippoecm.repository.impl.WorkflowManagerImpl.getWorkflowDescriptor(WorkflowManagerImpl.java:267)
        at org.hippoecm.repository.decorating.checked.WorkflowManagerDecorator.getWorkflowDescriptor(WorkflowManagerDecorator.java:51)
        at org.hippoecm.addon.workflow.AbstractWorkflowPlugin.buildMenu(AbstractWorkflowPlugin.java:87)
        at org.hippoecm.addon.workflow.WorkflowsPlugin.onModelChanged(WorkflowsPlugin.java:112)
        at org.hippoecm.addon.workflow.WorkflowsPlugin$2.onEvent(WorkflowsPlugin.java:101)
        at org.hippoecm.frontend.model.event.ObservableRegistry$ObservationContext.notifyObservers(ObservableRegistry.java:76)
        at org.hippoecm.frontend.model.event.JcrEventListener.onEvent(JcrEventListener.java:62)
        at org.hippoecm.frontend.JcrObservationManager$JcrListener.process(JcrObservationManager.java:622)
      • locked <0x00007f4a87b5bff8> (a org.hippoecm.frontend.JcrObservationManager$JcrListener)
        at org.hippoecm.frontend.JcrObservationManager.processEvents(JcrObservationManager.java:822)
        at org.hippoecm.frontend.Home.processEvents(Home.java:146)
        at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(PluginRequestCycleProcessor.java:37)
        at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175)
        at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)
        at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
        at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
        at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)
        at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:856)
        at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
        at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
        at java.lang.Thread.run(Thread.java:619)

      "HJCRQJS_Worker-0" prio=10 tid=0x0000000041ac7000 nid=0x7f23 waiting for monitor entry [0x00007f4a7d56d000]
      java.lang.Thread.State: BLOCKED (on object monitor)
      at org.hippoecm.frontend.JcrObservationManager$JcrListener.onEvent(JcrObservationManager.java:236)

      • waiting to lock <0x00007f4a87b5bff8> (a org.hippoecm.frontend.JcrObservationManager$JcrListener)
        at org.hippoecm.repository.impl.WorkspaceDecorator$EventListenerDecorator.onEvent(WorkspaceDecorator.java:195)
        at org.apache.jackrabbit.core.observation.EventConsumer.consumeEvents(EventConsumer.java:243)
        at org.apache.jackrabbit.core.observation.ObservationDispatcher.dispatchEvents(ObservationDispatcher.java:201)
        at org.apache.jackrabbit.core.observation.EventStateCollection.dispatch(EventStateCollection.java:422)
        at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(SharedItemStateManager.java:754)
        at org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:1100)
        at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:351)
        at org.apache.jackrabbit.core.state.ForkedXAItemStateManager.update(ForkedXAItemStateManager.java:357)
        at org.hippoecm.repository.jackrabbit.HippoLocalItemStateManager.update(HippoLocalItemStateManager.java:219)
        at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:326)
        at org.hippoecm.repository.jackrabbit.HippoLocalItemStateManager.update(HippoLocalItemStateManager.java:226)
        at org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:313)
        at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1103)
      • locked <0x00007f4a866921e8> (a org.hippoecm.repository.jackrabbit.XASessionImpl)
        at org.hippoecm.repository.decorating.ItemDecorator.save(ItemDecorator.java:144)
        at org.hippoecm.repository.impl.NodeDecorator.save(NodeDecorator.java:85)
        at org.hippoecm.repository.quartz.JCRJobStore.triggeredJobComplete(JCRJobStore.java:453)
        at org.quartz.core.QuartzScheduler.notifyJobStoreJobComplete(QuartzScheduler.java:1490)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:270)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

      Attachments

        Activity

          People

            fvlankvelt Frank van Lankvelt (Inactive)
            bvdschans Bart van der Schans (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: