Oracle Http Server installation and Weblogic integration setting
Install
Next... Next...
Create Instance
$MW_HOME/oracle_common/common/bin/config.sh
Modify mod_wl_ohs.config
$MW_HOME/user_projects/domains/base_domain/config/fmwconfig/components/OHS/ohs1/
mod_wl_ohs.conf
# NOTE : This is a template to configure mod_weblogic.
LoadModule weblogic_module "${PRODUCT_HOME}/modules/mod_wl_ohs.so"
# This empty block is needed to save mod_wl related configuration from EM to this file when changes are made at the Base Virtual Host Level
<IfModule weblogic_module>
WebLogicHost 192.168.253.131
WebLogicPort 7002
MatchExpression *.jsp
WLIOTimeoutSecs 300
WLServerInitiatedFailover OFF
ErrorPage warningerror.html
DynamicServerList OFF
Idempotent OFF
</IfModule>
<FilesMatch "\,(gif|css|js)$">
FileETag MTime Size
Header unset ETag
Header set Cache-Control "public, max-age=1440, must-revalidate"
</FilesMatch>
<Location /LT.*>
WLSRequest ON
WebLogicCluster 192.168.253.131:7003 192.168.253.132:7003
WLIOTimeoutSecs 300
Idempotent OFF
DynamicServerList ON
ConnectTimeoutSecs 24
ConnectRetrySecs 2
DebugConfigInfo ON
ErrorPage warningerror.html
</Location>
## ErrorDocument set.
Alias /error /App/OnlineWeb/
ErrorDocument 401 /error/warningerror.html
ErrorDocument 403 /error/warningerror.html
ErrorDocument 404 /error/warningerror.html
ErrorDocument 500 /error/warningerror.html
Start Instance
nohup $DOMAIN_HOME/bin/startNodeManager.sh > /dev/null 2>&1 &
$DOMAIN_HOME/bin/startComponent.sh ohs1 storeUserConfig
Stop Instance
$DOMAIN_HOME/bin/stopComponent.sh ohs1
$DOMAIN_HOME/bin/stopNodeManager.sh
Change NodeManager Port
$MW_HOME/user_projects/domains/base_domain/nodemanager/nodemanager.properties
$MW_HOME/oracle_common/common/bin/wlst.sh
> readDomain('/app/oracle/product/middleware/user_projects/domains/base_domain');
> cd('Machine/localmachine/NodeManager/localmachine');
> set('ListenPort', 5557);
> updateDomain();
> closeDomain();