Hi all, This is not an Emma issue.
I unpacked a kernel distribution. I copied org.wso2.carbon.um.ws.service_4.0.0.SNAPSHOT.jar by hand to dropins. I restarted the server and the server hangs. So this is definitely not an Emma issue. thanks, dimuthu On Wed, Mar 28, 2012 at 5:53 PM, Afkham Azeez <[email protected]> wrote: > You can enable Emma log messages by putting an emma.properties file as > instructed in > https://docs.google.com/a/wso2.com/document/d/1337AOkx5wkhW89obhxgsq3cY8DxGmJQzz5JtmgX_5rc/edit > > A sample emma.properties file can be copied from > https://svn.wso2.org/repos/wso2/carbon/kernel/trunk/distribution/integration/framework/src/main/resources/emma.properties > > Set "verbosity.level: info" in that properties file, and place it into > the ESB integration test directory, and see whether Emma instrumentation > messages are appearing. > > > On Wed, Mar 28, 2012 at 5:45 PM, Hiranya Jayathilaka <[email protected]>wrote: > >> I think the instrumentation takes a very long time (more than 2 mins) and >> the test fails with a ThreadTimeoutException because the server is not >> started within 2 minutes. >> >> Thanks, >> Hiranya >> >> >> On Wed, Mar 28, 2012 at 5:41 PM, Hiranya Jayathilaka <[email protected]>wrote: >> >>> Ok actually it's not getting hung. It just takes a long time to do the >>> instrumentation. In the mean time the test fails with the following error: >>> >>> ------------------------------------------------------- >>> T E S T S >>> ------------------------------------------------------- >>> Running TestSuite >>> SLF4J: Class path contains multiple SLF4J bindings. >>> SLF4J: Found binding in >>> [jar:file:/home/hiranya/.m2/repository/org/slf4j/slf4j-log4j12/1.5.10/slf4j-log4j12-1.5.10.jar!/org/slf4j/impl/StaticLoggerBinder.class] >>> SLF4J: Found binding in >>> [jar:file:/home/hiranya/.m2/repository/org/slf4j/slf4j-jdk14/1.5.2/slf4j-jdk14-1.5.2.jar!/org/slf4j/impl/StaticLoggerBinder.class] >>> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an >>> explanation. >>> [2012-03-28 17:37:41,950] INFO >>> {org.wso2.carbon.integration.framework.utils.TestUtil} - Copying >>> /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/../../../../integration/security-verifier/target/SecVerifier.aar >>> => >>> /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/target/carbontmp1332936459059/wso2esb-4.0.0-SNAPSHOT/repository/deployment/server/axis2services/SecVerifier.aar >>> [2012-03-28 17:39:23,898] INFO >>> {org.wso2.carbon.integration.framework.utils.CodeCoverageUtils} - >>> Instrumented 452 files. >>> [2012-03-28 17:39:23,968] INFO >>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - >>> JAVA_HOME environment variable is set to /opt/jdk1.6.0_30 >>> [2012-03-28 17:39:23,969] INFO >>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - >>> CARBON_HOME environment variable is set to >>> /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/target/carbontmp1332936459059/wso2esb-4.0.0-SNAPSHOT >>> [2012-03-28 17:39:24,355] ERROR >>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - >>> java.lang.reflect.InvocationTargetException >>> [2012-03-28 17:39:24,356] ERROR >>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at >>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> [2012-03-28 17:39:24,356] ERROR >>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> [2012-03-28 17:39:24,356] ERROR >>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> [2012-03-28 17:39:24,356] ERROR >>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at >>> java.lang.reflect.Method.invoke(Method.java:597) >>> [2012-03-28 17:39:24,356] ERROR >>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at >>> org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62) >>> [2012-03-28 17:39:24,356] ERROR >>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at >>> org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43) >>> [2012-03-28 17:39:24,356] ERROR >>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - Caused >>> by: java.lang.RuntimeException: Invalid signature file digest for Manifest >>> main attributes >>> [2012-03-28 17:39:24,356] ERROR >>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at >>> org.wso2.carbon.server.CarbonLauncher.launch(CarbonLauncher.java:101) >>> [2012-03-28 17:39:24,356] ERROR >>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at >>> org.wso2.carbon.server.Main.launchCarbon(Main.java:112) >>> [2012-03-28 17:39:24,356] ERROR >>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at >>> org.wso2.carbon.server.Main.main(Main.java:49) >>> [2012-03-28 17:39:24,356] ERROR >>> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - ... >>> 6 more >>> FAILED CONFIGURATION: @BeforeSuite startServer >>> org.testng.internal.thread.ThreadTimeoutException: Method >>> org.testng.internal.ConfigurationMethod.startServer() didn't finish within >>> the time-out 120000 >>> at java.lang.Thread.sleep(Native Method) >>> at >>> org.wso2.carbon.integration.framework.ClientConnectionUtil.waitForPort(ClientConnectionUtil.java:92) >>> at >>> org.wso2.carbon.integration.framework.utils.ServerUtils.startServerUsingCarbonHome(ServerUtils.java:93) >>> at >>> org.wso2.carbon.integration.framework.TestServerManager.startServer(TestServerManager.java:79) >>> at >>> org.wso2.esb.integration.ESBTestServerManager.startServer(ESBTestServerManager.java:24) >>> 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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) >>> at >>> org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:46) >>> at >>> org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:37) >>> at >>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) >>> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) >>> at java.util.concurrent.FutureTask.run(FutureTask.java:138) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) >>> at java.lang.Thread.run(Thread.java:662) >>> >>> SKIPPED CONFIGURATION: @BeforeMethod doInit >>> SKIPPED CONFIGURATION: @AfterMethod doCleanup >>> SKIPPED CONFIGURATION: @BeforeMethod doInit >>> SKIPPED CONFIGURATION: @AfterMethod doCleanup >>> SKIPPED CONFIGURATION: @BeforeMethod doInit >>> SKIPPED CONFIGURATION: @AfterMethod doCleanup >>> SKIPPED CONFIGURATION: @BeforeMethod doInit >>> SKIPPED CONFIGURATION: @AfterMethod doCleanup >>> SKIPPED CONFIGURATION: @BeforeMethod doInit >>> SKIPPED CONFIGURATION: @AfterMethod doCleanup >>> SKIPPED CONFIGURATION: @BeforeMethod doInit >>> SKIPPED CONFIGURATION: @AfterMethod doCleanup >>> SKIPPED: testEntryAddition >>> Test addition of an Inline Text Local Entry >>> SKIPPED: testEntryRemoval >>> Tests the Removal of a Local Entry >>> SKIPPED: testEntryAddition >>> Test adding an inline XML Local Entry >>> SKIPPED: testEntryRemoval >>> Tests the Removal of an Inline XML Local Entry >>> SKIPPED: testEntryAddition >>> Test adding a Source url Local Entry >>> SKIPPED: testEntryRemoval >>> Tests the removal of a Source URL Local Entry >>> >>> >>> On Wed, Mar 28, 2012 at 5:38 PM, Hiranya Jayathilaka >>> <[email protected]>wrote: >>> >>>> >>>> >>>> On Wed, Mar 28, 2012 at 5:27 PM, Afkham Azeez <[email protected]> wrote: >>>> >>>>> You reported earlier that dropins is not working for you. So, it is >>>>> not an Emma specific problem. >>>> >>>> >>>> No dropins is working for me now. But tests are getting hung anyway: >>>> >>>> ------------------------------------------------------- >>>> T E S T S >>>> ------------------------------------------------------- >>>> Running TestSuite >>>> SLF4J: Class path contains multiple SLF4J bindings. >>>> SLF4J: Found binding in >>>> [jar:file:/home/hiranya/.m2/repository/org/slf4j/slf4j-log4j12/1.5.10/slf4j-log4j12-1.5.10.jar!/org/slf4j/impl/StaticLoggerBinder.class] >>>> SLF4J: Found binding in >>>> [jar:file:/home/hiranya/.m2/repository/org/slf4j/slf4j-jdk14/1.5.2/slf4j-jdk14-1.5.2.jar!/org/slf4j/impl/StaticLoggerBinder.class] >>>> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an >>>> explanation. >>>> [2012-03-28 17:37:41,950] INFO >>>> {org.wso2.carbon.integration.framework.utils.TestUtil} - Copying >>>> /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/../../../../integration/security-verifier/target/SecVerifier.aar >>>> => >>>> /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/target/carbontmp1332936459059/wso2esb-4.0.0-SNAPSHOT/repository/deployment/server/axis2services/SecVerifier.aar >>>> >>>> >>>> Sanjaya just informed me he's getting the same in BPS. >>>> >>>> Thanks, >>>> Hiranya >>>> >>>> >>>>> >>>>> >>>>> On Wed, Mar 28, 2012 at 5:24 PM, Hiranya Jayathilaka <[email protected] >>>>> > wrote: >>>>> >>>>>> Same happens on Linux too. Not specific to Windows. >>>>>> >>>>>> Thanks, >>>>>> Hiranya >>>>>> >>>>>> On Wed, Mar 28, 2012 at 1:04 PM, Senaka Fernando <[email protected]>wrote: >>>>>> >>>>>>> Hi all, >>>>>>> >>>>>>> Carbon is no longer loading any instrumented jar on Windows. If we >>>>>>> did some MANIFEST manipulation, may be that we did it wrong. Azeez can >>>>>>> you >>>>>>> check? >>>>>>> >>>>>>> Thanks, >>>>>>> Senaka. >>>>>>> >>>>>>> -- >>>>>>> *Senaka Fernando* >>>>>>> Product Manager - WSO2 Governance Registry; >>>>>>> Associate Technical Lead; WSO2 Inc.; http://wso2.com* >>>>>>> Member; Apache Software Foundation; http://apache.org >>>>>>> >>>>>>> E-mail: senaka AT wso2.com >>>>>>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 >>>>>>> Linked-In: http://linkedin.com/in/senakafernando >>>>>>> >>>>>>> *Lean . Enterprise . Middleware >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Dev mailing list >>>>>>> [email protected] >>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Hiranya Jayathilaka >>>>>> Associate Technical Lead; >>>>>> WSO2 Inc.; http://wso2.org >>>>>> E-mail: [email protected]; Mobile: +94 77 633 3491 >>>>>> Blog: http://techfeast-hiranya.blogspot.com >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> *Afkham Azeez* >>>>> Director of Architecture; WSO2, Inc.; http://wso2.com >>>>> Member; Apache Software Foundation; http://www.apache.org/ >>>>> * <http://www.apache.org/>** >>>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919 >>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >>>>> twitter: >>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >>>>> * >>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez* >>>>> * >>>>> * >>>>> *Lean . Enterprise . Middleware* >>>>> >>>>> >>>> >>>> >>>> -- >>>> Hiranya Jayathilaka >>>> Associate Technical Lead; >>>> WSO2 Inc.; http://wso2.org >>>> E-mail: [email protected]; Mobile: +94 77 633 3491 >>>> Blog: http://techfeast-hiranya.blogspot.com >>>> >>> >>> >>> >>> -- >>> Hiranya Jayathilaka >>> Associate Technical Lead; >>> WSO2 Inc.; http://wso2.org >>> E-mail: [email protected]; Mobile: +94 77 633 3491 >>> Blog: http://techfeast-hiranya.blogspot.com >>> >> >> >> >> -- >> Hiranya Jayathilaka >> Associate Technical Lead; >> WSO2 Inc.; http://wso2.org >> E-mail: [email protected]; Mobile: +94 77 633 3491 >> Blog: http://techfeast-hiranya.blogspot.com >> > > > > -- > *Afkham Azeez* > Director of Architecture; WSO2, Inc.; http://wso2.com > Member; Apache Software Foundation; http://www.apache.org/ > * <http://www.apache.org/>** > email: **[email protected]* <[email protected]>* cell: +94 77 3320919 > blog: **http://blog.afkham.org* <http://blog.afkham.org>* > twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> > * > linked-in: **http://lk.linkedin.com/in/afkhamazeez* > * > * > *Lean . Enterprise . Middleware* > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Dimuthu Leelarathne Technical Lead WSO2, Inc. (http://wso2.com) email: [email protected] Lean . Enterprise . Middleware
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
