Context path removal on server.xml is not reflected in confluence.cfg.xml

XMLWordPrintable

    • 2
    • Severity 3 - Minor
    • 0

      Summary

      When you remove an existing context path from server.xml, this change is not reflected in the property confluence.webapp.context.path of the file confluence.cfg.xml.

      Steps to Reproduce

      1. Install Confluence
      2. Add a context path to server.xml as follows:
        <Context path="/confluence" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true">
        
      3. Save the file and restart Confluence
      4. This change is reflected in confluence.cfg.xml:
        <property name="confluence.webapp.context.path">/confluence</property>
        
      5. Stop Confluence
      6. Remove the path from server.xml
      7. Start Confluence

      Expected Results

      The path is removed from the file confluence.cfg.xml as it is no longer present in server.xml:

      <property name="confluence.webapp.context.path"></property>
      

      Actual Results

      The path is still present in confluence.cfg.xml:

      <property name="confluence.webapp.context.path">/confluence</property>
      

      Notes

      No side effect of this bug can be noticed in the instance besides the discrepancy between the files.

      Workaround

      Manually remove the path from confluence.cfg.xml and restart Confluence.

            Assignee:
            Unassigned
            Reporter:
            Bernardo Andreeti
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: