Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev]CheckIn: Fix Bugzilla Bug --- 123705 ClassCastException when trying to cast IReportContext.getHttpServletRequest() to HttpServletRequest

Title: [birt-dev]CheckIn: Fix Bugzilla Bug --- 123705 ClassCastException when trying to cast IReportContext.getHttpServletRequest() to HttpServletRequest

- Summary:

- Bugzilla Bug (s) Resolved:
123705 ClassCastException when trying to cast IReportContext.getHttpServletRequest() to HttpServletRequest
- Description:

        BIRT supports user uses its own classes in the script (java event handler). The classes are loaded by BIRT in following sequence:

        1. system class loader
        2. user defined app classloader (set in the app context, it is the WebApploader in web-viewer)
        3. JARs defined in the system properties (scritpt lib in WebViewer)

        4. JARs defined in the report design

        so, the classes defined in the later loaders can use the classes defined in the early loader. The parent relation ship are:

        system class loader is the root loader
        app class loader is the parent of property loader
        property loader is the parent of design loader.

- Tests Description  :
        Manul Test

- Notes to Build Team:

- Notes to Developers:

- Notes to QA:  

 
- Notes to Documentation:  

- Files Edited:
cvs ci -m "fix the bug in app classloader" -l "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java"


- Files Added:

- Files Deleted


-Wei Yan



Back to the top