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

ClasspathResourcesUtil errors on startup in Resin

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.0.1
    • 3.0 Final
    • core
    • None
    • Resin 3.0.22
      OSX 10.4.8

    Description

      When starting up Magnolia on OSX under Resin, every jar in the WEB-INF/lib directory produces an error like this (note the duplicated portion of the path at the front):

      WARN info.magnolia.cms.util.ClasspathResourcesUtil ClasspathResourcesUtil.java (collectFiles:135) 20.11.2006 19:09:57 missing file: /Users/kiwi/work/sites/magnolia/Users/kiwi/work/sites/magnolia/webapp/magnoliaPublic/WEB-INF/lib/activation-1.1.jar

      Looking at the source, "file:/" and "!/" are being checked for in ClasspathResourcesUtil specifically for Resin and then being stripped off. Changing line 87 of ClasspathResourcesUtil to strip off "file:" instead of "file:/" eliminated the errors.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                pbaerfuss Philipp Bärfuss
                mirandajones Miranda Jones
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD