I followed the instructions on:
http://wiki.jboss.org/wiki/Wiki.jsp?page=HowToAddAprToJBoss
and installed the file from:
http://labs.jboss.com/downloading/?projectId=jbossweb&url=http://labs.jboss.com/file-access/default/members/jbossweb/freezone/dist/2.0.1.GA/jboss-native-2.0.1-solaris-i686-ssl.tar.gz
I get the following error:
The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/jboss-4.2.1.GA/bin/native
6058/15: open("/usr/jboss-4.2.1.GA/bin/native/libtcnative-1.so.0.1.11", O_RDONLY|O_NONBLOCK) = 171 6058/15: read(171, 0xB67AA2F0, 52) = 52 6058/15: 7F E L F010101\0\0\0\0\0\0\0\0\003\003\001\0\0\0B4\0\0\0 4\0\0\0 6058/15: X0F\r\0\0\0\0\0 4\0 \004\0 (\0 %\0 $\0 6058/15: close(171) = 0 6058/15: stat64("/usr/jdk/instances/jdk1.6.0/jre/lib/i386/liblibtcnative-1.so", 0xB67AA6E0) Err#2 ENOENT 6058/15: stat64("/usr/jboss-4.2.1.GA/bin/native/liblibtcnative-1.so", 0xB67AA6E0) Err#2 ENOENT
I get the same trying to use Native 2.0.1 with JBossAS 4.2.2 on Win32.