Uploaded image for project: 'FUSE Mediation Router'
  1. FUSE Mediation Router
  2. MR-392

JBI ClassLoading issue in SMX 4.x in OsgiPackageScanClassResolver

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.4.0-fuse-02-00, 2.5.0-fuse-00-00
    • None
    • None

      CAMEL-3302 introduced a fallback when using JBI in Apache ServiceMix 4.x.
      However it may lead to an issue with ConcurrentModificationException when traversing the list of classloaders.

      for (ClassLoader classLoader : super.getClassLoaders()) {
                      if (!isOsgiClassloader(classLoader)) {
                          find(test, packageName, classLoader, classes);
                      }
                  }
      

      Issue reported here
      http://camel.465427.n5.nabble.com/ServiceMix-4-Fuse-4-3-0-fuse-03-00-Problems-running-JBI-example-examples-camel-td3309088.html

            willem.jiang Willem Jiang (Inactive)
            willem.jiang Willem Jiang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: