Hi Krishantha, Yes it was a product bug :) upgrading the carbon-multitenancy version fixed it.
Thanks, Supun On Mon, Mar 16, 2015 at 6:11 PM, Krishantha Samaraweera <[email protected] > wrote: > Didn't you get the same error when adding tenants manually ? I think this > is a product bug :) > > Thanks, > Krishantha. > > On Mon, Mar 16, 2015 at 5:58 PM, Supun Sethunga <[email protected]> wrote: > >> Hi, >> >> Im using the Test Automation Framework 4.3.1, and experiencing the >> $subject in ML integration test. I get the following error. >> However, superTenant gets created successfully. Also, if I remove any >> tenants listed under the "Tenants" in automation.xml, server starts-up with >> no errors. Attached the automation.xml. >> >> Any idea whats going wrong here? Looking at the mail thread "[Dev] [ES] >> Can't add tenants in latest ES pack" it seems this is something to do with >> carbon-multitenancy 4.3.4. >> >> >> *INFO [org.wso2.carbon.integration.common.utils.ClientConnectionUtil] - >> Waiting to login user...* >> *WARN [org.apache.axiom.util.stax.dialect.StAXDialectDetector] - Unable >> to determine dialect of the StAX implementation at >> jar:file:/home/supun/.m2/repository/org/apache/ws/commons/axiom/wso2/axiom/1.2.11.wso2v5/axiom-1.2.11.wso2v5.jar!/* >> *INFO >> [org.wso2.carbon.integration.common.extensions.utils.ServerLogReader] - >> [2015-03-16 17:41:26,676] INFO >> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - >> '[email protected] [-1234]' logged in at [2015-03-16 17:41:26,675+0530]* >> *INFO >> [org.wso2.carbon.integration.common.admin.client.AuthenticatorClient] - >> Login Successful* >> *INFO >> >> [org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerManager] >> - Server started successfully.* >> *INFO >> [org.wso2.carbon.integration.common.extensions.utils.ServerLogReader] - >> [2015-03-16 17:41:26,820] INFO >> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - >> '[email protected] [-1234]' logged in at [2015-03-16 17:41:26,820+0530]* >> *INFO >> [org.wso2.carbon.integration.common.admin.client.AuthenticatorClient] - >> Login Successful* >> *INFO >> [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - >> User - user3 created in tenant domain of carbon.super* >> *INFO >> [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - >> User - user4 created in tenant domain of carbon.super* >> *ERROR >> [org.wso2.carbon.integration.common.admin.client.TenantManagementServiceClient] >> - RemoteException thrown while adding user/tenants : * >> *org.apache.axis2.AxisFault: >> org/wso2/carbon/tenant/mgt/message/TenantDeleteClusterMessage* >> * at >> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)* >> * at >> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:367)* >> * at >> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:413)* >> * at >> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)* >> * at >> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)* >> * at >> org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceStub.getTenant(TenantMgtAdminServiceStub.java:1612)* >> * at >> org.wso2.carbon.integration.common.admin.client.TenantManagementServiceClient.addTenant(TenantManagementServiceClient.java:71)* >> * at >> org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator.populateUsers(UserPopulator.java:89)* >> * at >> org.wso2.carbon.integration.common.extensions.usermgt.UserPopulateExtension.onExecutionStart(UserPopulateExtension.java:59)* >> * at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)* >> * at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)* >> * at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)* >> * at java.lang.reflect.Method.invoke(Method.java:597)* >> * at >> org.wso2.carbon.automation.engine.extensions.TestNGExtensionExecutor.executeExtensible(TestNGExtensionExecutor.java:75)* >> * at >> org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.onExecutionStart(TestExecutionListener.java:47)* >> * at org.testng.TestNG.runExecutionListeners(TestNG.java:1094)* >> * at org.testng.TestNG.run(TestNG.java:1041)* >> * 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)* >> * at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)* >> * at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)* >> * at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)* >> * at java.lang.reflect.Method.invoke(Method.java:597)* >> * 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)* >> *ERROR >> [org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener] - >> Execution error occurred in >> TestExecutionListener:-[Ljava.lang.StackTraceElement;@37b82d69* >> *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:39)* >> * at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)* >> * at java.lang.reflect.Method.invoke(Method.java:597)* >> * 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: Error on initializing test >> environment * >> * at >> org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.handleException(TestExecutionListener.java:71)* >> * at >> org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.onExecutionStart(TestExecutionListener.java:52)* >> * at org.testng.TestNG.runExecutionListeners(TestNG.java:1094)* >> * at org.testng.TestNG.run(TestNG.java:1041)* >> * 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* >> *Caused by: java.lang.reflect.InvocationTargetException* >> * at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)* >> * at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)* >> * at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)* >> * at java.lang.reflect.Method.invoke(Method.java:597)* >> * at >> org.wso2.carbon.automation.engine.extensions.TestNGExtensionExecutor.executeExtensible(TestNGExtensionExecutor.java:75)* >> * at >> org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.onExecutionStart(TestExecutionListener.java:47)* >> * ... 14 more* >> *Caused by: java.rmi.RemoteException: RemoteException thrown while adding >> user/tenants : ; nested exception is: * >> * org.apache.axis2.AxisFault: >> org/wso2/carbon/tenant/mgt/message/TenantDeleteClusterMessage* >> * at >> org.wso2.carbon.integration.common.admin.client.TenantManagementServiceClient.addTenant(TenantManagementServiceClient.java:84)* >> * at >> org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator.populateUsers(UserPopulator.java:89)* >> * at >> org.wso2.carbon.integration.common.extensions.usermgt.UserPopulateExtension.onExecutionStart(UserPopulateExtension.java:59)* >> * ... 20 more* >> *Caused by: org.apache.axis2.AxisFault: >> org/wso2/carbon/tenant/mgt/message/TenantDeleteClusterMessage* >> * at >> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)* >> * at >> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:367)* >> * at >> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:413)* >> * at >> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)* >> * at >> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)* >> * at >> org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceStub.getTenant(TenantMgtAdminServiceStub.java:1612)* >> * at >> org.wso2.carbon.integration.common.admin.client.TenantManagementServiceClient.addTenant(TenantManagementServiceClient.java:71)* >> * ... 22 more* >> >> >> Regards, >> Supun >> >> -- >> *Supun Sethunga* >> Software Engineer >> WSO2, Inc. >> http://wso2.com/ >> lean | enterprise | middleware >> Mobile : +94 716546324 >> > > > > -- > Krishantha Samaraweera > Senior Technical Lead - Test Automation > Mobile: +94 77 7759918 > WSO2, Inc.; http://wso2.com/ > lean . enterprise . middlewear. > -- *Supun Sethunga* Software Engineer WSO2, Inc. http://wso2.com/ lean | enterprise | middleware Mobile : +94 716546324
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
