https://bz.apache.org/bugzilla/show_bug.cgi?id=63872

            Bug ID: 63872
           Summary: ContextConfig -> Invalid docBase if the exploded war
                    is a sym-link
           Product: Tomcat 8
           Version: 8.5.35
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: kilian.fel...@nextstride.com
  Target Milestone: ----

The sym-link was working until version 8.5.34, but since 8.5.35 and higher it
does not work anymore.

This problem has been reported in Bug #60022 and should be fixed!

Somewhere I found a link where this problem has been discussed again ->
http://tomcat.10.x6.nabble.com/Followup2-Changed-behaviour-of-Tomcat-Deployment-Context-Lifecycle-Manager-concerning-symbolic-links-td5083666.html

The cause is located within the ContextConfig class.

diff ContextConfig.java-8.5.34 ContextConfig.java-8.5.35
:
582c586
<             docBase = (new File(appBase, docBase)).getPath();
---
>             docBase = (new File(appBase, docBase)).getCanonicalPath();

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to