Search code examples
javaproxyweblogicweblogic12c

Does Weblogic 12c server ignore http.proxy* parameters?


I'm running Weblogic 12.1.2 on Mac OS X and I have a system wide proxy set in Network Configuration.

I wan't Weblogic to ignore the proxy setting and use direct connection to web services. However, the Weblogic seems to ignore any command line http.proxy* parameters.

I modified startup script to add following parameters:

-Dhttp.nonProxyHosts=* -Dava.net.useSystemProxies=false -Dhttp.proxySet=false

but Weblogic still tries to use proxy to connect to web service.

Anyone experiencing similar behavior? Should I use some specific prefix?

EDIT: Weblogic 12.1.1 seems to ignore proxy settings at all.


Solution

  • I forgot that I must re-set http and https proxy.

    The best place to do it is in file setDomainEnv.sh by adding following lines to the bottom:

    PROXY_SETTINGS="-Djava.net.useSystemProxies=false -Dhttp.proxyHost=\"\" -Dhttps.proxyHost=\"\" -Dhttp.proxyPort=\"\" -Dhttps.proxyPort=\"\"" export PROXY_SETTINGS