Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 422176 - What is org.eclipse.birt.jetty.overlay for?
Summary: What is org.eclipse.birt.jetty.overlay for?
Status: RESOLVED DUPLICATE of bug 414179
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Birt-ReportViewer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-20 12:30 EST by Thomas Watson CLA
Modified: 2013-12-10 17:13 EST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Watson CLA 2013-11-20 12:30:00 EST
org.eclipse.birt.jetty.overlay is causing issues for resolving because of large number of conflicts with jetty packages from the org.eclipse.jetty.util bundle.  I'm not sure I understand why this bundle is needed or why it is a fragment to the system.bundle.
Comment 1 Thomas Watson CLA 2013-12-10 08:50:41 EST
Is this the right component for the org.eclipse.birt.jetty.overlay bundle?  If not please let me know where to direct my question.  We need to understand the reason for this bundle and if it is still required in luna.
Comment 2 Mickael Istria CLA 2013-12-10 09:09:34 EST
IMO, if this bundle prevents RCP applications from running correctly, it should be removed from the Luna release train until it plays nicely with others.
Comment 3 Thomas Watson CLA 2013-12-10 11:07:54 EST
Also see bug 421706 for the impact this bundle is having for the release train in luna.
Comment 4 Konstantin Komissarchik CLA 2013-12-10 11:52:08 EST
The impact is broader than what's described in Bug 421706. We (Oracle) recently had a customer support case where if our product (Oracle Enterprise Pack for Eclipse) is installed in conjunction with BIRT, most of OEPE functionality does not activate on startup. We traced this problem down a package import conflict stemming from a dependency on the Jetty bundle. The conflict only exists when BIRT is present. We were able to remove the dependency on Jetty from OEPE to workaround this problem. 

It looks like installing BIRT can break plugins that have a dependency on Jetty.
Comment 5 Joakim Erdfelt CLA 2013-12-10 15:18:22 EST
Regarding ...

"We traced this problem down a package import conflict stemming from a dependency on the Jetty bundle."

Has this bug been filed elsewhere? Maybe RT/Jetty?
Comment 6 Konstantin Komissarchik CLA 2013-12-10 15:42:55 EST
> "We traced this problem down a package import conflict stemming from a
> dependency on the Jetty bundle."
>
> Has this bug been filed elsewhere? Maybe RT/Jetty?

Even though the visible problem is in the dependency on a Jetty bundle, the problem only manifests when BIRT is installed. It sounds like this bug already tracks problems due to the overlay.
Comment 7 Thomas Watson CLA 2013-12-10 16:25:02 EST
(In reply to Joakim Erdfelt from comment #5)
> Regarding ...
> 
> "We traced this problem down a package import conflict stemming from a
> dependency on the Jetty bundle."
> 
> Has this bug been filed elsewhere? Maybe RT/Jetty?

It is not a jetty problem.  The issues around resolving the overlay bundle with other jetty bundles is handled under bug 421706.  But I will warn you that this problem is not easily solved at the RT/Equinox level because of the inherent class space issues the overlay bundle introduces which in many cases there will be no good solution to finding a consistent class space.  This is because the overlay bundle is a system bundle fragment.  Unfortunately the system bundle (org.eclipse.osgi) is reexported by org.eclipse.core.runtime which in turn is required by many bundles.  This fans out to a lot of bundles in the eclipse community.  What results is a pollution of the class spaces for all these bundles with jetty packages from the overlay bundle.  This results in class space inconsistencies which the framework is left to try and untangle.
Comment 8 Zhiqiang Qian CLA 2013-12-10 17:12:13 EST
Please see bugzilla 414179.
Comment 9 Zhiqiang Qian CLA 2013-12-10 17:13:12 EST
The fragment will be removed in next release.

*** This bug has been marked as a duplicate of bug 414179 ***