You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Pär Wenåker (JIRA)" <ji...@apache.org> on 2009/12/18 15:15:19 UTC

[jira] Updated: (OPENEJB-1121) Classloader issue when using OpenEJB for Junit testing with Maven2 and Cobertura

     [ https://issues.apache.org/jira/browse/OPENEJB-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pär Wenåker updated OPENEJB-1121:
---------------------------------

    Issue Type: Improvement  (was: Bug)

> Classloader issue when using OpenEJB for Junit testing with Maven2 and Cobertura
> --------------------------------------------------------------------------------
>
>                 Key: OPENEJB-1121
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1121
>             Project: OpenEJB
>          Issue Type: Improvement
>          Components: container system
>    Affects Versions: 3.1.2
>            Reporter: Pär Wenåker
>
> Using Maven2 (Surefire), OpenEJB and Cobertura in Junit tests.
> If multiple instances of OpenEJB are created during a testrun ( closing OpenEJB with context.close() ), multiple shutdown hooks are registered by Cobertura. When the jvm exits all the shutdown hooks are executed and there is congestion on the report file (cobertura.ser) often resulting in incomplete coverage reports.
> The OpenEJB TempClassLoader should not load Cobertura classes, but should delegate to the parent classloader.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.