Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6600

Failed to resolve path under root context

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Outdated
    • Affects Version/s: 4.5.26
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Steps to reproduce:

      • deploy your public instance under root context
      • start it up and login to Public admincentral, you should see some 404 responses even at this point, or just proceed with http://localhost:8080/demo-project (reconfiguring the site definition doesn't help either).
      DEBUG info.magnolia.cms.filters.AggregatorFilter
      : Failed to resolve path  relative to node /
      javax.jcr.RepositoryException: Failed to resolve path  relative to node /
              at org.apache.jackrabbit.core.NodeImpl.resolveRelativePath(NodeImpl.java
      :239)
              at org.apache.jackrabbit.core.NodeImpl.access$100(NodeImpl.java:127)
              at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2145)
              at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2142)
              at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.
      java:216)
              at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
              at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2142)
              at info.magnolia.jcr.wrapper.DelegateNodeWrapper.getNode(DelegateNodeWra
      pper.java:197)
              at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.getNode(Cont
      entDecoratorNodeWrapper.java:124)
              at info.magnolia.jcr.wrapper.DelegateNodeWrapper.getNode(DelegateNodeWra
      pper.java:197)
              at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.getNode(Cont
      entDecoratorNodeWrapper.java:124)
              at info.magnolia.cms.core.DefaultContent.<init>(DefaultContent.java:113)
      
              at info.magnolia.cms.core.DefaultHierarchyManager.wrapAsContent(DefaultH
      ierarchyManager.java:231)
              at info.magnolia.cms.core.DefaultHierarchyManager.getContent(DefaultHier
      archyManager.java:223)
              at info.magnolia.cms.core.DefaultHierarchyManager.getNodeData(DefaultHie
      rarchyManager.java:277)
              at info.magnolia.cms.filters.AggregatorFilter.collect(AggregatorFilter.j
      ava:161)
              at info.magnolia.cms.filters.AggregatorFilter.doFilter(AggregatorFilter.
      java:75)
              at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFil
      ter.java:87)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFi
      lter.java:60)
              at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFil
      ter.java:87)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.cms.filters.RepositoryMappingFilter.doFilter(Repository
      MappingFilter.java:115)
              at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFil
      ter.java:87)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.ja
      va:67)
              at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFil
      ter.java:87)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:77)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:85)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:85)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:85)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:85)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:85)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:85)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:85)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:85)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:85)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:85)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:85)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:85)
              at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.ja
      va:67)
              at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFil
      ter.java:87)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.cms.filters.VirtualUriFilter.doFilter(VirtualUriFilter.
      java:70)
              at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFil
      ter.java:87)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.module.cache.executor.Bypass.processCacheRequest(Bypass
      .java:58)
              at info.magnolia.module.cache.executor.CompositeExecutor.processCacheReq
      uest(CompositeExecutor.java:66)
              at info.magnolia.module.cache.filter.CacheFilter.doFilter(CacheFilter.ja
      va:153)
              at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(O
      ncePerRequestAbstractMgnlFilter.java:61)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.cms.i18n.I18nContentSupportFilter.doFilter(I18nContentS
      upportFilter.java:76)
              at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFil
      ter.java:87)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.cms.filters.RangeSupportFilter.doFilter(RangeSupportFil
      ter.java:86)
              at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFil
      ter.java:87)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFi
      lter.java:60)
              at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFil
      ter.java:87)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.module.extendedtemplatingkit.filters.CrossSiteSecurityF
      ilter.doFilter(CrossSiteSecurityFilter.java:104)
              at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFil
      ter.java:87)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:85)
              at info.magnolia.cms.security.SecurityCallbackFilter.doFilter(SecurityCa
      llbackFilter.java:86)
              at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(O
      ncePerRequestAbstractMgnlFilter.java:61)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.cms.security.LogoutFilter.doFilter(LogoutFilter.java:93
      )
              at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(O
      ncePerRequestAbstractMgnlFilter.java:61)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.module.templatingkit.filters.SiteMergeFilter.doFilter(S
      iteMergeFilter.java:112)
              at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFil
      ter.java:87)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.module.extendedtemplatingkit.filters.MultiSiteFilter.do
      Filter(MultiSiteFilter.java:106)
              at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFil
      ter.java:87)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.cms.filters.MultiChannelFilter.doFilter(MultiChannelFil
      ter.java:84)
              at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFil
      ter.java:87)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.module.cache.filter.GZipFilter.doFilter(GZipFilter.java
      :73)
              at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(O
      ncePerRequestAbstractMgnlFilter.java:61)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:85)
              at info.magnolia.cms.security.auth.login.LoginFilter.doFilter(LoginFilte
      r.java:99)
              at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFil
      ter.java:87)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.enterprise.registration.RegistrationFilter.doFilter(Reg
      istrationFilter.java:52)
              at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFil
      ter.java:87)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:85)
              at info.magnolia.cms.filters.CosMultipartRequestFilter.doFilter(CosMulti
      partRequestFilter.java:91)
              at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(O
      ncePerRequestAbstractMgnlFilter.java:61)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.module.devicedetection.filter.DeviceDetectionFilter.doF
      ilter(DeviceDetectionFilter.java:71)
              at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(O
      ncePerRequestAbstractMgnlFilter.java:61)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.cms.filters.ContentTypeFilter.doFilter(ContentTypeFilte
      r.java:111)
              at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFil
      ter.java:87)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.cms.filters.ContextFilter.doFilter(ContextFilter.java:1
      32)
              at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFil
      ter.java:87)
              at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.ja
      va:83)
              at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.ja
      va:67)
              at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFil
      ter.java:87)
              at info.magnolia.cms.filters.SafeDestroyMgnlFilterWrapper.doFilter(SafeD
      estroyMgnlFilterWrapper.java:108)
              at info.magnolia.cms.filters.MgnlFilterDispatcher.doDispatch(MgnlFilterD
      ispatcher.java:67)
              at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java
      :108)
              at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java
      :94)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:235)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:233)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:191)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:127)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:102)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:109)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:298)
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :859)
              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
      ss(Http11Protocol.java:588)
              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48
      9)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: org.apache.jackrabbit.spi.commons.conversion.MalformedPathException:
      empty path
              at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathPar
      ser.java:212)
              at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathPar
      ser.java:122)
              at org.apache.jackrabbit.spi.commons.conversion.ParsingPathResolver.getQ
      Path(ParsingPathResolver.java:90)
              at org.apache.jackrabbit.spi.commons.conversion.CachingPathResolver.getQ
      Path(CachingPathResolver.java:98)
              at org.apache.jackrabbit.spi.commons.conversion.CachingPathResolver.getQ
      Path(CachingPathResolver.java:77)
              at org.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver.
      getQPath(DefaultNamePathResolver.java:82)
              at org.apache.jackrabbit.core.SessionImpl.getQPath(SessionImpl.java:648)
      
              at org.apache.jackrabbit.core.session.SessionContext.getQPath(SessionCon
      text.java:338)
              at org.apache.jackrabbit.core.NodeImpl.resolveRelativePath(NodeImpl.java
      :237)
              ... 120 more
      2016-03-14 12:11:39,859 DEBUG info.magnolia.cms.filters.AggregatorFilter
      : Resource not found, redirecting request for [/demo-project] to 404 URI
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                zdenekskodik Zdenek Skodik
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: