You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Ivo Leitão (JIRA)" <ji...@apache.org> on 2016/03/02 21:35:18 UTC

[jira] [Commented] (DIRAPI-273) api-ldap-net-mina bundle remains in STARTING mode

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

Ivo Leitão commented on DIRAPI-273:
-----------------------------------

I don't know if it helps or not but bellow you can find the list of bundles that I'm currently hosting in my felix environment

The bundle that was giving me problems is:

   36|Active     |    1|Apache Directory LDAP API Network MINA (1.0.0.M33)|1.0.0.M33

The complete list of bundles that I have in my system (excluding my own bundles, only external dependencies listed):

   ID|State      |Level|Name
    0|Active     |    0|System Bundle (5.4.0)|5.4.0
    1|Active     |    1|javax.annotation API (1.2.0)|1.2.0
    2|Active     |    1|Bean Validation API (1.1.0.Final)|1.1.0.Final
    3|Active     |    1|Apache ServiceMix :: Specs :: JSR-339 API 2.0 (2.4.0)|2.4.0
    4|Active     |    1|Guava: Google Core Libraries for Java (18.0.0)|18.0.0
    5|Active     |    1|Commons Lang (2.6.0)|2.6.0
    6|Active     |    1|Apache Commons Collections (3.2.2)|3.2.2
    7|Active     |    1|Commons IO (2.4.0)|2.4.0
    8|Active     |    1|Apache Commons FileUpload (1.3.1)|1.3.1
    9|Active     |    1|Commons Pool (1.6.0)|1.6.0
   10|Active     |    1|slf4j-api (1.7.16)|1.7.16
   11|Active     |    1|log4j-over-slf4j (1.7.16)|1.7.16
   12|Active     |    1|jcl-over-slf4j (1.7.16)|1.7.16
   13|Active     |    1|OSGi LogService implemented over SLF4J (1.7.16)|1.7.16
   14|Active     |    1|Apache Sling SLF4J Implementation (Logback) (4.0.6)|4.0.6
   15|Active     |    1|Apache Sling OSGi LogService Implementation (1.0.6)|1.0.6
   16|Active     |    1|ASM all classes with debug info (5.0.2)|5.0.2
   17|Active     |    1|JSON in Java (1.0.0.v20140107)|1.0.0.v20140107
   18|Active     |    1|Jackson-core (2.7.1)|2.7.1
   19|Active     |    1|jackson-databind (2.7.1)|2.7.1
   20|Active     |    1|Jackson-annotations (2.7.1)|2.7.1
   21|Active     |    1|Jackson-JAXRS-base (2.7.1)|2.7.1
   22|Active     |    1|Jackson-JAXRS-JSON (2.7.1)|2.7.1
   23|Active     |    1|Groovy Runtime (2.4.5)|2.4.5
   24|Active     |    1|Apache ServiceMix :: Bundles :: antlr (2.7.7.5)|2.7.7.5
   25|Active     |    1|Apache Directory LDAP API Client API (1.0.0.M33)|1.0.0.M33
   26|Active     |    1|Apache Directory LDAP API Utilities (1.0.0.M33)|1.0.0.M33
   27|Active     |    1|Apache Directory LDAP API Model (1.0.0.M33)|1.0.0.M33
   28|Active     |    1|Apache Directory LDAP API Extras ACI (1.0.0.M33)|1.0.0.M33
   29|Active     |    1|Apache Directory LDAP API Codec Core (1.0.0.M33)|1.0.0.M33
   30|Active     |    1|Apache Directory LDAP API Extras Codec API (1.0.0.M33)|1.0.0.M33
   31|Active     |    1|Apache Directory LDAP API Extras Codec (1.0.0.M33)|1.0.0.M33
   32|Active     |    1|Apache Directory LDAP API Schema Data (1.0.0.M33)|1.0.0.M33
   33|Active     |    1|Apache Directory LDAP API I18n (1.0.0.M33)|1.0.0.M33
   34|Active     |    1|Apache Directory API ASN.1 API (1.0.0.M33)|1.0.0.M33
   35|Active     |    1|Apache Directory API ASN.1 BER (1.0.0.M33)|1.0.0.M33
   36|Active     |    1|Apache Directory LDAP API Network MINA (1.0.0.M33)|1.0.0.M33
   37|Active     |    1|Apache MINA Core (2.0.10)|2.0.10
   38|Active     |    1|Jetty :: Continuation (9.2.14.v20151106)|9.2.14.v20151106
   39|Active     |    1|Apache Felix Metatype Service (1.1.2)|1.1.2
   40|Active     |    1|Apache Felix Declarative Services (2.0.2)|2.0.2
   41|Active     |    1|Apache Felix Inventory (1.0.4)|1.0.4
   42|Active     |    1|Apache Felix Gogo Shell (0.12.0)|0.12.0
   43|Active     |    1|Apache Felix Remote Shell (1.1.2)|1.1.2
   44|Active     |    1|Apache Felix Gogo Runtime (0.16.2)|0.16.2
   45|Active     |    1|Apache Felix Gogo Command (0.16.0)|0.16.0
   46|Active     |    1|Apache Felix EventAdmin (1.4.4)|1.4.4
   47|Active     |    1|Apache Felix Configuration Admin Service (1.8.8)|1.8.8
   48|Active     |    1|Apache Felix File Install (3.5.0)|3.5.0
   49|Active     |    1|Apache Felix Servlet API (1.1.2)|1.1.2
   50|Active     |    1|Apache Felix Http API (3.0.0)|3.0.0
   51|Active     |    1|Apache Felix Http Base (3.0.6)|3.0.6
   52|Active     |    1|Apache Felix Http Whiteboard (3.0.0)|3.0.0
   53|Active     |    1|Apache Felix Http Jetty (3.1.6)|3.1.6
   54|Active     |    1|Apache Felix Web Management Console (4.2.14)|4.2.14
   55|Active     |    1|Apache Felix Web Console Package Admin Service Plugin (1.0.2)|1.0.2
   56|Active     |    1|Apache Felix Web Console Event Plugin (1.1.4)|1.1.4
   57|Active     |    1|Apache Felix Web Console OBR Plugin (1.0.2)|1.0.2
   58|Active     |    1|Apache Felix Script Console Plugin (1.0.2)|1.0.2
   59|Active     |    1|Apache Felix Web Console Memory Usage Plugin (1.0.6)|1.0.6
   60|Active     |    1|Stax2 API (3.1.4)|3.1.4
   61|Active     |    1|Woodstox XML-processor (4.4.1)|4.4.1
   62|Active     |    1|Apache ServiceMix :: Bundles :: wsdl4j (1.6.3.1)|1.6.3.1
   63|Active     |    1|XmlSchema Core (2.2.1)|2.2.1
   64|Active     |    1|Apache Aries Util (1.0.0)|1.0.0
   65|Active     |    1|Apache Aries Proxy API (1.0.1)|1.0.1
   66|Active     |    1|Apache Aries Blueprint API (1.0.1)|1.0.1
   67|Active     |    1|Apache Aries Blueprint Core (1.4.2)|1.4.2
   68|Active     |    1|Apache CXF Core (3.1.5)|3.1.5
   69|Active     |    1|Apache CXF Runtime XML Binding (3.1.5)|3.1.5
   70|Active     |    1|Apache CXF Runtime SOAP Binding (3.1.5)|3.1.5
   71|Active     |    1|Apache CXF Runtime Core for WSDL (3.1.5)|3.1.5
   72|Active     |    1|Apache CXF JAX-RS Client (3.1.5)|3.1.5
   73|Active     |    1|Apache CXF JAX-RS Extensions: Providers (3.1.5)|3.1.5
   74|Active     |    1|Apache CXF JAX-RS Service Description (3.1.5)|3.1.5
   75|Active     |    1|Apache CXF Runtime Aegis Databinding (3.1.5)|3.1.5
   76|Active     |    1|Apache CXF Runtime JAXB DataBinding (3.1.5)|3.1.5
   77|Active     |    1|Apache CXF Runtime HTTP Transport (3.1.5)|3.1.5
   78|Active     |    1|Apache CXF Runtime Simple Frontend (3.1.5)|3.1.5
   79|Active     |    1|Apache CXF Runtime JAX-WS Frontend (3.1.5)|3.1.5
   80|Active     |    1|Apache CXF Runtime JAX-RS Frontend (3.1.5)|3.1.5
   81|Active     |    1|CXF dOSGi Required OSGi Compendium APIs (1.7.0)|1.7.0
   82|Active     |    1|CXF dOSGi Remote Service Admin Implementation (1.7.0)|1.7.0
   83|Active     |    1|CXF dOSGi Topology Manager (1.7.0)|1.7.0
   84|Active     |    1|CXF Local Discovery Service Bundle (1.7.0)|1.7.0

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