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

            Bug ID: 62172
           Summary: org.apache.catalina.startup.Constants specifies an
                    absolute path for web.xml
           Product: Tomcat 8
           Version: 8.5.x-trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: alexand...@gmx.net
  Target Milestone: ----

The value of org.apache.catalina.startup.Constants.ApplicationWebXml is
"/WEB-INF/web.xml".

This is an absolute path. Consequently at least the Java NIO API resolves it to
the absolute path /WEB-INF/web.xml. The same holds for the WarTracker constant.

All other constants in the class are specify relative paths:

ApplicationContextXml = "META-INF/context.xml"
ApplicationWebXml     = "/WEB-INF/web.xml"
DefaultContextXml     = "conf/context.xml"
DefaultWebXml         = "conf/web.xml"
HostContextXml        = "context.xml.default"
HostWebXml            = "web.xml.default"
WarTracker            = "/META-INF/war-tracker"

-- 
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