Re: [Carbon-dev] All product integration tests are failing with - org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found
Hi, I remote-debugged carbon-core @org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.printInfo() : line 255 (after server prints : WSO2 Carbon started in 37 sec). At this point, the list of service components are as follows; Note component 20,25,26 are in *'Activating' *state. At this point I'm unable to access any admin-service wsdl from url. I further debugged carbon startup by adding a breakpoint @CarbonUIServiceComponent.activate(): line 151 (after server prints : Mgt Console URL : https://192.168.1.2:9443/carbon/). At this point, only core.ui.dscomponent (26) is activating and the rest are in Active state. But still I'm unable to access the wsdl, nor the mgt-console from url. After all break-points are passed I can access the wsdls and mgt-console as expected. Does this mean we cannot reproduce this issue by running a debug session on carbon startup? All Components: *IDStateComponent Name Located in bundle* 1 Registeredorg.eclipse.equinox.frameworkadmin.equinox org.eclipse.equinox.frameworkadmin.equinox(bid=53) 2 Active org.eclipse.equinox.p2.artifact.repository org.eclipse.equinox.p2.artifact.repository(bid=59) 3 Active org.eclipse.equinox.p2.core.eventbus org.eclipse.equinox.p2.core(bid=61) 4 Active org.eclipse.equinox.p2.di.agentProvider org.eclipse.equinox.p2.core(bid=61) 5 Registeredorg.eclipse.equinox.p2.director org.eclipse.equinox.p2.director(bid=62) 6 Active org.eclipse.equinox.p2.planner org.eclipse.equinox.p2.director(bid=62) 7 Active org.eclipse.equinox.p2.engine.registry org.eclipse.equinox.p2.engine(bid=65) 8 Active org.eclipse.equinox.p2.engine org.eclipse.equinox.p2.engine(bid=65) 9 Active org.eclipse.equinox.p2.garbagecollector org.eclipse.equinox.p2.garbagecollector(bid=67) 10Active org.eclipse.equinox.p2.metadata.repository org.eclipse.equinox.p2.metadata.repository(bid=70) 11Registeredorg.eclipse.equinox.p2.repository org.eclipse.equinox.p2.repository(bid=74) 12Registeredorg.eclipse.equinox.p2.updatechecker org.eclipse.equinox.p2.updatechecker(bid=78) 13Registered org.eclipse.equinox.simpleconfigurator.manipulator org.eclipse.equinox.simpleconfigurator.manipulator(bid=83) 14Active application.deployer.dscomponent org.wso2.carbon.application.deployer(bid=89) 15Active carbon.core.dscomponent org.wso2.carbon.core(bid=94) 16Active org.wso2.carbon.core.internal.ListenerManagerRetrieverServiceComponent org.wso2.carbon.core(bid=94) *17Activatingorg.wso2.carbon.core.internal.** StartupFinalizerServiceCompone**ntorg.wso2.carbon.core(bid=94)* 18Active org.wso2.stratos.permission.update.PermissionUpdateServiceComponent org.wso2.carbon.core(bid=94) 19RegisteredMIMEType2FileExtensionMap.component org.wso2.carbon.core(bid=94) *20Activatingcore.services.dscomponent org.wso2.carbon.core.services(**bid=97)* 21Active component.manager.core.service.comp org.wso2.carbon.feature.mgt.core(bid=98) 22Active registry.core.dscomponent org.wso2.carbon.registry.core(bid=106) 23Active org.wso2.carbon.registry.server org.wso2.carbon.registry.server(bid=107) 24Active secret.manager.initializer.component org.wso2.carbon.securevault(bid=111) *25Activatingserveradmin.service.component ** org.wso2.carbon.server.admin(**bid=112) 26Activatingcore.ui.dscomponent ** org.wso2.carbon.ui(bid=116)* 27Active org.wso2.carbon.user.core.listener org.wso2.carbon.user.core(bid=118) 28Active usermgt.component org.wso2.carbon.user.mgt(bid=119) Thanks, Dileepa On Tue, Dec 13, 2011 at 12:43 PM, Afkham Azeez wrote: > Try to start the server in standlone mode and see whether it starts up > successfully with all bundles in their proper states. > > On Tue, Dec 13, 2011 at 12:17 PM, Shelan Perera wrote: > >> >> Hi, >> >> Is there any product specific fixes needed to rectify this?. I am getting >> the similiar errors in DSS and while debugging core/integration in >> SeverUtils i saw that endpoint >> https://localhost:9443/services/AuthenticationAdmin?wsdl is not >> available even after the
Re: [Carbon-dev] All product integration tests are failing with - org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found
On Tue, Dec 13, 2011 at 12:43 PM, Afkham Azeez wrote: > Try to start the server in standlone mode and see whether it starts up > successfully with all bundles in their proper states. > Yes. standalone one starts up successfully.I can observe the same issue in IS even with the recent updates. Thanks. > > On Tue, Dec 13, 2011 at 12:17 PM, Shelan Perera wrote: > >> >> Hi, >> >> Is there any product specific fixes needed to rectify this?. I am getting >> the similiar errors in DSS and while debugging core/integration in >> SeverUtils i saw that endpoint >> https://localhost:9443/services/AuthenticationAdmin?wsdl is not >> available even after the message "Successfully started Carbon server. >> Returning". >> >> Thanks, >> Shelan >> >> >> On Mon, Dec 12, 2011 at 6:40 PM, Thilina Buddhika wrote: >> >>> Hi Azeez, >>> >>> I was able to get the IS built successfully in trunk with the >>> integration tests. [Please see the attached log] So it looks like this is >>> occurring only in certain environments. >>> >>> In the case of Identity Server, the eventing component is activated >>> after the startup finalizer printing the "WSO2 Carbon started in.. " >>> statement. But seems like it does not have any effect on the integration >>> tests. So we can leave it from the possible causes for this failure. >>> >>> Thanks, >>> Thilina >>> >>> >>> On Sun, Dec 11, 2011 at 1:21 PM, Afkham Azeez wrote: >>> This seems to be a bundle start order issue. When I run the IS integration tests in Maven debug mode, they pass. Let's compare the teminal outputs in the success & failure cases. In the failure case, the tests are sending the requests before the server has successfully started it seems. The IS components need to be checked. *Success case* *-* [2011-12-11 13:12:47,591] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - WSO2 Carbon started in 27 sec Successfully started Carbon server. Returning... [Broker] BRK-1006 : Using configuration : /Users/azeez/projects/wso2/org/trunk/carbon2/products/is/modules/integration/user-admin/target/carbontmp/wso2is-3.2.0-SNAPSHOT/repository/conf/advanced/qpid-config.xml [2011-12-11 13:12:51,549] INFO {qpid.message.broker.listening} - [Broker] BRK-1002 : Starting : Listening on TCP port 5672 [2011-12-11 13:12:51,552] INFO {qpid.message.broker.listening} - [Broker] BRK-1002 : Starting : Listening on TCP/SSL port 8672 [2011-12-11 13:12:51,555] INFO {org.wso2.carbon.qpid.internal.QpidServiceComponent} - Successfully connected to the server on port 5672 [2011-12-11 13:12:51,655] INFO {org.wso2.carbon.registry.eventing.internal.RegistryEventingServiceComponent} - Successfully Initialized Eventing on Registry [2011-12-11 13:12:51,662] ERROR {org.wso2.carbon.registry.eventing.internal.RegistryEventingServiceComponent} - Error Instantiating Registry Event Source [2011-12-11 13:12:51,707] INFO {org.wso2.carbon.event.core.internal.builder.EventBrokerHandler} - Successfully registered the event broker [2011-12-11 13:12:52,654] INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - Mgt Console URL : https://localhost:9443/carbon/ [2011-12-11 13:12:53,518] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'admin' logged in at [2011-12-11 13:12:53,0518] from IP address 10.216.202.231 [2011-12-11 13:12:55,481] INFO {org.wso2.carbon.integration.core.ServerLogin} - Successfully logged : JSESSIONID=EBD484EE71F0D8ECFF548CDCBA0E88F1; Path=/; Secure=null; HttpOnly=null Running User Admin Tests... [2011-12-11 13:12:55,520] INFO {org.wso2.carbon.integration.core.AuthenticateStub} - AuthenticateStub : Stub created with session JSESSIONID=EBD484EE71F0D8ECFF548CDCBA0E88F1; Path=/; Secure=null; HttpOnly=null User Admin Tests were successful... [2011-12-11 13:13:35,738] INFO {org.wso2.carbon.core.services.authentication.AuthenticationAdmin} - 'admin' logged out at [2011-12-11 13:13:35,0738] [2011-12-11 13:13:37,407] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'admin' logged in at [2011-12-11 13:13:37,0407] from IP address 10.216.202.231 [2011-12-11 13:13:38,070] INFO {org.wso2.carbon.integration.core.ServerLogin} - Successfully logged : JSESSIONID=EBDF7250EF5EBD0583C83EBB1DE7409E; Path=/; Secure=null; HttpOnly=null Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 87.084 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 *Failure Case* *---* * * 2011-12-11 13:15:14,956] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Started Transport Listener Manager [2011-12-11 13:15:14,957] INFO
Re: [Carbon-dev] All product integration tests are failing with - org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found
Try to start the server in standlone mode and see whether it starts up successfully with all bundles in their proper states. On Tue, Dec 13, 2011 at 12:17 PM, Shelan Perera wrote: > > Hi, > > Is there any product specific fixes needed to rectify this?. I am getting > the similiar errors in DSS and while debugging core/integration in > SeverUtils i saw that endpoint > https://localhost:9443/services/AuthenticationAdmin?wsdl is not available > even after the message "Successfully started Carbon server. Returning". > > Thanks, > Shelan > > > On Mon, Dec 12, 2011 at 6:40 PM, Thilina Buddhika wrote: > >> Hi Azeez, >> >> I was able to get the IS built successfully in trunk with the integration >> tests. [Please see the attached log] So it looks like this is occurring >> only in certain environments. >> >> In the case of Identity Server, the eventing component is activated after >> the startup finalizer printing the "WSO2 Carbon started in.. " statement. >> But seems like it does not have any effect on the integration tests. So we >> can leave it from the possible causes for this failure. >> >> Thanks, >> Thilina >> >> >> On Sun, Dec 11, 2011 at 1:21 PM, Afkham Azeez wrote: >> >>> This seems to be a bundle start order issue. When I run the IS >>> integration tests in Maven debug mode, they pass. Let's compare the teminal >>> outputs in the success & failure cases. In the failure case, the tests are >>> sending the requests before the server has successfully started it seems. >>> The IS components need to be checked. >>> >>> *Success case* >>> *-* >>> [2011-12-11 13:12:47,591] INFO >>> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - WSO2 >>> Carbon started in 27 sec >>> Successfully started Carbon server. Returning... >>> [Broker] BRK-1006 : Using configuration : >>> /Users/azeez/projects/wso2/org/trunk/carbon2/products/is/modules/integration/user-admin/target/carbontmp/wso2is-3.2.0-SNAPSHOT/repository/conf/advanced/qpid-config.xml >>> [2011-12-11 13:12:51,549] INFO {qpid.message.broker.listening} - >>> [Broker] BRK-1002 : Starting : Listening on TCP port 5672 >>> [2011-12-11 13:12:51,552] INFO {qpid.message.broker.listening} - >>> [Broker] BRK-1002 : Starting : Listening on TCP/SSL port 8672 >>> [2011-12-11 13:12:51,555] INFO >>> {org.wso2.carbon.qpid.internal.QpidServiceComponent} - Successfully >>> connected to the server on port 5672 >>> [2011-12-11 13:12:51,655] INFO >>> {org.wso2.carbon.registry.eventing.internal.RegistryEventingServiceComponent} >>> - Successfully Initialized Eventing on Registry >>> [2011-12-11 13:12:51,662] ERROR >>> {org.wso2.carbon.registry.eventing.internal.RegistryEventingServiceComponent} >>> - Error Instantiating Registry Event Source >>> [2011-12-11 13:12:51,707] INFO >>> {org.wso2.carbon.event.core.internal.builder.EventBrokerHandler} - >>> Successfully registered the event broker >>> [2011-12-11 13:12:52,654] INFO >>> {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - Mgt Console URL >>> : https://localhost:9443/carbon/ >>> [2011-12-11 13:12:53,518] INFO >>> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'admin' >>> logged in at [2011-12-11 13:12:53,0518] from IP address 10.216.202.231 >>> [2011-12-11 13:12:55,481] INFO >>> {org.wso2.carbon.integration.core.ServerLogin} - Successfully logged : >>> JSESSIONID=EBD484EE71F0D8ECFF548CDCBA0E88F1; Path=/; Secure=null; >>> HttpOnly=null >>> Running User Admin Tests... >>> [2011-12-11 13:12:55,520] INFO >>> {org.wso2.carbon.integration.core.AuthenticateStub} - AuthenticateStub : >>> Stub created with session JSESSIONID=EBD484EE71F0D8ECFF548CDCBA0E88F1; >>> Path=/; Secure=null; HttpOnly=null >>> User Admin Tests were successful... >>> [2011-12-11 13:13:35,738] INFO >>> {org.wso2.carbon.core.services.authentication.AuthenticationAdmin} - >>> 'admin' logged out at [2011-12-11 13:13:35,0738] >>> [2011-12-11 13:13:37,407] INFO >>> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'admin' >>> logged in at [2011-12-11 13:13:37,0407] from IP address 10.216.202.231 >>> [2011-12-11 13:13:38,070] INFO >>> {org.wso2.carbon.integration.core.ServerLogin} - Successfully logged : >>> JSESSIONID=EBDF7250EF5EBD0583C83EBB1DE7409E; Path=/; Secure=null; >>> HttpOnly=null >>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 87.084 >>> sec >>> >>> Results : >>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 >>> >>> *Failure Case* >>> *---* >>> * >>> * >>> 2011-12-11 13:15:14,956] INFO >>> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Started >>> Transport Listener Manager >>> [2011-12-11 13:15:14,957] INFO >>> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Server >>> : WSO2 Identity Server-3.2.0-SNAPSHOT >>> [2011-12-11 13:15:14,958] INFO >>> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - WSO2 >>> Carbon started in 26 sec >>> Successfully start
[Carbon-dev] All product integration tests are failing with - org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found
Hi, Is there any product specific fixes needed to rectify this?. I am getting the similiar errors in DSS and while debugging core/integration in SeverUtils i saw that endpoint https://localhost:9443/services/AuthenticationAdmin?wsdl is not available even after the message "Successfully started Carbon server. Returning". Thanks, Shelan On Mon, Dec 12, 2011 at 6:40 PM, Thilina Buddhika wrote: > Hi Azeez, > > I was able to get the IS built successfully in trunk with the integration > tests. [Please see the attached log] So it looks like this is occurring > only in certain environments. > > In the case of Identity Server, the eventing component is activated after > the startup finalizer printing the "WSO2 Carbon started in.. " statement. > But seems like it does not have any effect on the integration tests. So we > can leave it from the possible causes for this failure. > > Thanks, > Thilina > > > On Sun, Dec 11, 2011 at 1:21 PM, Afkham Azeez wrote: > >> This seems to be a bundle start order issue. When I run the IS >> integration tests in Maven debug mode, they pass. Let's compare the teminal >> outputs in the success & failure cases. In the failure case, the tests are >> sending the requests before the server has successfully started it seems. >> The IS components need to be checked. >> >> *Success case* >> *-* >> [2011-12-11 13:12:47,591] INFO >> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - WSO2 >> Carbon started in 27 sec >> Successfully started Carbon server. Returning... >> [Broker] BRK-1006 : Using configuration : >> /Users/azeez/projects/wso2/org/trunk/carbon2/products/is/modules/integration/user-admin/target/carbontmp/wso2is-3.2.0-SNAPSHOT/repository/conf/advanced/qpid-config.xml >> [2011-12-11 13:12:51,549] INFO {qpid.message.broker.listening} - >> [Broker] BRK-1002 : Starting : Listening on TCP port 5672 >> [2011-12-11 13:12:51,552] INFO {qpid.message.broker.listening} - >> [Broker] BRK-1002 : Starting : Listening on TCP/SSL port 8672 >> [2011-12-11 13:12:51,555] INFO >> {org.wso2.carbon.qpid.internal.QpidServiceComponent} - Successfully >> connected to the server on port 5672 >> [2011-12-11 13:12:51,655] INFO >> {org.wso2.carbon.registry.eventing.internal.RegistryEventingServiceComponent} >> - Successfully Initialized Eventing on Registry >> [2011-12-11 13:12:51,662] ERROR >> {org.wso2.carbon.registry.eventing.internal.RegistryEventingServiceComponent} >> - Error Instantiating Registry Event Source >> [2011-12-11 13:12:51,707] INFO >> {org.wso2.carbon.event.core.internal.builder.EventBrokerHandler} - >> Successfully registered the event broker >> [2011-12-11 13:12:52,654] INFO >> {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} - Mgt Console URL >> : https://localhost:9443/carbon/ >> [2011-12-11 13:12:53,518] INFO >> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'admin' >> logged in at [2011-12-11 13:12:53,0518] from IP address 10.216.202.231 >> [2011-12-11 13:12:55,481] INFO >> {org.wso2.carbon.integration.core.ServerLogin} - Successfully logged : >> JSESSIONID=EBD484EE71F0D8ECFF548CDCBA0E88F1; Path=/; Secure=null; >> HttpOnly=null >> Running User Admin Tests... >> [2011-12-11 13:12:55,520] INFO >> {org.wso2.carbon.integration.core.AuthenticateStub} - AuthenticateStub : >> Stub created with session JSESSIONID=EBD484EE71F0D8ECFF548CDCBA0E88F1; >> Path=/; Secure=null; HttpOnly=null >> User Admin Tests were successful... >> [2011-12-11 13:13:35,738] INFO >> {org.wso2.carbon.core.services.authentication.AuthenticationAdmin} - >> 'admin' logged out at [2011-12-11 13:13:35,0738] >> [2011-12-11 13:13:37,407] INFO >> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'admin' >> logged in at [2011-12-11 13:13:37,0407] from IP address 10.216.202.231 >> [2011-12-11 13:13:38,070] INFO >> {org.wso2.carbon.integration.core.ServerLogin} - Successfully logged : >> JSESSIONID=EBDF7250EF5EBD0583C83EBB1DE7409E; Path=/; Secure=null; >> HttpOnly=null >> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 87.084 sec >> >> Results : >> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 >> >> *Failure Case* >> *---* >> * >> * >> 2011-12-11 13:15:14,956] INFO >> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Started >> Transport Listener Manager >> [2011-12-11 13:15:14,957] INFO >> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Server >> : WSO2 Identity Server-3.2.0-SNAPSHOT >> [2011-12-11 13:15:14,958] INFO >> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - WSO2 >> Carbon started in 26 sec >> Successfully started Carbon server. Returning... >> [Broker] BRK-1006 : Using configuration : >> /Users/azeez/projects/wso2/org/trunk/carbon2/products/is/modules/integration/user-admin/target/carbontmp/wso2is-3.2.0-SNAPSHOT/repository/conf/advanced/qpid-config.xml >> [2011-12-11 13:15:17,760] INFO >> {org.apache.axis2.t