Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2172

Extremely long resolve stage when running CXF-DOSGi system test

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: framework-1.8.1, framework-2.0.1
    • Fix Version/s: framework-3.0.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Windows and Linux / Java 6

      Description

      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...

        Attachments

        1. felix_resolve_hang.patch
          0.9 kB
          David Bosschaert

          Activity

            People

            • Assignee:
              rickhall Richard S. Hall
              Reporter:
              bosschaert David Bosschaert
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: