Seems it failed to invoke the Authentication admin service. It tries to login as admin user and make sure the server is ready for further testing. Please make sure the server is started without any error by starting the server manually. and also check the automation.xml file under test resources directory to see the configurations
Thanks, Nuwanw On Tue, Jun 24, 2014 at 12:35 PM, Irshad Hassan <[email protected]> wrote: > Hi All, > I'm trying build the integration-base on the esb connector.while building > i got the following exception. I have placed the esb zip file in the > modules/distribution/target/ > directory. > > [2014-06-24 12:02:28,781] INFO > {org.wso2.carbon.automation.core.utils.ClientConnectionUtil} - Waiting to > login to Carbon server... > [2014-06-24 12:02:28,784] INFO > {org.wso2.carbon.automation.core.utils.ClientConnectionUtil} - > Successfully connected to the server on port 9443 > [2014-06-24 12:04:01,124] INFO > {org.apache.commons.httpclient.HttpMethodDirector} - I/O exception > (org.apache.axis2.AxisFault) caught when processing request: Read timed out > [2014-06-24 12:04:01,124] INFO > {org.apache.commons.httpclient.HttpMethodDirector} - I/O exception > (org.apache.axis2.AxisFault) caught when processing request: Read timed out > [2014-06-24 12:04:01,125] INFO > {org.apache.commons.httpclient.HttpMethodDirector} - Retrying request > [2014-06-24 12:04:01,125] INFO > {org.apache.commons.httpclient.HttpMethodDirector} - Retrying request > [2014-06-24 12:05:31,186] INFO > {org.apache.commons.httpclient.HttpMethodDirector} - I/O exception > (org.apache.axis2.AxisFault) caught when processing request: Read timed out > [2014-06-24 12:05:31,186] INFO > {org.apache.commons.httpclient.HttpMethodDirector} - I/O exception > (org.apache.axis2.AxisFault) caught when processing request: Read timed out > [2014-06-24 12:05:31,187] INFO > {org.apache.commons.httpclient.HttpMethodDirector} - Retrying request > [2014-06-24 12:05:31,187] INFO > {org.apache.commons.httpclient.HttpMethodDirector} - Retrying request > [2014-06-24 12:07:01,241] INFO > {org.apache.commons.httpclient.HttpMethodDirector} - I/O exception > (org.apache.axis2.AxisFault) caught when processing request: Read timed out > [2014-06-24 12:07:01,241] INFO > {org.apache.commons.httpclient.HttpMethodDirector} - I/O exception > (org.apache.axis2.AxisFault) caught when processing request: Read timed out > [2014-06-24 12:07:01,242] INFO > {org.apache.commons.httpclient.HttpMethodDirector} - Retrying request > [2014-06-24 12:07:01,242] INFO > {org.apache.commons.httpclient.HttpMethodDirector} - Retrying request > org.apache.maven.surefire.util.SurefireReflectionException: > java.lang.reflect.InvocationTargetException; nested exception is > java.lang.reflect.InvocationTargetException: null > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at > org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) > at > org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) > at > org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) > Caused by: java.lang.RuntimeException: Could not login to Carbon server > within 180000ms. port=9443 > at > org.wso2.carbon.automation.core.utils.ClientConnectionUtil.waitForLogin(ClientConnectionUtil.java:66) > at > org.wso2.carbon.automation.core.utils.serverutils.ServerUtils.startServerUsingCarbonHome(ServerUtils.java:154) > at > org.wso2.carbon.automation.core.ServerGroupManager.startServer(ServerGroupManager.java:92) > at > org.wso2.carbon.automation.core.ServerGroupManager.startServersForBuilder(ServerGroupManager.java:98) > at > org.wso2.carbon.automation.core.PlatformExecutionManager.startSevers(PlatformExecutionManager.java:187) > at > org.wso2.carbon.automation.core.PlatformExecutionManager.onExecutionStart(PlatformExecutionManager.java:76) > at org.testng.TestNG.runExecutionListeners(TestNG.java:1032) > at org.testng.TestNG.run(TestNG.java:983) > at > org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178) > at > org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92) > at > org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96) > ... 9 more > [2014-06-24 12:08:33,323] INFO > {org.wso2.carbon.automation.core.utils.serverutils.ServerUtils} - Shutting > down server.. > > Where I'm going wrong? > > Regards, > Mohamed Irshad > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Nuwan Wimalasekara Senior Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 71 668 4620
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
