directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRAPI-273) api-ldap-net-mina bundle remains in STARTING mode
Date Tue, 08 Mar 2016 09:37:40 GMT

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

Emmanuel Lecharny commented on DIRAPI-273:
------------------------------------------

Thinking about the problem after a good night of sleep, all of this makes a lot of sense.
If we have a default starting for this plugin, it's perfectly logical that it remains in started
mode in Felix. I also see how it's bizarre to start it automatically in Eclipse, except that
it's convenient from a user POV. 

Starting the plugin explicitly, as Stefan did, seems quite reasonable. 

Thanks Stefan for the fix !

> api-ldap-net-mina bundle remains in STARTING mode
> -------------------------------------------------
>
>                 Key: DIRAPI-273
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-273
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 1.0.0-M33
>         Environment: Linux; Felix
>            Reporter: Ivo Leitão
>              Labels: Felix, OSGI
>
> After deploying the api-ldap-net-mina bundle in an OSGI environment (in my case the Felix
container) the bundle remains in STARTING mode til an explicit stop and start via a gogo shell
command or via Felix webconsole. I've found that removing Bundle-ActivationPolicy: lazy in
the MANIFEST.MF resolves this issues. From what I've investigated is not a good pratice to
use Bundle-ActivationPolicy at least in a Felix environment (I know that is more common in
Equinox). It's possibile to remove this without affecting other OSGI platforms.
> What I can say is that it does not work OOB with this directive.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message