Vincent.Chan‘s Blog

常用链接

统计

积分与排名

网站

最新评论

整合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>

检查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 阅读(604) 评论(0)  编辑  收藏 所属分类: JavaBEA


只有注册用户登录后才能发表评论。


网站导航: