在JBoss 中装配 JBoss Web Native Connectors

在JBoss 中安装 JBoss Web Native Connectors

java blog

Jboss 的 Web Connectors 使用的 apache tomcat 。Apache tomcat 有一个扩展包,使tomcat可以通过 java native interface 使用 apache portable runtime (APR),而APR则是大名顶顶的apache httpd 网络服务器的运行时环境。用了这个扩展之后,就使得tomcat可以借助于apache httpd的力量,性能得以提升,尤其是处理静态文件时效率更高。Jboss native,实际上就是tomcat的这个native的扩展,只不过被jboss又添进了一些为了和jboss更好协作而加进去的东西。


安装 JBoss Web Native Connectors 步骤如下:


1, 下载。 JBoss Web Native Connectors下载地址是 http://www.jboss.org/jbossweb/downloads/jboss-native/?action=a&windowstate=maximized, 依据服务器环境选择合适的版本 。

 
2,解压下载后的压缩包到某个目录,比如 jbossNative目录 将jbossNative/bin/META-INF/bin/linux2/x86/openssl 复制到<jboss>/bin 目录下。


3,在<jboss>/bin目录里建一个文件夹,名为 native  把jbossNative/bin/META-INF/lib/linux2/x86/ 目录下所有内容复制到上一步建好的<jboss>/bin/native目录下。

 

 

购物推荐