Uploaded image for project: 'JBoss Modules'
  1. JBoss Modules
  2. MODULES-282

EAP cannot load module referenced by target-name

XMLWordPrintable

      Mostly likely introduced by fix for MODULES-241.

      Issue reported in EAP by Petr Kremensky:


      EAP cannot load module referenced by target-name. Trying to use module referenced by old package name "org.jboss.as" ends up with org.jboss.modules.ModuleNotFoundException.

      This is a regression against 7.0.0. It was introduced by 1.6.0.Beta5 in EAP 7.1.0.DR13. The issue is blocker for migration from EAP6.

      reproduce

      unzip -q jboss-eap-7.1.0.DR15.zip ; cd jboss-eap-7.1
      sed -i 's/org.wildfly.clustering.web.infinispan/org.jboss.as.clustering.web.infinispan/' standalone/configuration/standalone.xml
      sh bin/standalone.sh
      
      11:03:15,519 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service org.wildfly.clustering.infinispan.cache-container.web: org.jboss.msc.service.StartException in service org.wildfly.clustering.infinispan.cache-container.web: org.infinispan.commons.CacheException: Unable to load component metadata!
      	at org.wildfly.clustering.service.FunctionalValueService.start(FunctionalValueService.java:69)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: org.infinispan.commons.CacheException: Unable to load component metadata!
      	at org.infinispan.factories.components.ComponentMetadataRepo.initialize(ComponentMetadataRepo.java:111)
      	at org.infinispan.factories.GlobalComponentRegistry.<init>(GlobalComponentRegistry.java:106)
      	at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:225)
      	at org.jboss.as.clustering.infinispan.subsystem.CacheContainerBuilder.lambda$build$3(CacheContainerBuilder.java:104)
      	at org.wildfly.clustering.service.SuppliedValueService.lambda$new$0(SuppliedValueService.java:42)
      	at org.wildfly.clustering.service.FunctionalValueService.start(FunctionalValueService.java:67)
      	... 5 more
      Caused by: java.lang.NullPointerException
      	at org.infinispan.factories.components.ComponentMetadataRepo.readMetadata(ComponentMetadataRepo.java:33)
      	at org.infinispan.factories.components.ComponentMetadataRepo.initialize(ComponentMetadataRepo.java:109)
      	... 10 more
      

            ropalka Richard Opalka
            rhn-engineering-rhusar Radoslav Husar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: