Configure Proxy Settings for WebLogic Server

To use external Web Services or HTTP data sources when Oracle BI Applications is configured behind a firewall or requires a proxy to access the internet, you must configure Oracle WebLogic Server to allow the Web service requests and to be aware of the proxy.

This task is part of the Fusion Application Cloud Source System Deployment Roadmap.

Define the proxy host and the non-proxy hosts to WebLogic ODI managed server (ODI_server1) by setting the following parameters:

  • -Dhttp.proxyHost - specifies the proxy host. For example:

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

  • -Dhttp.proxyPort - specifies the proxy host port. For example:

    -Dhttp.proxyPort=80

  • -Dhttp.nonProxyHosts - specifies the hosts to connect to directly, not through the proxy. Specify the list of hosts, each separated by a "|" character; a wildcard character (*) can be used for matching. For example:

    -Dhttp.nonProxyHosts="localhost|*.example1.com|*.example2.com

To set these proxy parameters and the Web service configuration for your WebLogic Server, update the WebLogic setDomainEnv script:

  1. Open the setDomainEnv script (.sh or .bat) in the MW_HOME/user_projects/domains/DOMAIN_NAME/bin/ directory.
  2. Enter the following parameters:
    EXTRA_JAVA_PROPERTIES="-Dhttp.proxyHost=www-proxy.example.com -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=localhost|*.mycompany.com|*.mycorporation.com|*.otherhost.com ${EXTRA_JAVA_PROPERTIES}"
    export EXTRA_JAVA_PROPERTIES
     
     
    EXTRA_JAVA_PROPERTIES="-Djavax.xml.soap.MessageFactory=oracle.j2ee.ws.saaj.soap.MessageFactoryImpl 
    -Djavax.xml.soap.SOAPFactory=oracle.j2ee.ws.saaj.SOAPFactoryImpl -Djavax.xml.soap.SOAPConnectionFactory=oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnectionFactory  ${EXTRA_JAVA_PROPERTIES}"
    export EXTRA_JAVA_PROPERTIES
    

    where:

    www-proxy.example.com is an example proxy host.

    80 is the example proxy port.

    localhost|*.mycompany.com|*.mycorporation.com|*.otherhost.com are example non-proxy hosts.