Re: [Dev] Stopping and starting an ESB instance from a test case

2014-12-18 Thread Sandamal Weerasinghe
Hi all, That error is present even without my test case. Thanks. Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd Mobile - +94-77-144-9640 On Thu, Dec 18, 2014 at 12:32 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi Sandamal, On Thu, Dec 18, 2014 at 11:43 AM,

Re: [Dev] Stopping and starting an ESB instance from a test case

2014-12-18 Thread Krishantha Samaraweera
Please disable coverage and go ahead. Issue is related to test configurations which will take bit of effort to debug. Anyway we didn't get this coverage error when doing public release. So changes done in the support branch probably causing this. Can you confirm whether there are any duplicate

Re: [Dev] Stopping and starting an ESB instance from a test case

2014-12-18 Thread Sandamal Weerasinghe
Hi, Let me get back to you on that one. Thanks. Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd Mobile - +94-77-144-9640 On Thu, Dec 18, 2014 at 4:54 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Please disable coverage and go ahead. Issue is related to test

Re: [Dev] Stopping and starting an ESB instance from a test case

2014-12-17 Thread Nuwan Wimalasekara
Hi Sandamal, On Wed, Dec 17, 2014 at 7:07 PM, Sandamal Weerasinghe sanda...@wso2.com wrote: Hi all, In a test case that I'm working on, I need to copy several files to CARBON_HOME. axis2.xml carbon.xml cipher-text.properties master-datasources.xml password-tmp secret-conf.properties

Re: [Dev] Stopping and starting an ESB instance from a test case

2014-12-17 Thread Krishantha Samaraweera
Hi Sandamal, On Wed, Dec 17, 2014 at 7:07 PM, Sandamal Weerasinghe sanda...@wso2.com wrote: Hi all, In a test case that I'm working on, I need to copy several files to CARBON_HOME. axis2.xml carbon.xml cipher-text.properties master-datasources.xml password-tmp secret-conf.properties

Re: [Dev] Stopping and starting an ESB instance from a test case

2014-12-17 Thread Nuwan Wimalasekara
On Wed, Dec 17, 2014 at 10:56 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi Sandamal, On Wed, Dec 17, 2014 at 7:07 PM, Sandamal Weerasinghe sanda...@wso2.com wrote: Hi all, In a test case that I'm working on, I need to copy several files to CARBON_HOME. axis2.xml

Re: [Dev] Stopping and starting an ESB instance from a test case

2014-12-17 Thread Sandamal Weerasinghe
The reason why I wanted to disable emma test coverage is because it throws the following error. But I can leave that as it is. I will use the above solution for (2) to access the adminServiceClients. Thanks. com.vladium.emma.EMMARuntimeException: [CLASS_STAMP_MISMATCH] runtime version of class

Re: [Dev] Stopping and starting an ESB instance from a test case

2014-12-17 Thread Dharshana Warusavitharana
Hi Sandamal, This happens because there are inconsistencies between coverage.ec and .em files created during the instrumentation. Could you try to exclude [org.wso2.carbon.core.services.util.CarbonAuthenticationUtil] from filter.txt file and see. Anyway ESB does not want this class instrumented

Re: [Dev] Stopping and starting an ESB instance from a test case

2014-12-17 Thread Krishantha Samaraweera
Hi Sandamal, On Thu, Dec 18, 2014 at 11:43 AM, Sandamal Weerasinghe sanda...@wso2.com wrote: The reason why I wanted to disable emma test coverage is because it throws the following error. But I can leave that as it is. I will use the above solution for (2) to access the adminServiceClients.