Hey,  guys. 

We were unable to configure libaio and are still using NIO. I did everything
as recommended, but still no luck. 

My env: Linux Ubuntu 16

Libaio  is installed. 

dpkg --search libaio
libaio1:amd64: /usr/share/doc/libaio1
libaio1:amd64: /usr/share/doc/libaio1/TODO
libaio1:amd64: /lib/x86_64-linux-gnu/libaio.so.1
libaio1:amd64: /usr/share/doc/libaio1/copyright
libaio1:amd64: /usr/share/doc/libaio1/changelog.Debian.gz
libaio1:amd64: /lib/x86_64-linux-gnu/libaio.so.1.0.1
libaio1:amd64: /usr/share/lintian/overrides/libaio1

The page here: 
https://activemq.apache.org/artemis/docs/1.3.0/libaio.html#runtime-dependencies
mentions two libs:
* libActiveMQAIO32.so - x86 32 bits
* libActiveMQAIO64.so - x86 64 bits

However,  when I downloaded apache-artemis-2.3.0.zip, there were no such
files in it. Instead, I found this:

apache-artemis-2.3.0/bin/lib/linux-x86_64 ll
total 32
-rw-r--r-- 1 igor igor 28687 Nov  1 05:42 libartemis-native-64.so


I assumed that documentation is lagging behind, and the file called
libActiveMQAIO64.so is now called libartemis-native-64.so. I used this file
and pointed the system property -Djava.library.path=artemis-lib directory,
where I copied the file libartemis-native-64.so

Nonetheless, when I run the broker, I get this: 

{"level":"INFO","timestamp":"Thu Nov 09 16:43:05 CST
2017","thread":"main","logger":"org.apache.activemq.artemis.core.server","message":"AMQ221045:
libaio is not available, switching the configuration into NIO"}
{"level":"INFO","timestamp":"Thu Nov 09 16:43:05 CST
2017","thread":"main","logger":"org.apache.activemq.artemis.core.server","message":"AMQ221013:
Using NIO Journal"}

I'd appreciate any help, but the main question is: where do I get the file:
libActiveMQAIO64.so ? 

Thanks



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Reply via email to