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

On Windows, with relevance, Tomcat WARNINGs in Experience Manager

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • 14.6.3, 14.7.5
    • None
    • None
    • Flagged
    • Orion
    • BrXM Backlog

    Description

      Set up

      • Windows machine
      • 14.7.5 project 
      • Relevance module and a standard component (i.e. Banner)

      Dropping or opening a component in the Experience Manager leads to three WARNING loggings:

      WARNING [http-nio-8080-exec-4] org.apache.catalina.webresources.AbstractFileResourceSet.logIgnoredSymlink Resource for web application [/cms] at path [/_rp/1b6009d4-ccb6-4412-a009-136d3e1d5982./index.html] was not loaded as the canonical path [/_rp/1b6009d4-ccb6-4412-a009-136d3e1d5982/index.html] did not match. Use of symlinks is one possible cause.
      WARNING [http-nio-8080-exec-4] org.apache.catalina.webresources.AbstractFileResourceSet.logIgnoredSymlink Resource for web application [/cms] at path [/_rp/1b6009d4-ccb6-4412-a009-136d3e1d5982./index.htm] was not loaded as the canonical path [/_rp/1b6009d4-ccb6-4412-a009-136d3e1d5982/index.htm] did not match. Use of symlinks is one possible cause.
      WARNING [http-nio-8080-exec-4] org.apache.catalina.webresources.AbstractFileResourceSet.logIgnoredSymlink Resource for web application [/cms] at path [/_rp/1b6009d4-ccb6-4412-a009-136d3e1d5982./index.jsp] was not loaded as the canonical path [/_rp/1b6009d4-ccb6-4412-a009-136d3e1d5982/index.jsp] did not match. Use of symlinks is one possible cause. 
      

      Analysis

      • There's a call from UI ending with "./" to get component variants: /_rp/<uuid>./ where <uuid> is the uuid of the component
      • In our XM Angular code base, "./" is added in HstService._createApiUrl
      • Tomcat 9.0.54 sees the call as directory endpoint and tries the <welcome-file-list> entries to process it, logs warnings

      Note
      This does not happen on 14.4.0 where Tomcat version is 9.0.37
      Tomcat change: https://www.mail-archive.com/dev@tomcat.apache.org/msg153659.html

      Attachments

        Activity

          People

            orion-team Orion Team
            jhoffman Jeroen Hoffman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: