You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/06/05 06:28:00 UTC
[jira] [Resolved] (CAMEL-16668) camel-dozer has conflicting OSGi
javax.el bundles
[ https://issues.apache.org/jira/browse/CAMEL-16668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-16668.
---------------------------------
Resolution: Fixed
Thanks Julien, your 2nd suggestion was good and merged.
What JB is working on is something bigger and should IMHO be a new feature that karaf users can opt to use and the existing we have today as well. And then gradually people can move over to the new stuff.
> camel-dozer has conflicting OSGi javax.el bundles
> -------------------------------------------------
>
> Key: CAMEL-16668
> URL: https://issues.apache.org/jira/browse/CAMEL-16668
> Project: Camel
> Issue Type: Task
> Components: camel-dozer, karaf, osgi
> Affects Versions: 3.9.0, 3.10.0
> Reporter: Julien Greffe
> Assignee: Jean-Baptiste Onofré
> Priority: Minor
> Fix For: 3.11.0
>
>
> Hello,
> feature {{camel-dozer}} uses both these bundles:
> {code:java}
> <bundle dependency="true">mvn:javax.el/javax.el-api/3.0.0</bundle><bundle dependency="true">mvn:org.glassfish/javax.el/3.0.0</bundle>{code}
> These bundles both export same packages:
> {code:java}
> javax.el
> javax.el.* {code}
> And leads to {{javax.el-api}} restart whenever we start/stop the feature (and therefore can lead to many other features/bundles depending on this bundle/packages).
>
> One fix would be to override headers of glassfish so it exports only {{com.sun.el.*}} packages?
> {code:java}
> <bundle dependency='true'>wrap:mvn:org.glassfish/javax.el/3.0.0$overwrite=merge&Export-Package=com.sun.el;version=3.0.0,com.sun.el.*;version=3.0.0</bundle> {code}
> or the inverse, don't export javax.el.*
> {code:java}
> <bundle dependency='true'>wrap:mvn:org.glassfish/javax.el/3.0.0$overwrite=merge&Export-Package=!javax.el,!javax.el.*,*</bundle> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)