Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-2170

Webapp should be markable as read-only

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: 3.5.8
    • Fix Version/s: None
    • Component/s: build, core
    • Labels:

      Description

      Ideally, it would be possible to make the servlet container read-only, storing the repository and template files (and any other writable files) outside the app directory. This would allow for "instant upgrades" by just dropping in a new WAR file. Today, I think, Magnolia really violates the principles of a WAR file, which is that it should be self-contained and not writable.

      I attempted to remove all writable/changable files and directories to outside the directory, and then marked the app directory read-only to diagnose problem areas. In Tomcat, it is possible to configure the magnolia.properties file location outside the app directory (and by changing that version of magnolia.properties, you can move the repository directory) out of the servlet container. However, you cannot relocate template files outside the app. In addition, the installation process makes changes to the contents of the app directory; kind of annoying.

      Would be used by many, I suspect.

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                gjoseph Magnolia International
                Reporter:
                greening Dan Greening
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Date of First Response:

                    Checklists

                    DoD