我正试图在ERHL上运行AIO(6)运行Jboss EAP 6.1并启用消息传递(HornetQ)。我在日志类型中启用了ASYNCIO,但是当我启动服务器时,我得到:
13:00:00,307 WARN [org.jboss.as.messaging] (MSC service thread 1-3) JBAS011600: AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal
我知道,'libaio'已经安装:
Package libaio-0.3.107-10.el6.x86_64 already installed and latest version
我需要做些什么才能让它发挥作用? 感谢。
答案 0 :(得分:0)
默认情况下,JBoss EAP 6不包含jbossas-hornetq-native
包。请查看以下链接:
$ yum groupinfo jboss-eap6
Group: JBoss EAP 6
Mandatory Packages:
jbossas-appclient
jbossas-bundles
jbossas-core
jbossas-domain
jbossas-hornetq-native
jbossas-jbossweb-native
jbossas-modules-eap
jbossas-product-eap
jbossas-standalone
jbossas-welcome-content-eap
jbossas-hornetq-native package
$ rpm -ql jbossas-hornetq-native
/usr/share/jbossas/modules/org/hornetq/main/lib
/usr/share/jbossas/modules/org/hornetq/main/lib/linux-x86_64
/usr/share/jbossas/modules/org/hornetq/main/lib/linux-x86_64/libHornetQAIO.so
请注意,JBoss EAP 6中包含jbossas-hornetq-native
包以实现高可用性,但默认情况下不会激活它。