| Summary: | Jetty-jsp 7.4.2 bundle has incorrect package exports | ||
|---|---|---|---|
| Product: | [RT] Jetty | Reporter: | Raman Gupta <rocketraman> |
| Component: | osgi | Assignee: | Jan Bartel <janb> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | eclipse, glyn.normington, janb, jetty-inbox |
| Version: | 7.5.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Raman Gupta
Updated version to 3.0.0.RELEASE which also has this issue. I have found this problem and it is also present in the latest 7.5.2 build as well. We have no control over the contents of the Jetty bundles as they are build by the Jetty team. I'm moving this issue to the Jetty team for them to resolve. By the looks of it I'm guessing they intend the exports to be provided by some other bundle but I'm not sure how. Hi Chris and Raman. In fact we don't use the jetty-jsp-2.1 jar at all in OSGi. Up to 7.5.1 it was meant to bridge the jasper-login with jetty-login but I enver managed to make it work in OSGi. In 7.5.2 its role outside of OSGi has been expanded to add the eclipse compiler plugin support for jasper due to a change in the glassfish jsp-impl code that was breaking JDK5 support. But here again in OSGi we are not using it: it will simply not work. Would it be possible to remove this bundle from your installations? Hi, Yes, that is easily removed. Is there any way to be sure which bundles we need to include and which we don't for OSGi Jetty. Chris. (In reply to comment #4) > Hi, > > Yes, that is easily removed. Is there any way to be sure which bundles we need > to include and which we don't for OSGi Jetty. > > Chris. Hum, at least for this case I need to simply make it clear that this jar is not an OSGi bundle. So I could simply remove the entire OSGi related info from the manifest. In general, jetty is really a la carte. There is p2 and the eclipse-features but they are not consumed by virgo. Then there is the docs that need to be updated. Let's keep this bug opened until I can answer this better. I guess I'm looking for a list of bundles that are required to complete the OSGi web container spec and then a list of bundles that provide extra, optional functionality. Since jetty-7.6.1, the jetty-jsp module is simply a maven convenience for declaring all jsp dependencies. So you can declare a dependency on org.eclipse.jetty.jetty-jsp in your pom and it will bring in via transitive dependencies all necessary jars like ecj compiler, jasper engine, jstl jars etc etc. It is not used in an osgi environment. Jan I'm closing this issue as the jetty-jsp jar is no longer needed in osgi (as per my comment 21-3-2012). Chris, I believe that the jetty-osgi-boot and jetty-osgi-boot-jsp bundles address the osgi webapp spec. If you need further info, can we discuss on jetty-dev list? thanks Jan |