-
Bug
-
Resolution: Done
-
Blocker
-
7.1.0.DR4, 7.1.0.DR9, 7.1.0.DR11
-
None
-
Regression
-
-
-
-
-
-
-
AIO journal doesn't load on 32 bit RHEL6 with Oracle JDK 1.8 and OpenJDK 1.8.
This is regression against previous versions, so priority is set to blocker
Customer impact : Server is configured with ASYNCIO (AIO) journal to achieve high performance. Because of this issue ASYNCIO is not used. This have negative effect on server performance.
This is failing since 7.1.0.DR4
There is a following message in log:
WFLYMSGAMQ0075: AIO wasn't located on this platform, it will fall back to using pure Java NIO. Your platform is Linux, install LibAIO to enable the AIO journal and achieve optimal performance.
More datailed logs say following:
2016-12-13 06:34:25,258 DEBUG [org.apache.activemq.artemis.jlibaio] (MSC service thread 1-3) artemis-native-64 -> error loading the native library: java.lang.UnsatisfiedLinkError: no artemis-native-64 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867) at java.lang.Runtime.loadLibrary0(Runtime.java:870) at java.lang.System.loadLibrary(System.java:1122) at org.apache.activemq.artemis.jlibaio.LibaioContext.loadLibrary(LibaioContext.java:66) at org.apache.activemq.artemis.jlibaio.LibaioContext.<clinit>(LibaioContext.java:85) at org.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.isSupported(AIOSequentialFileFactory.java:110) at org.wildfly.extension.messaging.activemq.ActiveMQServerService.start(ActiveMQServerService.java:166) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1963) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1896) 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:745) 2016-12-13 06:34:25,258 DEBUG [org.apache.activemq.artemis.jlibaio] (MSC service thread 1-3) Library artemis-native-64 not found! 2016-12-13 06:34:25,259 DEBUG [org.apache.activemq.artemis.jlibaio] (MSC service thread 1-3) artemis-native-32 -> error loading the native library: java.lang.UnsatisfiedLinkError: no artemis-native-32 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867) at java.lang.Runtime.loadLibrary0(Runtime.java:870) at java.lang.System.loadLibrary(System.java:1122) at org.apache.activemq.artemis.jlibaio.LibaioContext.loadLibrary(LibaioContext.java:66) at org.apache.activemq.artemis.jlibaio.LibaioContext.<clinit>(LibaioContext.java:85) at org.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.isSupported(AIOSequentialFileFactory.java:110) at org.wildfly.extension.messaging.activemq.ActiveMQServerService.start(ActiveMQServerService.java:166) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1963) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1896) 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:745) 2016-12-13 06:34:25,259 DEBUG [org.apache.activemq.artemis.jlibaio] (MSC service thread 1-3) Library artemis-native-32 not found! 2016-12-13 06:34:25,259 DEBUG [org.apache.activemq.artemis.jlibaio] (MSC service thread 1-3) Couldn't locate LibAIO Wrapper
AIO is correctly loaded on 32bit RHEL6 with IBM JDK. It also works with 64bit RHEL.
- is blocked by
-
MODULES-278 Detection of Intel 32-bits processors on Linux reported the wrong native library search path
- Resolved
- is incorporated by
-
WFCORE-2326 Upgrade to jboss-modules 1.6.0 Beta5
- Resolved