Uploaded image for project: 'OODT (Retired)'
  1. OODT (Retired)
  2. OODT-650

Remove duplicate context container from CAS-Product web application

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.7
    • 0.7
    • product server
    • Don't Know (Unsure) - The default level

    Description

      The CAS-Product web application has two examples of Tomcat context containers. The first example 'cas-product-tomcat-5.5.9.xml' is in src/main/resources, and the second example 'context.xml' is in src/main/webapp/META-INF.

      When building the webapp, both files are copied into the same META-INF directory in the target WAR. The context.xml file is copied by default and the cas-product-tomcat-5.5.9.xml file is copied by the following maven-war-plugin configuration in the POM:

      <containerConfigXML>
        src/main/resources/cas-product-tomcat-5.5.9.xml
      </containerConfigXML>
      

      So we end up with two almost identical context container files in META-INF:

      META-INF
      - cas-product-tomcat-5.5.9.xml
      - context.xml
      

      I was thinking that we could remove cas-product-tomcat-5.5.9.xml from src/main/resources and keep src/main/webapp/META-INF/context.xml.

      Attachments

        Activity

          People

            rlaidlaw Ross Laidlaw
            rlaidlaw Ross Laidlaw
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: