Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3413

java.xml.ws.spi.Provider resolution is JVM implementation specific

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • jbossws-cxf-4.0.1
    • None
    • jbossws-cxf
    • None

      The javax.xml.ws.spi.Provider resolution is based on the ServiceLoader.load(Provider.class) internals. That makes it JVM specific due to the different implementation of collections used to store the found resources.
      This is critical as the jbossws-cxf client Provider impl is responsible for setting the proper thread Bus, ensuring proper deployment isolation.

      We need to prevent potential issues (especially with IBM JDK) by avoiding duplicates of META-INF/services/javax.xml.ws.spi.Provider (Apache CXF one vs JBossWS-CXF one).

              rhn-support-asoldano Alessio Soldano
              rhn-support-asoldano Alessio Soldano
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: