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

ServiceName ClassLoading issue with TopologyWebAppActivator

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2016.12.0
    • Component/s: None
    • Labels:
      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
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                kenfinni Ken Finnigan
                Reporter:
                kenfinni Ken Finnigan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: