[
https://issues.apache.org/jira/browse/CXF-6347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14959102#comment-14959102
]
Sergey Beryozkin commented on CXF-6347:
---------------------------------------
Ok, if 'Bundle-ActivationPolicy: lazy' is not set, what does it mean to Equinox
? Do not call activators at all ? I'm def not an OSGI expert but it appears to
be nether standard not correct... And this is why I also asked, what if we do
set this headers and then Karaf will start honouring it and not calling CXF
activators when CXF bundles are loaded - while we do want them be called when
they are loaded
> CXF bundle activators not called in Eclipse/Equinox
> ---------------------------------------------------
>
> Key: CXF-6347
> URL: https://issues.apache.org/jira/browse/CXF-6347
> Project: CXF
> Issue Type: Bug
> Components: OSGi
> Affects Versions: 3.0.4
> Environment: Eclipse 4.4
> Reporter: Thorsten Meinl
>
> The CXF bundles have OSGi activators that perform initialization stuff such
> as looking for CXF services in other bundles. However, in Equinox the bundle
> activators are not called unless one explicitly starts the bundles. The
> default strategy in Equinox is not to start bundles, unless the
> "Bundle-ActivationPolicy" is set to "lazy". Therefore this header should be
> added to all bundles so that CXF (esp. the client) is also usable inside an
> Eclipse application.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)