You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2010/03/08 19:41:27 UTC

[jira] Commented: (FELIX-2172) Extremely long resolve stage when running CXF-DOSGi system test

    [ https://issues.apache.org/jira/browse/FELIX-2172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12842763#action_12842763 ] 

Richard S. Hall commented on FELIX-2172:
----------------------------------------

I was able to reproduce the issue on framework 2.0.x.

I have been playing with this use case on trunk. I am not experiencing the hang any more, so that is good news. However, I am seeing other exceptions being thrown during the test case execution which do not necessarily seem correct (e.g., NPEs). In the end, though, the test case reports:

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.154 sec

So, at least it says it was a success, even if it wasn't. ;-) I will likely need more feedback on this issue.

> Extremely long resolve stage when running CXF-DOSGi system test
> ---------------------------------------------------------------
>
>                 Key: FELIX-2172
>                 URL: https://issues.apache.org/jira/browse/FELIX-2172
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: felix-1.8.1, felix-2.0.1
>         Environment: Windows and Linux / Java 6
>            Reporter: David Bosschaert
>         Attachments: felix_resolve_hang.patch
>
>
> A system test in CXF-DOSGi loads a number of bundles (48 to be precise). Running it with Equinox is fine, but with Felix the system (driven through Pax-Exam) hangs just after initialization. It seems a resolution issue.
> Here's how to reproduce:
> 1. Check out CXF-DOSGi from http://svn.apache.org/repos/asf/cxf/dosgi/trunk
> 2. First simply do a build with 'mvn install' from the root to get
> everything ready (you may have to set MAVEN_OPTS=-Xmx512m)
> 3. cd into systests2/multi-bundle
> 4. Then run: 'mvn install -Dtest=TestDiscoveryRountrip' from there.
> You will see that it runs some test (which uses a fairly large number
> of bundles). It's currently configured to use Equinox via Pax Exam.
> 5. Applying the attached patch will change it to use Felix.
> 6. Run: 'mvn install -Dtest=TestDiscoveryRountrip' again, and you'll
> see that just after 'Welcome to Felix' it hangs. Sometimes it wakes up after about 10 minutes...

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