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

Using JDG as extensions on EAP REST connector will fail to init

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • JDG 7.2 ER2, JDG 7.2 GA
    • JDG 7.2 DR2, JDG 7.2 DR4
    • EAP modules
    • None

    Description

      Steps to reproduce:

      Tested with EAP-7.0.7. I'm attaching EAP configuration. This works in upstream.

      Error:
      09:41:02,144 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: Failed to start service
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978)
      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:748)
      Caused by: java.lang.NoClassDefFoundError: io/netty/channel/epoll/Epoll
      at org.infinispan.server.core.transport.NettyTransport.<clinit>(NettyTransport.java:82)
      at org.infinispan.server.core.AbstractProtocolServer.startTransport(AbstractProtocolServer.java:71)
      at org.infinispan.server.hotrod.HotRodServer.startTransport(HotRodServer.java:231)
      at org.infinispan.server.core.AbstractProtocolServer.startInternal(AbstractProtocolServer.java:55)
      at org.infinispan.server.hotrod.HotRodServer.startInternal(HotRodServer.java:161)
      at org.infinispan.server.hotrod.HotRodServer.startInternal(HotRodServer.java:84)
      at org.infinispan.server.core.AbstractProtocolServer.start(AbstractProtocolServer.java:62)
      at org.infinispan.server.endpoint.subsystem.SecurityActions$6.run(SecurityActions.java:136)
      at org.infinispan.server.endpoint.subsystem.SecurityActions$6.run(SecurityActions.java:133)
      at org.infinispan.security.Security.doPrivileged(Security.java:76)
      at org.infinispan.server.endpoint.subsystem.SecurityActions.doPrivileged(SecurityActions.java:42)
      at org.infinispan.server.endpoint.subsystem.SecurityActions.startProtocolServer(SecurityActions.java:140)
      at org.infinispan.server.endpoint.subsystem.ProtocolServerService.startProtocolServer(ProtocolServerService.java:185)
      at org.infinispan.server.endpoint.subsystem.ProtocolServerService.start(ProtocolServerService.java:143)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
      ... 3 more
      Caused by: java.lang.ClassNotFoundException: io.netty.channel.epoll.Epoll from [Module "org.infinispan.server:jdg-7.2" from local module loader @33e5ccce (finder: local module finder @5a42bbf4 (roots: /home/rmacor/Downloads/eap/jboss-eap-7.0/modules,/home/rmacor/Downloads/eap/jboss-eap-7.0/modules/system/layers/base))]
      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
      at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
      at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
      ... 19 more

      09:41:02,149 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
      ("subsystem" => "datagrid-infinispan-endpoint"),
      ("hotrod-connector" => "hotrod-connector")
      ]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector" => "org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: Failed to start service
      Caused by: java.lang.NoClassDefFoundError: io/netty/channel/epoll/Epoll
      Caused by: java.lang.ClassNotFoundException: io.netty.channel.epoll.Epoll from [Module \"org.infinispan.server:jdg-7.2\" from local module loader @33e5ccce (finder: local module finder @5a42bbf4 (roots: /home/rmacor/Downloads/eap/jboss-eap-7.0/modules,/home/rmacor/Downloads/eap/jboss-eap-7.0/modules/system/layers/base))]"}}
      09:41:02,150 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
      ("subsystem" => "datagrid-infinispan-endpoint"),
      ("rest-connector" => "rest-connector")
      ]) - failure description:

      {"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.datagrid-infinispan-endpoint.rest.rest-connector is missing [jboss.binding.rest]"]}

      Attachments

        Issue Links

          Activity

            People

              remerson@redhat.com Ryan Emerson
              rmacor Roman Macor (Inactive)
              Zdenek Hostasa Zdenek Hostasa (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: