How enable http tunneling in weblogic

Oracle Weblogic Server

As t3 protocol is not supported over cluster due to presence of proxy host (Web Tier). We are required to do http tunneling over t3. Please follow below steps to achive this.

 

1) Configuring http proxy host

Modify httpd.conf or mod_wl_ohs.conf at

OHS_HOME/config/OHS/ohs1/mod_wl_ohs.conf

<Location /HTTPClnt>

SetHandler weblogic-handler

WebLogicCluster ms1.global.tp.com:8001,ms2.global.tp.com:8002

WLLogFile /tmp/web_log.log

</Location>

Restart using ./opmnctl stopall, startall

2) Configuring Weblogic Server

a. Login to console

b. Click Admin and each manager server

c. Click Protocols -> HTTP-> Enable Tunneling

d. Save the configuration and Restart Admin and Managed Servers(ms1 and ms2)

After following the above two steps, configure client to connect as

java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory

java.naming.provider.url=http://ms1.global.tp.com:7001

java.naming.security.principal=<username>

java.naming.security.credentials=<password>

Note: If you notice below error after configuration then change the location to <Location /bea_wls_internal> instead of <Location /HTTPClnt>

"Destination unreachable, java.io.FileNotFoundException"

For more info please visit below docs:

http://docs.oracle.com/cd/E12840_01/wls/docs103/plugins/apache.html
http://docs.oracle.com/javase/1.5.0/docs/guide/jndi/jndi-rmi.html
http://docs.oracle.com/cd/E14571_01/web.1111/e16435/apache.htm
http://docs.oracle.com/cd/E17904_01/web.1111/e13717/wlthint3client.htm

In case of any ┬ęCopyright or missing credits issue please check CopyRights page for faster resolutions.

Leave a Reply