| Summary: | ClassLoader.getResourceAsStream() fails on the server | ||
|---|---|---|---|
| Product: | [RT] Riena | Reporter: | Stefan Liebig <Stefan.Liebig> |
| Component: | communication | Assignee: | Stefan Liebig <Stefan.Liebig> |
| Status: | CLOSED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | christian.campo |
| Version: | 2.1.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 284564 | ||
|
Description
Stefan Liebig
This behavior is related to the changes introduced with bug #284564. The context class cloader that is set in the RienaHessianDispatchServlet now uses the original context class loader as a parent which resolves the resource loading. TCCL causes problems wit log4j: http://articles.qos.ch/classloader.html The usage of the TCCL within the RienaHessianDispatchServlet has been removed, because it causes problems with log4j (see comment #3). As a result, the server side still requires buddy class loading (see related bug #284564). |