[
https://issues.apache.org/jira/browse/DIRAPI-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15183983#comment-15183983
]
Stefan Seelmann commented on DIRAPI-273:
----------------------------------------
Eclipse/Equinox doesn't start any bundle automatically. Only if
"Bundle-ActivationPolicy: lazy" (or the older "Eclipse-LazyStart: true")
Equinox starts them at all, and then also only if some class of that bundle is
loaded. Without the "Bundle-ActivationPolicy: lazy" we need to start the
bundles ourselves.
> 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)