| Summary: | BIRT doesn't find Java event handlers | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | CF <oneskiingfool> |
| Component: | BIRT | Assignee: | Birt-ReportEngine-inbox <Birt-ReportEngine-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | blocker | ||
| Priority: | P3 | ||
| Version: | 2.2.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
CF
do you set the appclassloader of the report engine? it is set in the appContext through EngineConstants.APPCONTEXT_CLASSLOADER_KEY. It should be the web app class loader in your case. No, I hadn't done that, so I tried it and it worked! Sorry for the false alarm. It used to work without doing this in previous versions. engine.getConfig().getAppContext().put(EngineConstants.APPCONTEXT_CLASSLOADER_KEY, ReportEngine.class.getClassLoader()) Thanks for the quick response. (In reply to comment #1) > do you set the appclassloader of the report engine? it is set in the appContext > through EngineConstants.APPCONTEXT_CLASSLOADER_KEY. It should be the web app > class loader in your case. > |