Try making those "ListenerManager-RequiredServices" Add that "ListenerManager-RequiredServices" OSGi header and declare the services in the respective bundles. Until those become available, ports will not be open.
On Mon, Apr 2, 2012 at 11:50 AM, Muhammed Shariq <[email protected]> wrote: > Hi, > > Since starting to write integration test for Manager I am facing an issue > in that, even though the server starts up and the ports are open some > bundles are not even activated. Initially the idea was that the ther server > getting started up before the relevant admin services gets deployed, so I > tried marking that service as an Axis2RequiredService, with this change the > server never starts up at all (presumably due to deadlock). Next I enabled > debug logs in tennat-mgt, billing, usage bundles and noticed that some > bundles only get activated after the server start up. However adding a 30 > sec sleep solves the issue, meaning within that interval all the bundles > get activated ... > > I tried many ways like figure out what causes this delay, but still > haven't managed to pinpoint which bundle+reference is causing the issue. > Any tips on sorting this issue out if highly appreciated. Some logs > extracted with some sysouts are as follows, > > > [2012-04-02 11:28:58,826] INFO > {org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent} - > Initialized Identity Persistence Store. > [2012-04-02 11:28:58,872] INFO > {org.wso2.carbon.core.transports.http.HttpsTransportListener} - HTTPS port > : 9443 > [2012-04-02 11:28:58,872] INFO > {org.wso2.carbon.core.transports.http.HttpTransportListener} - HTTP port > : 9763 > [2012-04-02 11:28:59,443] INFO > {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Started > Transport Listener Manager > [2012-04-02 11:28:59,443] INFO > {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Server > : WSO2 Stratos Manager-3.2.0 > [2012-04-02 11:28:59,444] INFO > {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - WSO2 > Carbon started in 33 sec > [2012-04-02 11:28:59,457] DEBUG > {org.wso2.carbon.tenant.activity.internal.TenantActivityServiceComponent} - > ******* Tenant Activity bundle is activated ******* > [2012-04-02 11:28:59,459] ERROR > {org.wso2.carbon.tenant.activity.ui.internal.TenantActivityUIServiceComponent} > - ******* Tenant Activity UI bundle is activated ******* > [2012-04-02 11:28:59,481] INFO > {org.wso2.carbon.tenant.dispatcher.internal.TenantDispatcherServiceComponent} > - Deployed __MultitenantDispatcherService > [2012-04-02 11:28:59,482] INFO > {org.wso2.carbon.tenant.dispatcher.internal.TenantDispatcherServiceComponent} > - Added multitenant dispatchers > [2012-04-02 11:29:00,301] DEBUG > {org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent} > - ******* Multitenancy Throttling Agent bundle is activated ******* > *[2012-04-02 11:29:00,636] INFO > {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - Mgt Console URL > : https://172.16.172.1:9443/carbon/* > [2012-04-02 11:29:00,649] WARN > {org.wso2.carbon.identity.authenticator.saml2.sso.ui.internal.SAML2SSOAuthenticatorUIDSComponent} > - Initialization failed for SSO Authenticator. Starting with the default > authenticator > [2012-04-02 11:29:00,677] DEBUG > {org.wso2.carbon.billing.mgt.internal.MultitenancyBillingServiceComponent} > - Receiving billingManager service > [2012-04-02 11:29:00,678] DEBUG > {org.wso2.carbon.billing.mgt.internal.MultitenancyBillingServiceComponent} > - Setting Tenant Usage Retriever service > [2012-04-02 11:29:00,720] DEBUG > {org.wso2.carbon.throttling.manager.internal.ThrottlingManagerServiceComponent} > - Setting MT billing info service > [2012-04-02 11:29:00,723] DEBUG > {org.wso2.carbon.throttling.manager.internal.ThrottlingManagerServiceComponent} > - Receiving billingManager service > [2012-04-02 11:29:00,729] DEBUG > {org.wso2.carbon.throttling.manager.internal.ThrottlingManagerServiceComponent} > - Setting Tenant Usage Retriever service > [2012-04-02 11:29:04,055] DEBUG > {org.wso2.carbon.throttling.manager.internal.ThrottlingManagerServiceComponent} > - Multitenancy Throttling Manager bundle is activated > [2012-04-02 11:29:04,106] DEBUG > {org.wso2.carbon.tenant.mgt.internal.TenantMgtServiceComponent} - > Receiving ConfigurationContext Service > *[2012-04-02 11:29:04,123] DEBUG > {org.wso2.carbon.tenant.mgt.internal.TenantMgtServiceComponent} - ******* > Governance Tenant Config bundle is activated ******* * > *[2012-04-02 11:29:04,123] DEBUG > {org.wso2.carbon.billing.mgt.internal.MultitenancyBillingServiceComponent} > - ******* Multitenancy Billing bundle is activated ******* * > *[2012-04-02 11:29:04,124] DEBUG > {org.wso2.carbon.usage.internal.UsageServiceComponent} - ******* Usage > bundle is activated ******* * > [2012-04-02 11:29:04,165] INFO > {org.wso2.carbon.usage.summary.generator.internal.UsageSummaryGeneratorServiceComponent} > - Stratos Usage Summary Generation Enabled. > > > -- > Thanks, > Shariq. > Phone: +94 777 202 225 > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * <http://www.apache.org/>** email: **[email protected]* <[email protected]>* cell: +94 77 3320919 blog: **http://blog.afkham.org* <http://blog.afkham.org>* twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
