Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-710

Session refresh triggers faceted navigation populate

    XMLWordPrintable

Details

    Description

      This is especially inconvenient with the hst basicpooling which does a session refresh when the session is returned to the pool.

      "catalina-exec-48" daemon prio=10 tid=0x00002b87d032b800 nid=0x6846 runnable [0x00002b87c265b000]
      java.lang.Thread.State: RUNNABLE
      at java.util.HashMap.transfer(HashMap.java:584)
      at java.util.HashMap.resize(HashMap.java:564)
      at java.util.HashMap.addEntry(HashMap.java:851)
      at java.util.HashMap.put(HashMap.java:484)
      at java.util.HashSet.add(HashSet.java:217)
      at org.hippoecm.repository.FacetedNavigationEngineImpl$SetDocIdSet.and(FacetedNavigationEngineImpl.java:879)
      at org.hippoecm.repository.FacetedNavigationEngineImpl$SetDocIdSet.access$600(FacetedNavigationEngineImpl.java:828)
      at org.hippoecm.repository.FacetedNavigationEngineImpl.filterDocIdSet(FacetedNavigationEngineImpl.java:805)
      at org.hippoecm.repository.FacetedNavigationEngineImpl.view(FacetedNavigationEngineImpl.java:388)
      at org.hippoecm.repository.FacetedNavigationEngineImpl.view(FacetedNavigationEngineImpl.java:94)
      at org.hippoecm.repository.jackrabbit.facetnavigation.FacetNavigationProvider.populate(FacetNavigationProvider.java:246)
      at org.hippoecm.repository.jackrabbit.HippoLocalItemStateManager.getItemState(HippoLocalItemStateManager.java:388)
      at org.hippoecm.repository.dataprovider.HippoVirtualProvider.getNodeState(HippoVirtualProvider.java:228)
      at org.hippoecm.repository.jackrabbit.FacetResultSetProvider.populate(FacetResultSetProvider.java:264)
      at org.hippoecm.repository.dataprovider.HippoNodeId.populate(HippoNodeId.java:85)
      at org.hippoecm.repository.jackrabbit.HippoLocalItemStateManager.getItemState(HippoLocalItemStateManager.java:352)
      at org.apache.jackrabbit.core.state.SessionItemStateManager.getItemState(SessionItemStateManager.java:161)
      at org.apache.jackrabbit.core.HierarchyManagerImpl.getItemState(HierarchyManagerImpl.java:152)
      at org.apache.jackrabbit.core.CachingHierarchyManager.nodeRemoved(CachingHierarchyManager.java:748)
      at org.apache.jackrabbit.core.CachingHierarchyManager.nodeRemoved(CachingHierarchyManager.java:472)

      • locked <0x00000005c6be1b78> (a java.lang.Object)
        at org.apache.jackrabbit.core.state.StateChangeDispatcher.notifyNodeRemoved(StateChangeDispatcher.java:191)
        at org.apache.jackrabbit.core.state.SessionItemStateManager.nodeRemoved(SessionItemStateManager.java:915)
        at org.apache.jackrabbit.core.state.StateChangeDispatcher.notifyNodeRemoved(StateChangeDispatcher.java:191)
        at org.apache.jackrabbit.core.state.LocalItemStateManager.nodeRemoved(LocalItemStateManager.java:606)
        at org.apache.jackrabbit.core.state.NodeState.notifyNodeRemoved(NodeState.java:906)
        at org.apache.jackrabbit.core.state.NodeState.removeChildNodeEntry(NodeState.java:443)
        at org.hippoecm.repository.jackrabbit.HippoLocalItemStateManager$FilteredChangeLog.invalidate(HippoLocalItemStateManager.java:673)
        at org.hippoecm.repository.jackrabbit.HippoLocalItemStateManager.update(HippoLocalItemStateManager.java:284)
        at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:373)
        at org.hippoecm.repository.jackrabbit.HippoLocalItemStateManager.update(HippoLocalItemStateManager.java:295)
        at org.hippoecm.repository.jackrabbit.HippoLocalItemStateManager.refresh(HippoLocalItemStateManager.java:316)
        at org.hippoecm.repository.jackrabbit.HippoSessionItemStateManager.disposeAllTransientItemStates(HippoSessionItemStateManager.java:86)
        at org.apache.jackrabbit.core.session.SessionRefreshOperation.perform(SessionRefreshOperation.java:66)
        at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:200)
        at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:359)
        at org.apache.jackrabbit.core.SessionImpl.refresh(SessionImpl.java:769)
        at org.hippoecm.repository.decorating.SessionDecorator.refresh(SessionDecorator.java:209)
        at sun.reflect.GeneratedMethodAccessor270.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.hippoecm.hst.core.jcr.pool.util.ProxyFactory$ReflectionInvocation.proceed(ProxyFactory.java:199)
        at org.hippoecm.hst.core.jcr.pool.PooledSessionDecoratorProxyFactoryImpl$PooledSessionInterceptor.intercept(PooledSessionDecoratorProxyFactoryImpl.java:125)
        at org.hippoecm.hst.core.jcr.pool.util.ProxyFactory$InterceptorInvocationHandler.invokeImpl(ProxyFactory.java:106)
        at org.hippoecm.hst.core.jcr.pool.util.ProxyFactory$AbstractInvocationHandler.invoke(ProxyFactory.java:126)
        at com.sun.proxy.$Proxy35.refresh(Unknown Source)
        at org.hippoecm.hst.core.jcr.pool.DefaultPooledSessionRefresher.refresh(DefaultPooledSessionRefresher.java:37)
        at org.hippoecm.hst.core.jcr.pool.BasicPoolingRepository$SessionFactory.passivateObject(BasicPoolingRepository.java:1112)
        at org.apache.commons.pool.impl.GenericObjectPool.addObjectToPool(GenericObjectPool.java:1379)
        at org.apache.commons.pool.impl.GenericObjectPool.returnObject(GenericObjectPool.java:1342)
        at org.hippoecm.hst.core.jcr.pool.BasicPoolingRepository.returnSession(BasicPoolingRepository.java:374)
        at org.hippoecm.hst.core.jcr.pool.PooledSessionDecoratorProxyFactoryImpl$PooledSessionInterceptor.intercept(PooledSessionDecoratorProxyFactoryImpl.java:117)
        at org.hippoecm.hst.core.jcr.pool.util.ProxyFactory$InterceptorInvocationHandler.invokeImpl(ProxyFactory.java:106)
        at org.hippoecm.hst.core.jcr.pool.util.ProxyFactory$AbstractInvocationHandler.invoke(ProxyFactory.java:126)
        at com.sun.proxy.$Proxy35.logout(Unknown Source)
        at org.hippoecm.hst.core.jcr.pool.PooledSessionResourceManagement.disposeAllResources(PooledSessionResourceManagement.java:94)
        at org.hippoecm.hst.core.jcr.pool.LazyMultipleRepositoryImpl$DelegatingResourceLifecycleManagements.disposeAllResources(LazyMultipleRepositoryImpl.java:323)
        at org.hippoecm.hst.core.container.CleanupValve.invoke(CleanupValve.java:45)
        at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:271)
        at org.hippoecm.hst.core.container.HstSitePipeline.invokeValves(HstSitePipeline.java:170)
        at org.hippoecm.hst.core.container.HstSitePipeline.cleanup(HstSitePipeline.java:165)
        at org.hippoecm.hst.core.container.HstRequestProcessorImpl.processRequest(HstRequestProcessorImpl.java:90)
        at org.hippoecm.hst.container.HstFilter.processResolvedSiteMapItem(HstFilter.java:851)
        at org.hippoecm.hst.container.HstFilter.doFilter(HstFilter.java:457)

      Attachments

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            bvdschans Bart van der Schans (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: