https://issues.apache.org/bugzilla/show_bug.cgi?id=56937

            Bug ID: 56937
           Summary: Allow default context to be used when deployXML=false
                    and context.xml is in WAR
           Product: Tomcat 7
           Version: 7.0.50
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: owen.farr...@gmail.com

With the changes in r1545288, any application that comes packaged with a
context.xml deployment descriptor requires a context-specific deployment
descriptor be present. While I understand the desire to improve security, it
still seems practical to inherit the default context.

Most IDEs that integrate with Tomcat will automatically generate an empty
context.xml. Some applications (like Artifactory) come with a minimalist
version.

Is there any way to account for both scenarios? Maybe adding a new host
attribute that allows the default context to be used. Or maybe the HostConfig
implementation could be improved so that only security-specific elements are
accounted for.

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