Focus On Oracle

Installing, Backup & Recovery, Performance Tuning,
Troubleshooting, Upgrading, Patching

Oracle Engineered System


当前位置: 首页 » 技术文章 » Oracle

How to configure Apache as a Reverse Proxy Server (RPS) on WebLogic

config yum if not done

cat /etc/yum.repos.d/oel6.repo
[oel68]
name=Oracle Linux $releasever Latest ($basearch)
baseurl=http://<ipaddress>/media
enabled=1


Install Apache first

yum install httpd* -y

copy mod_wl_22.so to /etc/httpd/modules

start httpd service

[root@psdyy-man lib64]# service httpd start
Starting httpd: httpd: Syntax error on line 150 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_wl_22.so into server: libstdc++.so.5: cannot open shared object file: No such file or directory
                                                           [FAILED]
[root@psdyy-man lib64]#
Note:to resolve above issue,you need to install compat-libstdc++-33 rpms(yum install compat-libstdc++-33* -y)
add below line to httpd.conf
LoadModule weblogic_module modules/mod_wl_22.so
<IfModule mod_weblogic.c>
WebLogicCluster ohs1:7003,ohs2:7003
MatchExpression *.*
</IfModule>

export JAVA_HOME=/etc/jdk1.6.0_45
export FMW_HOME=/psdyy/fmw
export DOMAIN_HOME=/psdyy/fmw/user_projects/domains/psdyy
export WLS_HOME=/psdyy/fmw/wlserver_10.3
export PATH=$PATH:$JAVA_HOME/bin:$WLS_HOME/common/bin:$WLS_HOME/server/bin:.


Reference
https://docs.oracle.com/middleware/1213/webtier/develop-plugin/apache.htm#PLGWL395


关键词:fmw httpd weblogic 

相关文章

How to configure Apache as a Reverse Proxy Server (RPS) on WebLogic
How to Setup Weblogic Cluster Step by Step
Weblogic Cluster
How to recover weblogic password

联系我们

Top
Cell186-9589-1286
QQ 375349564
E-mail ohsdba@qq.com