How to configure proxy settings for Weblogic Server

3.09K views
0

How to configure proxy settings for Weblogic Server 12c?

When the application is hosted behind a firewall and we required to send the request outside the firewall then we require a proxy to access the internet, to send the request. Then we need to configure the proxy in Oracle Weblogic Server 12c to allow the Web service requests.

 

 

 

htmlAdmin2609 Changed status to publish February 11, 2021
Add a Comment
0

Methods to set Proxy Settings on Weblogic Server

We can enable proxy on the Oracle Weblogic server in two ways.

1. Proxy Setting on Weblogic server console

We can simply enable the proxy by setting the following parameters in the Weblogic server console.

-Dhttp.proxyHost - specifies the proxy host ( IP or Domain)

-Dhttp.proxyHost=192.16.0.0  or

-Dhttp.proxyHost=www-proxy.domain.com

-Dhttp.proxyPort=80

2. Proxy Setting on Weblogic  (setDomainenv.sh for Linux and setDomainenv.cmd for Windows server)

The JAVA_OPTION suggested by Oracle Team

Path: DOMAIN_HOME/user_projects/domains/DOMAIN_NAME/bin/

EXTRA_JAVA_PROPERTIES="-Dhttp.proxyHost=192.0.0.0 or www-proxy.domain.com -Dhttp.proxyPort=80  ${EXTRA_JAVA_PROPERTIES}"
export EXTRA_JAVA_PROPERTIES

OR 

JAVA_OPTIONS="${JAVA_OPTIONS} -Dhttp.proxyHost=10.1.1.02 -Dhttp.proxyPort=80

 

 

 

 

htmlAdmin2609 Changed status to publish February 11, 2021
Add a Comment
Write your answer.
close