[
https://issues.apache.org/jira/browse/ARTEMIS-3349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17363818#comment-17363818
]
Justin Bertram commented on ARTEMIS-3349:
-----------------------------------------
For what it's worth, the broker ships with _all_ the necessary runtime
dependencies, including Netty.
Also, the use of epoll is delegated to Netty and if epoll is not available when
{{useEpoll=true}} then there should just be a {{WARN}} in the log and the
broker should fallback safely to the normal NIO implementation. It should
accept messages in any case.
For good measure I read through the documentation you cited and followed it
myself from scratch and it worked fine although I did update it in a few places
to clarify some things.
The issue you're describing sounds _very_ strange and I surmise they are
environmental in nature (e.g. your softlink). I created a new instance of
2.17.0 from scratch and used your attached config (with a few changes to
{{artemis.profile}}) to start-up the broker and send and receive few messages
from a STOMP client. Everything worked fine.
> Documentation Task for Artemis Transports
> -----------------------------------------
>
> Key: ARTEMIS-3349
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3349
> Project: ActiveMQ Artemis
> Issue Type: Task
> Components: Broker, Configuration
> Affects Versions: 2.17.0
> Environment: Red Hat Enterprise Linux Server release 7.9
> Linux<hostname>.10.0-1160.11.1.el7.x86_64 #1 SMP Mon Nov 30 13:05:31 EST 2020
> x86_64 x86_64 x86_64 GNU/Linux
> Reporter: Tony Dunbar
> Priority: Minor
> Attachments: artemisconfig.zip
>
>
> I am fairly new to Apache Artemis, and attempted the install to test a stomp
> client. I am not sure if this is a initial configuration issue or a
> documentation issue. I followed the install instructions, to the letter,
> from the Artemis documentation. The initial configuration of the
> etc/broker.xml during the installation will fail if the netty dependency is
> not satisfied upon server startup. I attempted the installation on a newly
> created VM. The only way I could get the server to accept messages was to
> change the useEpoll setting in the etc/broker.xml from true to false. This
> allows the initial installation to use the built in NIO transport. After
> turning on DEBUG logging and a lot of research, I was eventually able to
> download and copy the dependent netty jars to the <artemis instance>/lib
> directory. Then changed the useEpoll setting in the etc/broker.xml from
> false to true. Restarted the artemis service and now the netty transport was
> being used successfully. The dependent netty jars are:
> netty-transport-4.x.Final.jar
> netty-buffer-4.x.Final.jar
> netty-common-4.x.Final.jar
> netty-resolver-4.x.Final.jar
> In my humble opinion, your installation of Artemis assumes the host machine
> will already have Netty transport installed, perhaps from some other
> application install. You should either package the netty dependencies in the
> <artemis instance>/lib directory or default the useEpoll settings to false.
> Thanks
> Tony
--
This message was sent by Atlassian Jira
(v8.3.4#803005)