Oracle WebTier使用总结

本文档详细介绍了Oracle WebTier的安装过程,并记录了安装及配置中可能遇到的问题及其解决方案,包括处理已存在的Oracle Home错误、解决opmnctl命令权限问题、更新WebLogic EM中的WebTier主机域名及实例的添加与卸载。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

最近在项目中配置Single sign-on(SSO),用到WebTier,安装比较简单,参照官方文档即可。
The web tier is:
– Responsible for interacting with the end user
• Primarily in the forms of HTTP requests and responses
– The outermost tier in the application server

• Oracle Web Tier comprises of two components:
– Oracle Web Cache
• A content-aware server accelerator, secure reverse proxy
server that improves the performance, scalability, and
availability of web sites
– Oracle HTTP Server
• Apache based web server that provides a HTTP listener for
Oracle WebLogic Server and the framework for hosting static
pages, dynamic pages, and applications over the web



总结下安装和配置中遇到的一些问题:
1、在WebTier安装中遇到错误:
error:An oracle home with name already exists at location

原因是之前有卸载或不正常操作造成entry遗留。
解决办法:
vim $ORACLE_WT/inventory/ContentsXML

删除对应的entry即可。
[i]这个问题也可能出现在其他的软件安装中,如Oracle Weblogic , Oracle SOA等,解决方法同上。[/i]

2、在执行opmnctl命令时出现如下错误:
Error: cannot restore segment prot after reloc: Permission denied

Error: modload: /usr/local/aw/bin/libarchdev.so:
couldn't load file "/usr/local/aw/bin/libarchdev.so":
/usr/local/aw/bin/libarchdev.so: cannot restore segment prot after reloc:
Permission denied
Fatal: modload: failed to load module '/usr/local/aw/bin/libarchdev.so'


Most probably caused by the security extension SeLinux. SeLinux is active in newer Linux distributions with 2.6. kernels. SeLinux changes some system default behaviour, including the shared library loading.

Solution:
vim /etc/sysconfig/selinux

Add the line
SELINUX=disabled

and restart the host.

3、如果主机的域名做了更改,但在weblogic em中的OHS/Webcache的主机域名还是没有变化,这个时候需要在weblogic AdminServer上重新注册webtier,使用命令如下:
$ORACLE_WT/instances/instance1/bin/opmnctl updateinstanceregistration

运行完后,重新登录EM,则WebTier的主机域名已经更改了,可以在EM中管理WebTier。

4、添加或卸载instances
添加:
Web_Tier_ORACLE_HOME/bin/config.sh


卸载:
Web_Tier_ORACLE_HOME/oui/bin/runInstaller -deinstall



附件是WebTier11gR1.pdf,一个浅显而全面的WebTier介绍。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值