Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-1271

Using EAP modules for leveldb and spring on EAP 6.4.x fails with ModuleLoadError: io.netty:main

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JDG 7.2 ER2, JDG 7.2 GA
    • JDG 7.2 DR2, JDG 7.1.1 ER1
    • EAP modules
    • None

      Full exception:

      org.jboss.modules.ModuleLoadError: io.netty:main
      	at org.jboss.modules.ModuleLoadException.toError(ModuleLoadException.java:78)
      	at org.jboss.modules.Module.getPathsUnchecked(Module.java:1397)
      	at org.jboss.modules.Module.loadModuleClass(Module.java:568)
      	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:203)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
      	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
      	at java.lang.ClassLoader.defineClass1(Native Method)
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
      	at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:359)
      	at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:480)
      	at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:275)
      	at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:90)
      	at org.jboss.modules.Module.loadModuleClass(Module.java:573)
      	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:203)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
      	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
      	at java.lang.Class.forName0(Native Method)
      	at java.lang.Class.forName(Class.java:348)
      	at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:370)
      	at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
      	at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
      	at org.infinispan.commons.util.ServiceFinder.addServices(ServiceFinder.java:64)
      	at org.infinispan.commons.util.ServiceFinder.load(ServiceFinder.java:45)
      	at org.infinispan.configuration.parsing.ParserRegistry.<init>(ParserRegistry.java:68)
      	at org.infinispan.configuration.parsing.ParserRegistry.<init>(ParserRegistry.java:62)
      	at org.infinispan.configuration.parsing.ParserRegistry.<init>(ParserRegistry.java:58)
      	at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:295)
      	at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:268)
      	at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:255)
      	at org.infinispan.persistence.leveldb.config.ConfigurationTest.testXmlConfig(ConfigurationTest.java:73)
      	at com.jboss.datagrid.test.leveldb.config.ConfigurationIT.testXmlConfig60(ConfigurationIT.java:27)

      This works with EAP 7.0, which contains the io.netty module.

              remerson@redhat.com Ryan Emerson
              jmarkos Jakub Markos (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: