Bug 314373 - setContextClassLoader() and WebSphere deployment
Summary: setContextClassLoader() and WebSphere deployment
Status: RESOLVED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.5.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Birt-ReportEngine-inbox@eclipse.org CLA
QA Contact: Xiaoying Gu CLA
URL:
Whiteboard: Obsolete
Keywords: core
: 328025 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-25 18:27 EDT by Jim Garrison CLA
Modified: 2010-11-17 03:26 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Garrison CLA 2010-05-25 18:27:48 EDT
Build Identifier: BIRT 2.5.2

We are trying to deploy the Web Viewer in a highly security-restricted WebSphere environment that does not allow setContextClassLoader(). Since setContextClassLoader() is called in a number of places within BIRT, we are effectively prevented from using BIRT in WebSphere.

A quick scan of the source reveals 27 references in 12 classes scattered about the following packages

* org.eclipse.birt.core
* org.eclipse.birt.report.engine
* org.eclipse.birt.report.viewer

as well as some in UI components, which aren't a conflict for us.

I posted the above as a question on the Community Forums site (http://www.eclipse.org/forums/index.php?t=msg&th=168802&start=0&) and was asked to submit a bug, so here it is.

Reproducible: Always
Comment 1 Jim Garrison CLA 2010-05-25 18:30:03 EDT
Set version, added keywords
Comment 2 Wei Yan CLA 2010-05-25 22:20:29 EDT
BIRT must invoke the setContextClassLoader to set the class loader as BIRT is running in the OSGi framework.
Comment 3 Jim Garrison CLA 2010-05-26 15:40:34 EDT
@wei yan: I'm not sure I understand.  Are you saying that all of OSGi and BIRT are fundamentally incompatible with a high-security container that disallows setContextClassLoader()?
Comment 4 Wei Yan CLA 2010-05-26 20:18:25 EDT
Correct.
Comment 5 Jun Ouyang CLA 2010-08-19 04:23:58 EDT
See comment 2.
Comment 6 Xiaoying Gu CLA 2010-11-17 03:26:35 EST
*** Bug 328025 has been marked as a duplicate of this bug. ***