-
Bug
-
Resolution: Done
-
Blocker
-
JDG 7.2 DR2, JDG 7.2 DR4
-
None
Steps to reproduce:
- Copy jboss-datagrid-7.2.0-eap-modules-library modules to EAP module folder
- Modify EAP configuration according to the instructions in documentation to http://infinispan.org/docs/9.2.x/user_guide/user_guide.html (20.9.3. Usage)
- Start the EAP server
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:
- is related to
-
JDG-1271 Using EAP modules for leveldb and spring on EAP 6.4.x fails with ModuleLoadError: io.netty:main
- Closed