-
Bug
-
Resolution: Done
-
Blocker
-
26.1.1.Final
-
None
-
---
-
---
Running some SSL tests with netty-acceptor leads to this failure:
13:20:22,176 WARNING [io.netty.channel.ChannelInitializer] (Thread-1 (activemq-netty-threads)) Failed to initialize a channel. Closing: [id: 0xa6c91985, L:/127.0.0.1:5445 - R:/127.0.0.1:45424]: io.netty.channel.ChannelPipelineException: io.netty.handler.ssl.SslHandler.handlerAdded() has thrown an exception; removed. at io.netty.netty-transport@4.1.79.Final//io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:624) at io.netty.netty-transport@4.1.79.Final//io.netty.channel.DefaultChannelPipeline.addLast(DefaultChannelPipeline.java:223) at io.netty.netty-transport@4.1.79.Final//io.netty.channel.DefaultChannelPipeline.addLast(DefaultChannelPipeline.java:195) at org.apache.activemq.artemis@2.23.1//org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptor$4.initChannel(NettyAcceptor.java:472) at io.netty.netty-transport@4.1.79.Final//io.netty.channel.ChannelInitializer.initChannel(ChannelInitializer.java:129) at io.netty.netty-transport@4.1.79.Final//io.netty.channel.ChannelInitializer.handlerAdded(ChannelInitializer.java:112) at io.netty.netty-transport@4.1.79.Final//io.netty.channel.AbstractChannelHandlerContext.callHandlerAdded(AbstractChannelHandlerContext.java:938) at io.netty.netty-transport@4.1.79.Final//io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:609) at io.netty.netty-transport@4.1.79.Final//io.netty.channel.DefaultChannelPipeline.access$100(DefaultChannelPipeline.java:46) at io.netty.netty-transport@4.1.79.Final//io.netty.channel.DefaultChannelPipeline$PendingHandlerAddedTask.execute(DefaultChannelPipeline.java:1463) at io.netty.netty-transport@4.1.79.Final//io.netty.channel.DefaultChannelPipeline.callHandlerAddedForAllHandlers(DefaultChannelPipeline.java:1115) at io.netty.netty-transport@4.1.79.Final//io.netty.channel.DefaultChannelPipeline.invokeHandlerAddedIfNeeded(DefaultChannelPipeline.java:650) at io.netty.netty-transport@4.1.79.Final//io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:514) at io.netty.netty-transport@4.1.79.Final//io.netty.channel.AbstractChannel$AbstractUnsafe.access$200(AbstractChannel.java:429) at io.netty.netty-transport@4.1.79.Final//io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:486) at io.netty.netty-common@4.1.79.Final//io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) at io.netty.netty-common@4.1.79.Final//io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) at io.netty.netty-common@4.1.79.Final//io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) at io.netty.netty-transport-native-epoll@4.1.79.Final//io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:394) at io.netty.netty-common@4.1.79.Final//io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.netty-common@4.1.79.Final//io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at org.apache.activemq.artemis.journal//org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) Caused by: java.lang.NoClassDefFoundError: io/netty/channel/unix/UnixChannel at io.netty.netty-handler@4.1.79.Final//io.netty.handler.ssl.SslHandler.setOpensslEngineSocketFd(SslHandler.java:2142) at io.netty.netty-handler@4.1.79.Final//io.netty.handler.ssl.SslHandler.handlerAdded(SslHandler.java:1981) at io.netty.netty-transport@4.1.79.Final//io.netty.channel.AbstractChannelHandlerContext.callHandlerAdded(AbstractChannelHandlerContext.java:938) at io.netty.netty-transport@4.1.79.Final//io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:609) ... 21 more Caused by: java.lang.ClassNotFoundException: io.netty.channel.unix.UnixChannel from [Module "io.netty.netty-handler" version 4.1.79.Final from local module loader @27ae2fd0 (finder: local module finder @29176cc1 (roots: /home/ehsavoie/dev/messaging/messaging-testsuite/scripts/server1/jboss-eap/modules,/home/ehsavoie/dev/messaging/messaging-testsuite/scripts/server1/jboss-eap/modules/system/layers/base))] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:200) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116) ... 25 more
It seems that we are missing a module dependency to* io.netty.netty-transport-native-unix-common*
This might be due to https://github.com/netty/netty/pull/12490 in 4.1.79
- clones
-
WFLY-16879 Using SSL with a netty-acceptor is failing
- Closed