Hi Chris,

What does 'ls -c' on OSGi console reveals?


On Mon, Sep 1, 2014 at 5:07 PM, chris snow <chsnow...@gmail.com> wrote:

> Hi Sajith,
>
> Thanks for the response.
>
> I had started the OSGi console, and it looks like the only bundles
> that were not ACTIVE were fragments.  The ss output is below:
>
> id      State       Bundle
> 0       ACTIVE      org.eclipse.osgi_3.8.1.v20120830-144521
>                     Fragments=1
> 1       RESOLVED    org.wso2.carbon.framework.exporter_4.2.0
>                     Master=0
> 2       ACTIVE
> org.eclipse.equinox.simpleconfigurator_1.0.301.v20120828-033635
> 3       ACTIVE      XmlSchema_1.4.7.wso2v2
> 4       ACTIVE      abdera_1.0.0.wso2v3
> 5       ACTIVE      activemq_client_5.9.1_1.0.0
> 6       ACTIVE      ajaxtags_1.3.0.beta-rc7-wso2v1
> 7       ACTIVE      annogen_0.1.0.wso2v1
> 8       ACTIVE      ant_1.7.0.wso2v1
> 9       ACTIVE      antlr_3.2.0.wso2v1
> 10      ACTIVE      authenticator_0.7.0.wso2v1
> 11      ACTIVE      axiom_1.2.11.wso2v4
> 12      ACTIVE      axis2_1.6.1.wso2v10
> 13      ACTIVE      axis2-json_1.6.1.wso2v10
> 14      ACTIVE      axis2-transport-jms_1.1.0.wso2v9
> 15      ACTIVE      backport-util-concurrent_3.1.0.wso2v1
> 16      ACTIVE      commons-codec_1.4.0.wso2v1
> 17      ACTIVE      commons-collections_3.2.0.wso2v1
> 18      ACTIVE      commons-dbcp_1.4.0.wso2v1
> 19      ACTIVE      commons-fileupload_1.2.2.wso2v1
> 20      ACTIVE      commons-httpclient_3.1.0.wso2v2
> 21      ACTIVE      commons-io_2.0.0.wso2v2
> 22      ACTIVE      commons-lang_2.6.0.wso2v1
> 23      ACTIVE      commons-pool_1.5.6.wso2v1
> 24      ACTIVE      compass_2.0.1.wso2v2
> 25      ACTIVE      ehcache_1.5.0.wso2v3
> 26      ACTIVE      el-impl_2.2.0.wso2v1
> 27      ACTIVE      geronimo-saaj_1.3_spec_1.0.0.wso2v3
> 28      ACTIVE      geronimo_j2ee_management_1.1_spec_1.0.1_1.0.0
> 29      ACTIVE      h2-database-engine_1.2.140.wso2v3
> 30      ACTIVE      hawtbuf_1.9_1.0.0
> 31      ACTIVE      hazelcast_3.0.1.wso2v1
> 32      ACTIVE      httpcore_4.3.0.wso2v1
> 34      ACTIVE      javasysmon_0.3.3.wso2v1
> 35      ACTIVE      javax.cache.wso2_4.2.0
> 36      ACTIVE      javax.el_2.2.0.v201108011116
> 37      ACTIVE      javax.servlet_3.0.0.v201112011016
> 38      ACTIVE      javax.servlet.jsp_2.2.0.v201112011158
> 39      ACTIVE      jaxb_2.2.5.wso2v1
> 41      ACTIVE      jdbc-pool_7.0.34.wso2v1
> 42      ACTIVE      jettison_1.3.4.wso2v1
> 43      ACTIVE      jgroups_3.0.6.wso2v1
> 44      ACTIVE      jsr107cache_1.1.0.wso2v3
> 45      ACTIVE      jstl_1.2.1.wso2v2
> 47      ACTIVE      mysql_connector_java_5.1.29_1.0.0
> 48      ACTIVE      neethi_2.0.4.wso2v4
> 49      ACTIVE      opencsv_1.8.0.wso2v1
> 50      ACTIVE      opensaml2_2.4.1.wso2v1
> 51      ACTIVE      org.apache.felix.gogo.command_0.8.0.v201108120515
> 52      ACTIVE      org.apache.felix.gogo.runtime_0.8.0.v201108120515
> 53      ACTIVE      org.apache.felix.gogo.shell_0.8.0.v201110170705
> 54      ACTIVE      org.apache.jasper.glassfish_2.2.2.v201205150955
>                     Fragments=107
> 55      ACTIVE      org.apache.stratos.cep.extension_4.1.0_SNAPSHOT_1.0.0
> 56      ACTIVE      org.eclipse.core.contenttype_3.4.200.v20120523-2004
> 57      ACTIVE      org.eclipse.core.expressions_3.4.401.v20120627-124442
> 58      ACTIVE      org.eclipse.core.jobs_3.5.300.v20120622-204750
> 59      ACTIVE      org.eclipse.core.runtime_3.8.0.v20120521-2346
> 60      ACTIVE      org.eclipse.ecf_3.1.300.v20110531-2218
> 61      ACTIVE      org.eclipse.ecf.filetransfer_5.0.0.v20110531-2218
> 62      ACTIVE      org.eclipse.ecf.identity_3.1.100.v20110531-2218
> 63      ACTIVE
> org.eclipse.ecf.provider.filetransfer_3.2.0.v20110531-2218
> 64      ACTIVE
> org.eclipse.ecf.provider.filetransfer.httpclient_4.0.200.v20120319-0616
> 65      ACTIVE      org.eclipse.equinox.app_1.3.100.v20120522-1841
> 66      ACTIVE      org.eclipse.equinox.common_3.6.100.v20120522-1841
> 67      ACTIVE      org.eclipse.equinox.concurrent_1.0.300.v20120522-2049
> 68      ACTIVE      org.eclipse.equinox.console_1.0.0.v20120522-1841
> 69      ACTIVE      org.eclipse.equinox.ds_1.4.0.v20120522-1841
> 70      ACTIVE
> org.eclipse.equinox.frameworkadmin_2.0.100.v20120606-175127
> 71      ACTIVE
> org.eclipse.equinox.frameworkadmin.equinox_1.0.400.v20120428-0117
> 72      ACTIVE      org.eclipse.equinox.http.helper_1.1.0.wso2v1
> 73      ACTIVE      org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841
> 74      ACTIVE      org.eclipse.equinox.jsp.jasper_1.0.400.v20120522-2049
> 75      ACTIVE      org.eclipse.equinox.launcher_1.3.0.v20120522-1813
> 76      INSTALLED
> org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120522-1813
> 77      ACTIVE
> org.eclipse.equinox.p2.artifact.repository_1.1.100.v20110519
> 78      ACTIVE      org.eclipse.equinox.p2.console_1.0.300.v20110502-1955
> 79      ACTIVE      org.eclipse.equinox.p2.core_2.1.0.v20110502-1955
> 80      ACTIVE      org.eclipse.equinox.p2.director_2.1.0.v20110504-1715
> 81      ACTIVE      org.eclipse.equinox.p2.director.app_1.0.300.v20110505
> 82      ACTIVE
> org.eclipse.equinox.p2.directorywatcher_1.0.300.v20110502-1955
> 83      ACTIVE      org.eclipse.equinox.p2.engine_2.1.0.v20110511
> 84      ACTIVE
> org.eclipse.equinox.p2.extensionlocation_1.2.100.v20110510
> 85      ACTIVE
> org.eclipse.equinox.p2.garbagecollector_1.0.200.v20110510
> 86      ACTIVE
> org.eclipse.equinox.p2.jarprocessor_1.0.200.v20110502-1955
> 87      ACTIVE      org.eclipse.equinox.p2.metadata_2.1.0.v20110510
> 88      ACTIVE
> org.eclipse.equinox.p2.metadata.repository_1.2.0.v20110511-1359
> 89      ACTIVE      org.eclipse.equinox.p2.publisher_1.2.0.v20110511
> 90      ACTIVE
> org.eclipse.equinox.p2.publisher.eclipse_1.0.0.v20110511
> 91      ACTIVE      org.eclipse.equinox.p2.repository_2.1.0.v20110601
> 92      ACTIVE
> org.eclipse.equinox.p2.repository.tools_2.0.100.v20110512-1320
> 93      ACTIVE
> org.eclipse.equinox.p2.touchpoint.eclipse_2.1.0.v20110511-wso2v1
> 94      ACTIVE
> org.eclipse.equinox.p2.touchpoint.natives_1.0.300.v20110502-1955
> 95      ACTIVE
> org.eclipse.equinox.p2.transport.ecf_1.0.100.v20110902-0807
> 96      ACTIVE
> org.eclipse.equinox.p2.updatechecker_1.1.200.v20110502-1955
> 97      ACTIVE      org.eclipse.equinox.p2.updatesite_1.0.300.v20110510
> 98      ACTIVE      org.eclipse.equinox.preferences_3.5.0.v20120522-1841
> 99      ACTIVE      org.eclipse.equinox.registry_3.5.200.v20120522-1841
> 100     ACTIVE      org.eclipse.equinox.security_1.1.100.v20120522-1841
> 101     ACTIVE
> org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20110808-1657
> 102     ACTIVE      org.eclipse.equinox.util_1.0.400.v20120522-2049
> 103     ACTIVE      org.eclipse.osgi.services_3.3.100.v20120522-1822
> 104     ACTIVE      org.sat4j.core_2.3.0.v20110329
> 105     ACTIVE      org.sat4j.pb_2.3.0.v20110329
> 106     ACTIVE      org.wso2.carbon.addressing_4.2.0
> 107     RESOLVED    org.wso2.carbon.apache.jasper.fragment_4.2.0
>                     Master=54
> 108     ACTIVE      org.wso2.carbon.application.deployer_4.2.0
> 109     ACTIVE      org.wso2.carbon.authenticator.proxy_4.2.0
> 110     ACTIVE      org.wso2.carbon.authenticator.stub_4.2.0
> 111     ACTIVE      org.wso2.carbon.base_4.2.0
> 112     ACTIVE      org.wso2.carbon.cluster.mgt.core_4.2.0
> 113     ACTIVE      org.wso2.carbon.core_4.2.0
> 114     ACTIVE      org.wso2.carbon.core.bootup.validator_4.2.0
> 115     ACTIVE      org.wso2.carbon.core.common_4.2.0
> 116     ACTIVE      org.wso2.carbon.core.commons.stub_4.2.0
> 117     ACTIVE      org.wso2.carbon.core.services_4.2.0
> 118     ACTIVE      org.wso2.carbon.feature.mgt.core_4.2.0
> 119     ACTIVE      org.wso2.carbon.feature.mgt.services_4.2.0
> 120     ACTIVE      org.wso2.carbon.feature.mgt.stub_4.2.0
> 121     ACTIVE      org.wso2.carbon.feature.mgt.ui_4.2.0
> 122     ACTIVE      org.wso2.carbon.i18n_4.2.0
> 123     ACTIVE      org.wso2.carbon.jasper.patch_4.2.0
> 124     ACTIVE      org.wso2.carbon.logging_4.2.0
>                     Fragments=125
> 125     RESOLVED    org.wso2.carbon.logging.propfile_1.0.0
>                     Master=124
> 126     ACTIVE      org.wso2.carbon.ndatasource.common_4.2.0
> 127     ACTIVE      org.wso2.carbon.ndatasource.core_4.2.0
> 128     ACTIVE      org.wso2.carbon.ndatasource.rdbms_4.2.0
> 129     ACTIVE      org.wso2.carbon.osgi.security_4.2.0
> 130     ACTIVE      org.wso2.carbon.p2.touchpoint_4.2.0
> 131     ACTIVE      org.wso2.carbon.queuing_4.2.0
> 132     ACTIVE      org.wso2.carbon.registry.api_4.2.0
> 133     ACTIVE      org.wso2.carbon.registry.core_4.2.0
> 134     ACTIVE      org.wso2.carbon.registry.server_4.2.0
> 135     ACTIVE      org.wso2.carbon.roles.mgt_4.2.0
> 136     ACTIVE      org.wso2.carbon.roles.mgt.stub_4.2.0
> 137     ACTIVE      org.wso2.carbon.roles.mgt.ui_4.2.0
> 138     ACTIVE      org.wso2.carbon.securevault_4.2.0
> 139     ACTIVE      org.wso2.carbon.server.admin_4.2.0
> 140     ACTIVE      org.wso2.carbon.server.admin.common_4.2.0
> 141     ACTIVE      org.wso2.carbon.server.admin.stub_4.2.0
> 142     ACTIVE      org.wso2.carbon.server.admin.ui_4.2.0
> 143     ACTIVE      org.wso2.carbon.tomcat_4.2.0
> 144     ACTIVE      org.wso2.carbon.tomcat.ext_4.2.0
> 145     RESOLVED    org.wso2.carbon.tomcat.fragment.dummy_4.2.0
>                     Master=158
> 146     ACTIVE      org.wso2.carbon.tomcat.patch_4.2.0
> 148     ACTIVE      org.wso2.carbon.ui_4.2.0.stratos
> 149     ACTIVE      org.wso2.carbon.ui.menu.general_4.2.0
> 150     ACTIVE      org.wso2.carbon.user.api_4.2.0
> 151     ACTIVE      org.wso2.carbon.user.core_4.2.0
> 152     ACTIVE      org.wso2.carbon.utils_4.2.0
> 153     ACTIVE      org.wso2.securevault_1.0.0.wso2v2
> 154     ACTIVE      poi_3.9.0.wso2v1
>                     Fragments=155, 156
> 155     RESOLVED    poi-ooxml_3.9.0.wso2v1
>                     Master=154
> 156     RESOLVED    poi-scratchpad_3.9.0.wso2v1
>                     Master=154
> 157     ACTIVE      tiles-jsp_2.0.5.wso2v1
> 158     ACTIVE      tomcat_7.0.34.wso2v1
>                     Fragments=145
> 159     ACTIVE      tomcat-ha_7.0.34.wso2v1
> 160     ACTIVE      tribes_7.0.34.wso2v1
> 161     ACTIVE      woden_1.0.0.M8-wso2v1
> 162     ACTIVE      wsdl4j_1.6.2.wso2v4
> 163     ACTIVE      wss4j_1.5.11.wso2v6
> 164     ACTIVE      xmlbeans_2.3.0.wso2v1
>
> Any ideas?
>
> Many thanks,
>
> Chris
>
> On Mon, Sep 1, 2014 at 12:22 PM, Sajith Kariyawasam <saj...@wso2.com>
> wrote:
> > Hi Chris,
> >
> > You can start the server with -DosgiConsole to get the OSGi console, and
> > then you can check (osgi> ss [1] ) the bundles which are not activated
> >
> > [1]
> http://isurues.wordpress.com/2009/01/01/useful-equinox-osgi-commands/
> >
> > Thanks,
> > Sajith
> >
> >
> > On Mon, Sep 1, 2014 at 4:41 PM, chris snow <chsnow...@gmail.com> wrote:
> >>
> >> I have an issue where Stratos inside docker is not starting. It hangs
> at:
> >>
> >>  [2014-07-26 07:37:54,291]  INFO
> >> {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent}
> >>
> >> It was hanging in the same place a while back, but last time it
> >> miraculously fixed itself :)
> >>
> >> Is there an OSGi or some other configuration file that defines the
> >> components that are started at boot time so that I can put a debugger
> >> on them and work out what is hanging?
> >>
> >> Many thanks,
> >>
> >> Chris
> >
> >
> >
> >
> > --
> > --
> > Sajith Kariyawasam
> > Mobile: +94772269575
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Reply via email to