When trying to use the "JBoss EAP 5.1.0 Native Components for Microsoft Windows, x86_64" on JBoss EAP 5.1.0 which is hosted on a Microsoft Windows 2008 server R2 (64 bit OS). But it was found that EAP couldn't recognize it at start-up and continually throws error as given below.
INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Jboss\jboss-eap-5.1\jboss-as\bin\native\bin;
- The Native libraries were installed inside $JBOSS_HOME/bin for this occasion. It was also attempted setting the "-Djava.library.path" argument at server start-up, providing the location of the Native libraries exclusively but it has no effect. It was also tried to set the path using the earlier mentioned way (i.e.: "-Djava.library.path") upto "$JBOSS_HOME/bin/native/lib64" (this is the directory which contains the ".lib" files) and "$JBOSS_HOME/bin/native" without fruitful results. Interestingly, while simulating the same thing on Windows 2003 server (although with "JBoss EAP 5.1.0 Native Components for Microsoft Windows, i386"), JBoss EAP 5.1.0 only seems to accept the Native libraries only if the path is provided until "$JBOSS_HOME/bin/native/lib". An attempt was made to place the Native libraries at almost all the locations from where JBoss EAP searches them (as specified in $JBOSS_HOME/bin/run.bat), but still face the same error.
Hence, can anyone please look into this issue whether Native Libraries are not compatible with Microsoft Windows 2008 R2 ?