Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-5806

SharedLIb GBean should have priority set to PRIORITY_CLASSLOADER

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.7, 2.2.1
    • 2.1.8
    • kernel
    • Security Level: public (Regular issues)
    • None

    Description

      When a SharedLib GBean is added to a configuration by updating config.xml, the new classes and jars from the shared lib do not get into the configuration's class loader until that GBean instance is created. This results in ClassNotFoundExceptions if another GBean that uses these new classes is loaded ahead of the SharedLib GBean. This can be avoided by setting the priority of SharedLib GBean to GBeanInfo.PRIORITY_CLASSLOADER so that the new classes and jars get added to the classloader and are available immediately for all other GBeans in the configuration.

      Attachments

        1. GERONIMO-5806.patch
          0.8 kB
          Vamsavardhana Reddy

        Activity

          People

            vamsic Vamsavardhana Reddy
            vamsic Vamsavardhana Reddy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: