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

ServiceName ClassLoading issue with TopologyWebAppActivator

    XMLWordPrintable

Details

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

    Description

      Get a Linkage error when running Ribbon examples:

      Caused by: java.lang.LinkageError: loader constraint violation: when resolving interface method "org.jboss.msc.service.ServiceTarget.addService(Lorg/jboss/msc/service/ServiceName;Lorg/jboss/msc/service/Service;)Lorg/jboss/msc/service/ServiceBuilder;" the class loader (instance of org/jboss/modules/ModuleClassLoader) of the current class, org/wildfly/swarm/topology/webapp/runtime/TopologyWebAppActivator, and the class loader (instance of org/jboss/modules/ModuleClassLoader) for the method's defining class, org/jboss/msc/service/ServiceTarget, have different Class objects for the type org/jboss/msc/service/ServiceName used in the signature
      	at org.wildfly.swarm.topology.webapp.runtime.TopologyWebAppActivator.activate(TopologyWebAppActivator.java:53)
      	at org.jboss.as.server.ApplicationServerService.start(ApplicationServerService.java:172)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
      	... 3 more
      

      Attachments

        Activity

          People

            kfinniga@redhat.com Ken Finnigan (Inactive)
            kfinniga@redhat.com Ken Finnigan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: