My Oracle Support Banner

WLS 7.0 SP2 - Http proxy not enabling http transport through the http.proxyHost - CR121043 (Doc ID 773702.1)

Last updated on MAY 18, 2021

Applies to:

Oracle WebLogic Server - Version 7.0 to 7.0
Information in this document applies to any platform.

Goal

DESCRIPTION:
HTTP proxy not enabling HTTP transport through the http.proxyHost. 
 
    java.lang.System.getProperties().put("http.proxyHost", proxyHost);
    java.lang.System.getProperties().put("http.proxyPort", proxyPort);
    System.out.println("Directly setting proxy "); 
    URL url = new java.net.URL("http://host.domain");
    java.net.URLConnection conn = url.openConnection();
    conn.connect();

CONFIGURATION:
WLS 7.0 SP2

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.