You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2015/10/15 17:02:05 UTC

[jira] [Comment Edited] (CXF-6347) CXF bundle activators not called in Eclipse/Equinox

    [ https://issues.apache.org/jira/browse/CXF-6347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14959025#comment-14959025 ] 

Sergey Beryozkin edited comment on CXF-6347 at 10/15/15 3:01 PM:
-----------------------------------------------------------------

So it is not called because "Bundle-ActivationPolicy: lazy" is missing ? Sorry, may be I missing something but that does not make sense, why do we need to set this property to 'lazy' for Equinox to call CXF activators ?


was (Author: sergey_beryozkin):
So it is not called because "Bundle-ActivationPolicy: lazy" is missing ? Sorry, may be I missing something but that does make sense, why do we need to set this property to 'lazy' for Equinox to call CXF activators ?

> 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)