Thanks Rajjaz

Best Regards,
Yashothara.S

Software Engineer
WSO2


On Fri, Apr 1, 2016 at 5:05 PM, Rajjaz Mohammed <[email protected]> wrote:

> Hi Yashothara,
>
> When your running the integration test ESB will start with axis2 service
> to test the synapse samples[1] in port 9000 because these samples[1] are
> written to test the service running on port 9000. so if you want to remove
> it you need to edit org.wso2.carbon.esbESBIntegrationTest.
>
> test/resources/artifacts/ESB/samples/synapse_sample_xx.xml
>
> On Fri, Apr 1, 2016 at 4:29 PM, Yashothara Shanmugarajah <
> [email protected]> wrote:
>
>> Hi,
>>
>> Shall I know the purpose of having "test_axis2_server_9000.xml" when we
>> are doing automation test? It is calling in
>> "org.wso2.carbon.automation.core.utils.axis2serverutils.SampleAxis2Server"
>>
>>
>> When I delete this file for running automation test in connector, it is
>> give giving error like below.
>>
>> ERROR
>> {org.wso2.carbon.automation.core.utils.axis2serverutils.SampleAxis2Server}
>> -  Error while initializing the configuration context
>> java.io.FileNotFoundException:
>> /home/yasho/Videos/servicenow/servicenow-connector/servicenow-connect-1.0.0/org.wso2.carbon.connector/src/test/resources/artifacts/AXIS2/config/test_axis2_server_9000.xml
>> (No such file or directory)
>>     at java.io.FileInputStream.open(Native Method)
>>     at java.io.FileInputStream.<init>(FileInputStream.java:146)
>>     at java.io.FileInputStream.<init>(FileInputStream.java:101)
>>     at
>> org.wso2.carbon.automation.core.utils.axis2serverutils.SampleAxis2Server.copyResourceToFileSystem(SampleAxis2Server.java:152)
>>     at
>> org.wso2.carbon.automation.core.utils.axis2serverutils.SampleAxis2Server.<init>(SampleAxis2Server.java:69)
>>     at
>> org.wso2.carbon.automation.core.utils.axis2serverutils.SampleAxis2Server.<init>(SampleAxis2Server.java:57)
>>     at
>> org.wso2.carbon.automation.core.PlatformExecutionManager.startSimpleAxis2Server(PlatformExecutionManager.java:227)
>>     at
>> org.wso2.carbon.automation.core.PlatformExecutionManager.startSevers(PlatformExecutionManager.java:190)
>>     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)
>>     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)
>> [2016-04-01 16:25:35,905]  INFO
>> {org.wso2.carbon.automation.core.utils.axis2serverutils.SampleAxis2Server}
>> -  Starting sample Axis2 server
>> 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.NullPointerException
>>     at
>> org.apache.axis2.engine.ListenerManager.init(ListenerManager.java:74)
>>     at
>> org.wso2.carbon.automation.core.utils.axis2serverutils.SampleAxis2Server.start(SampleAxis2Server.java:85)
>>     at
>> org.wso2.carbon.automation.core.PlatformExecutionManager.startSimpleAxis2Server(PlatformExecutionManager.java:228)
>>     at
>> org.wso2.carbon.automation.core.PlatformExecutionManager.startSevers(PlatformExecutionManager.java:190)
>>     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)
>>
>>
>>
>> Shall I know what is the purpose of this file?
>>
>> Thanks.
>>
>> Best Regards,
>> Yashothara.S
>>
>> Software Engineer
>> WSO2
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thank you
> Best Regards
>
> *Rajjaz HM*
> Associate Software Engineer
> Platform Extension Team
> WSO2 Inc. <http://wso2.com/>
> lean | enterprise | middleware
> Mobile | +94752833834|+94777226874
> Email   | [email protected]
> LinkedIn <https://lk.linkedin.com/in/hmohammedrajjaz> | Blogger
> <http://wso2experience.blogspot.com/> | WSO2 Profile
> <http://wso2.com/about/team/mohammer-rajjaz/>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to