[MAGNOLIA-1268] Spaces in installation path make init fail with tomcat 5.5 Created: 13/Dec/06 Updated: 23/Jan/13 Resolved: 13/Dec/06 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | 3.0.1 |
| Fix Version/s: | 3.0.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Magnolia International | Assignee: | Magnolia International |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| 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
|
||||||||
| Description |
|
From Cristina Belderrain Which version of Magnolia: 3.0.1 CE The space character was replaced by %20 in the logs... This gave me the first hint to what could be happening. Hope this helps, Cristina Here's an interesting bit of logs: |
| Comments |
| Comment by Magnolia International [ 13/Dec/06 ] |
|
This issue was first described and fixed in |
| Comment by Magnolia International [ 13/Dec/06 ] |
|
Note that this specific issue is related to URLClassLoader returning encoded URLs, and URL.getFile() not decoding the paths. So we do the decoding manually. Tomcat 5.5 and Tomcat 5.0 both use a org.apache.catalina.loader.WebappClassLoader which is subclass of java.net.URLClassLoader, so I can only assume the implementation of the former somehow changed between those versions. See |