Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-8481

Avoid warning about missing AIO when not on Linux

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Obsolete
    • Major
    • None
    • 6.0.0.M5
    • JMS (HornetQ)
    • None
    • 0
    • 0% 0%

    Description

      On startup of JBossAS-6.0.0-SNAPSHOT I get two times this warning:
      22:00:07,984 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
      ...
      22:01:02,245 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

      By evaluating the property os.name JBoss should find out if it's a Linux system or not and raise this warning only if it's a Linux system.
      In my case the property os.name is SunOS so this warnings are not relevant in my understanding.

      Attachments

        Activity

          People

            Unassigned Unassigned
            franklangelage Frank Langelage (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: