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