Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-790

WebServicesFraction should also depend on org.jboss.as.webservices.server.integration module

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 2016.10.0
    • 2017.3.3
    • None
    • None

    Description

      WebServicesFraction is built on org.jboss.as.webservices module which only depends on org.wildfly:wildfly-webservices-server-integration artifact. However, webservices subsystem deployment processor makes use of org.jboss.as.webservices.util.ModuleClassLoaderProvider.getServerIntegrationClassLoader() which attempts to load org.jboss.as.webservices.server.integration module.

      Right now, Weld subsystem (which is a dependency of ejb3 subsystem, which is a dependency of org.jboss.as.webservices) brings in the org.jboss.as.webservices.server.integration module and so everything works fine. Once we split Weld subsystem into several modules (WFLY-6941), org.jboss.as.webservices.server.integration will not be present any more, resulting in a similar runtime exception:

      2016-10-17 10:58:13,744 ERROR [org.jboss.as.webservices] (ServerService
      Thread Pool -- 18) WFLYWS0067: Could not activate the webservices
      subsystem.: java.lang.RuntimeException:
      org.jboss.modules.ModuleNotFoundException:
      org.jboss.as.webservices.server.integration:main
              at
      org.jboss.as.webservices.util.ModuleClassLoaderProvider.getServerIntegrationClassLoader(ModuleClassLoaderProvider.java:54)
              at
      org.jboss.as.webservices.dmr.WSDeploymentActivator.isModularEnvironment(WSDeploymentActivator.java:95)
              at
      org.jboss.as.webservices.dmr.WSDeploymentActivator.activate(WSDeploymentActivator.java:58)
              at
      org.jboss.as.webservices.dmr.WSSubsystemAdd$1.execute(WSSubsystemAdd.java:82)
      ...
      

      Attachments

        Activity

          People

            bmcwhirt@redhat.com Bob McWhirter (Inactive)
            mkouba@redhat.com Martin Kouba
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: