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 <[email protected]> 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 <[email protected]> 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.transport.http.HTTPSender} - Unable to sendViaPost to >> url[https://localhost:9443/services/AuthenticationAdmin] >> org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found >> at >> org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:308) >> >> >> On Sun, Dec 11, 2011 at 12:10 PM, Afkham Azeez <[email protected]> wrote: >> >>> Many people have faced this issue, and there is no resolution. See >>> https://issues.apache.org/jira/browse/AXIS2-4807 >>> >>> http://stackoverflow.com/questions/4456342/axis2-always-getting-404-errors >>> >>> http://stackoverflow.com/questions/5896480/getting-org-apache-axis2-axisfault-transport-error-404-error-not-found-everyi >>> >>> All errors are similar to the following: >>> >>> [2011-12-11 11:51:04,314] ERROR {UserAdminTest} - Error in running >>> integration tests over user admin service... >>> org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found >>> at >>> org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:308) >>> at >>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:194) >>> at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75) >>> at >>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:450) >>> at >>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:277) >>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443) >>> at >>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406) >>> at >>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) >>> at >>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) >>> at >>> org.wso2.carbon.user.mgt.stub.UserAdminStub.addUser(UserAdminStub.java:1298) >>> at UserAdminTest.addUser(UserAdminTest.java:135) >>> >>> >>> -- >>> *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* >>> >>> >> >> >> -- >> *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* >> >> > > > -- > Thilina Buddhika > Associate Technical Lead > WSO2 Inc. ; http://wso2.com > lean . enterprise . middleware > > phone : +94 77 44 88 727 > blog : http://blog.thilinamb.com >
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
