读书人

Apache 署理 WebLogic集群

发布时间: 2012-11-07 09:56:10 作者: rapoo

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插件

读书人网 >Web前端

热点推荐