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

double period '../webapps/magnolia/' in web.xml causes startup failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Critical
    • None
    • 2.0 Final
    • core
    • None
    • Windows 2000 Professional (all available updates applied)

    Description

      The 'webapps\magnolia\WEB-INF\web.xml' as currently provided for download contains a double period preceeding all relative path names, for example:

      <init-param>
      <param-name>magnolia.cache.startdir</param-name>
      <param-value>../webapps/magnolia/cache</param-value>
      </init-param>

      This produces the following error upon startup:

      log4j:ERROR Could not read configuration file [../webapps/magnolia/WEB-INF/config/log4j.properties].
      java.io.FileNotFoundException: ..\webapps\magnolia\WEB-INF\config\log4j.properties

      The resolution is simply to replace the double periods with a single period, for example search for '../webapps/magnolia' and replace with './webapps/magnolia' in the web.xml:

      <init-param>
      <param-name>magnolia.cache.startdir</param-name>
      <param-value>./webapps/magnolia/cache</param-value>
      </init-param>

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              scharles Sameer Charles
              madshad Andy
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD