[
https://jira.jboss.org/browse/JBAS-8481?page=com.atlassian.jira.plugin.sy...
]
Frank Langelage updated JBAS-8481:
----------------------------------
Summary: Avoid warning about missing AIO when not on Linux (was: *nio)
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.
was:
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
Avoid warning about missing AIO when not on Linux
-------------------------------------------------
Key: JBAS-8481
URL:
https://jira.jboss.org/browse/JBAS-8481
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 6.0.0.M5
Environment: JBoss svn checkout on Solaris 10 using Sun JDK 1.6.0_21.
Reporter: Frank Langelage
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira