3 Replies Latest reply on Mar 4, 2011 3:21 PM by Clebert Suconic

    Enabling AIO on HornetQ

    mstefa02 Newbie

      Hi

       

      I am trying to enable AIO on hornetq and am running into problems. My server is running RHEL5

       

      I run this command   /bin/rpm -q libaio.x86_64     and get this output

       

      libaio-0.3.106-5

       

      So the libaio package is intalled on the machine. Next I have the following files in this directory  /www/redhat/eap-jms-md1/jboss-as/native/lib64

      of my eap installation

       

      libHornetQAIO.la

      libHornetQAIO.so

      libHornetQAIO.so.0

      libHornetQAIO.so.0.0.0

       

      I then run 'run.sh' from this directory /www/redhat/eap-jms-md1/jboss-as/bin and here is some of the output

       

      JBOSS_HOME: /www/redhat/eap-jms-md1/jboss-as

      JAVA_OPTS: -Dprogram.name=run.sh -server -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -Djava.net.preferIPv4Stack=true -Djava.library.path=/www/redhat/eap-jms-md1/jboss-as/native/lib64

       

      the java.library.path looks like it is correct. However, I still see the following message

       

      10:14:28,013 WARNING [FileConfigurationParser] 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

       

      Any ideas?

       

      Thanks