How to configure HTTP Serer infront of WebLogic Server — oracle-tech

    Forum Stats

  • 3,708,677 Users
  • 2,241,108 Discussions
  • 7,840,528 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to configure HTTP Serer infront of WebLogic Server

How to configure HTTP Serer infront of WebLogic Server
[Related knowledge]
mod_wl_ohs: is a module in Oracle HTTP Server 11g R1 which allows requests to be proxied from Oracle HTTP Server (OHS) to Oracle WebLogic Server.
mod_weblogic: This module is part of Apache HTTP Server and allows requests to be proxied from Apache HTTP Server to Oracle WebLogic Server.
[Step by Step]
1. Install WebLogic Server and define server listening on port XXXX (7001 in this example)
2. Install Oracle HTTP Sever 11g
3. Modify mod_wl_ohs.conf
$ORACLE_INSTANCE/ config/ <COMPONENT_TYPE>/ <COMPONENT_NAME>/ mod_wl_ohs.conf
a) For weblogic single instance
<Location /console>
SetHandler weblogic-handler
WebLogicHost server1
WeblogicPort 7001
</Location>
b) For Weblogic instances in cluster
<Location /myServerURL>
SetHandler weblogic-handler
WebLogicCluster server1:7010,server2:7010
</Location>
4. Restart HTTP Server
$INSTANCE_HOME/ bin/ opmnctl restartproc ias-component=ohs1
5. Test that you can access application deployed on Weblogic using Oracle HTTP Server like
http://servername:ohs_http_port/console
Tagged:
This discussion has been closed.