[MAGNOLIA-1226] ClasspathResourcesUtil errors on startup in Resin Created: 21/Nov/06  Updated: 23/Jan/13  Resolved: 28/Nov/06

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 3.0 Final
Fix Version/s: 3.0.1

Type: Bug Priority: Minor
Reporter: Miranda Jones Assignee: Philipp Bärfuss
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Resin 3.0.22
OSX 10.4.8


Issue Links:
dependency
is depended upon by MAGNOLIA-958 Magnolia 3.0 RC2 does not deploy prop... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 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.



 Comments   
Comment by Magnolia International [ 28/Nov/06 ]

fixed in svn, thanks (see commits for related issue)

Generated at Mon Feb 12 03:24:52 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.