| Anonymous | Login | Signup for a new account | 10-28-2025 18:10 PDT |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0005243 | [Resin] | minor | always | 10-10-12 15:22 | 01-09-13 11:44 | ||||
| Reporter | cowan | View Status | public | ||||||
| Assigned To | ferg | ||||||||
| Priority | high | Resolution | fixed | ||||||
| Status | closed | Product Version | 4.0.32 | ||||||
| Summary | 0005243: TLD not loaded when compiling jsp in case of using custom class loader. | ||||||||
| Description |
When setting custom ClassLoader to the ContextClassLoader of currentThread in filter, It seems that Resin cannot resolve tld file contained in "WEB-INF/lib" of a jar file and causes jsp compile error. I think Resin should consider the case that parent ClassLoader is DynamicClassLoader in the process of "com.caucho.jsp.TldManager#getClassPath(ClassLoader loader)" The current code {{{ private ArrayList<Path> getClassPath(ClassLoader loader) { String classpath = null; if (loader instanceof DynamicClassLoader) classpath = ((DynamicClassLoader) loader).getClassPath(); else classpath = CauchoSystem.getClassPath(); return getClassPath(classpath); } }}} might be {{{ private ArrayList<Path> getClassPath(ClassLoader loader) { if (loader instanceof DynamicClassLoader) return getClassPath(((DynamicClassLoader) loader).getClassPath()); else if(loader.getParent() == null) return getClassPath(CauchoSystem.getClassPath()); return getClassPath(loader.getParent()); } }}} |
||||||||
| Additional Information | Rep by S. Nobuaki | ||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |