首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

Apache 署理 WebLogic集群

2012-11-07 
Apache 代理 WebLogic集群1、复制 {weblogic_home}/server/plugin/win/{os_type}/mod_wl_{apache_version}.

Apache 代理 WebLogic集群

1、复制 {weblogic_home}/server/plugin/win/{os_type}/mod_wl_{apache_version}.so 到 {apache_home}/modules

2、httpd.conf中加入:

<IfModule mod_weblogic.c>
WeblogicCluster 192.168.10.101:7010,192.168.10.102:7011
MatchExpression *
WLLogFile "/logs/wlproxy.log"
Debug On
DebugConfigInfo On
KeepAliveEnabled On
KeepAliveSecs 15
</IfModule>

3、设置 Weblogic Session 同步
修改项目配置文件weblogic.xml,加入如下内容

<?xml version="1.0" encoding="GBK"?>
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90">
? <session-descriptor>
??? <persistent-store-type>replicated</persistent-store-type>
??? <sharing-enabled>true</sharing-enabled>
? </session-descriptor>
</weblogic-web-app>

?

附:linux 下 weblogic的apache插件

热点排行