Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-4167

Crowd standalone distribution incorrectly specifies context path in <Context> definition

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.8.2
    • 2.8
    • None
    • None

    Description

      In the Crowd standalone distribution, we have files like apache-tomcat/conf/Catalina/localhost/demo.xml which contain content like:

      <Context path="/demo" docBase="../../demo-webapp" />
      

      We also have a file like apache-tomcat/conf/Catalina/localhost/openidclient.xml which has

      <Context path="/demo" docBase="../../crowd-openidclient-webapp" />
      

      Notice the completely incorrect path="/demo" in the last example.. and yet it still works.

      That's because the path attribute

      must only be used when statically defining a Context in server.xml. In all other circumstances, the path will be inferred from the filenames used for either the .xml context file or the docBase.

      Attachments

        Issue Links

          Activity

            People

              ckrieger Caspar Krieger (Inactive)
              ckrieger Caspar Krieger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: