Re: [Dev] Error while run the connector integrationTest
Hi All, I can able solve this issue by reducing the synapse version to 2.1.3-wso2v11[1] from 3.0.0[2]. [1]2.1.3-wso2v11 [2]3.0.0 On Wed, Jul 26, 2017 at 2:06 PM, Rajjaz Mohammed wrote: > Hi all, > I got the following error when I tried to run the integration test for JMS > connector. > > Any idea? > > [2017-07-26 13:56:13,708] INFO {org.apache.axis2.deployment.ModuleDeployer} > - Deploying module: pagination-4.2.0 - file:/home/rajjaz/.m2/ > repository/org/wso2/carbon/org.wso2.carbon.registry. > server/4.2.0/org.wso2.carbon.registry.server-4.2.0.jar > 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.NoClassDefFoundError: org/apache/axiom/om/ > QNameAwareOMDataSource > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:800) > at java.security.SecureClassLoader.defineClass( > SecureClassLoader.java:142) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) > at java.net.URLClassLoader.access$100(URLClassLoader.java:71) > at java.net.URLClassLoader$1.run(URLClassLoader.java:361) > at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:354) > at java.lang.ClassLoader.loadClass(ClassLoader.java:425) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:800) > at java.security.SecureClassLoader.defineClass( > SecureClassLoader.java:142) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) > at java.net.URLClassLoader.access$100(URLClassLoader.java:71) > at java.net.URLClassLoader$1.run(URLClassLoader.java:361) > at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:354) > at java.lang.ClassLoader.loadClass(ClassLoader.java:425) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > at org.wso2.carbon.authenticator.stub.Login.getOMElement(Login. > java:168) > at org.wso2.carbon.authenticator.stub.AuthenticationAdminStub. > toEnvelope(AuthenticationAdminStub.java:2288) > at org.wso2.carbon.authenticator.stub.AuthenticationAdminStub. > login(AuthenticationAdminStub.java:642) > at org.wso2.carbon.automation.api.clients.authenticators. > AuthenticatorClient.login(AuthenticatorClient.java:59) > at org.wso2.carbon.automation.core.utils.LoginLogoutUtil. > login(LoginLogoutUtil.java:53) > at org.wso2.carbon.automation.core.utils.ClientConnectionUtil. > waitForLogin(ClientConnectionUtil.java:52) > at org.wso2.carbon.automation.core.utils.serverutils.ServerUtils. > startServerUsingCarbonHome(ServerUtils.java:143) > 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 > Caused by: java.lang.ClassNotFoundException: org.apache.
[Dev] Error while run the connector integrationTest
Hi all, I got the following error when I tried to run the integration test for JMS connector. Any idea? [2017-07-26 13:56:13,708] INFO {org.apache.axis2.deployment.ModuleDeployer} - Deploying module: pagination-4.2.0 - file:/home/rajjaz/.m2/repository/org/wso2/carbon/org.wso2.carbon.registry.server/4.2.0/org.wso2.carbon.registry.server-4.2.0.jar 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.NoClassDefFoundError: org/apache/axiom/om/QNameAwareOMDataSource at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.wso2.carbon.authenticator.stub.Login.getOMElement(Login.java:168) at org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.toEnvelope(AuthenticationAdminStub.java:2288) at org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.login(AuthenticationAdminStub.java:642) at org.wso2.carbon.automation.api.clients.authenticators.AuthenticatorClient.login(AuthenticatorClient.java:59) at org.wso2.carbon.automation.core.utils.LoginLogoutUtil.login(LoginLogoutUtil.java:53) at org.wso2.carbon.automation.core.utils.ClientConnectionUtil.waitForLogin(ClientConnectionUtil.java:52) at org.wso2.carbon.automation.core.utils.serverutils.ServerUtils.startServerUsingCarbonHome(ServerUtils.java:143) 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 Caused by: java.lang.ClassNotFoundException: org.apache.axiom.om.QNameAwareOMDataSource at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadCl