整合weblogic cluster + apache
1. 在Weblogic安裝目錄中找到For Apache的Plug-ins位于$WL_HOME/bin目錄下,其中:
mod_wl128_20.so:用于Standard Apache Version 2.0.x(Regular Strength Encryption)
mod_wl_20.so:用于Standard Apache Version 2.0.x(128-bit Encryption)
2. 確認需要的Apache版本
3. 確認在Apache中支持Plug-ins
執行:$APACHE_HOME/bin/apache -l,如果沒有列出來mod_so.c,則需要重新
Build。
4. 安裝Apache HTTP Server Plug-In module
將mod_wl_20.so復制到$APACHE_HOME/modules目錄下;
修改$APACHE_HOME/conf/httpd.conf配置文件,增加如下行:
LoadModule weblogic_module modules/mod_wl_20.so
5. 在httpd.conf中配置其它參數
<IfModule mod_weblogic.c>
WebLogicCluster localhost:90,localhost:91
MatchExpression *.jsp
</IfModule>
<Location /weblogic>
SetHandler weblogic-handler
PathTrim /
</Location>
<IfModule mod_weblogic.c>
WebLogicCluster localhost:7003,localhost:7005,localhost:7007
MatchExpression *
</IfModule>
<Location /DizzyTixWeb>
SetHandler weblogic-handler
PathTrim /
</Location>
<Location /DizzySupplies>
SetHandler weblogic-handler
PathTrim /
</Location>
WebLogicCluster localhost:90,localhost:91
MatchExpression *.jsp
</IfModule>
<Location /weblogic>
SetHandler weblogic-handler
PathTrim /
</Location>
<IfModule mod_weblogic.c>
WebLogicCluster localhost:7003,localhost:7005,localhost:7007
MatchExpression *
</IfModule>
<Location /DizzyTixWeb>
SetHandler weblogic-handler
PathTrim /
</Location>
<Location /DizzySupplies>
SetHandler weblogic-handler
PathTrim /
</Location>
檢查httpd.conf配置是否正確:APACHE_HOME\bin\Apache -t
6. 重啟Weblogic Server
7. 啟動Apache HTTP Server
8. 測試插件 http://localhost/weblogic/
posted on 2007-06-19 01:02 Vincent.Chen 閱讀(622) 評論(0) 編輯 收藏 所屬分類: Java 、BEA