Hi all,

I also experience the long delay on the first startup, when I add a bundle
into dropins.

However subsequent startups are fast.

thanks,
dimuthu

On Wed, Mar 28, 2012 at 5:45 PM, Afkham Azeez <[email protected]> wrote:

> That is strange. We were able to generate coverage reports for AS on two
> different Linux machines. I believe Subash generated the G-Reg report also
> on Linux. Instrumentation takes just a few seconds.
>
>
> 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
>>
>
>
>
> --
> *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

Reply via email to