Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-2690

javaee-api must include ProviderLocator used by some specs jars.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 8.0.0-M1, 8.0.0-M2, 7.1.1, 8.0.0-M3, 8.0.0-Final
    • 8.0.1
    • None
    • None

    Description

      Some spec jars like JACC use the ProviderLocator for internal usage. Most of the time they shade the Geronimo OSGi Locator dependency.

      But we do exclude the ProviderLocator from the javaee-api uber jar which results in a NoClassDefFound when using OpenEJB Standalone for instance.

      Caused by: java.lang.NoClassDefFoundError: org/apache/geronimo/osgi/locator/ProviderLocatorCaused by: java.lang.NoClassDefFoundError: org/apache/geronimo/osgi/locator/ProviderLocator at javax.security.jacc.PolicyConfigurationFactory$1.run(PolicyConfigurationFactory.java:89)

       

       

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            jlmonteiro Jean-Louis Monteiro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: