`
xw302
  • 浏览: 120975 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Oracle WebTier使用总结

阅读更多
最近在项目中配置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即可。
这个问题也可能出现在其他的软件安装中,如Oracle Weblogic , Oracle SOA等,解决方法同上。

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介绍。
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics