WLW 8.1 - Struts validator sample does not not work when if a proxy server is present or when no network connection is available - CR123078

(Doc ID 773898.1)

Last updated on AUGUST 16, 2016

Applies to:

Oracle Workshop for Weblogic - Version: 8.1 to 8.1
Information in this document applies to any platform.
Information in this document applies to any platform


DESCRIPTION: When Struts validator sample is executed with a proxy server or when no network connection is available, the following exception occurs:
Throwable: java.net.UnknownHostException: jakarta.apache.org

Stack Trace:
java.net.UnknownHostException: jakarta.apache.org
at java.net.InetAddress.getAllByName0(InetAddress.java:1004)
at java.net.InetAddress.getAllByName0(InetAddress.java:969)
at java.net.InetAddress.getAllByName(InetAddress.java:963)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:228)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:292)
at weblogic.net.http.HttpClient.<init>(HttpClient.java:128)
at weblogic.net.http.HttpURLConnection.getHttpClient(HttpURLConnection.java:122)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:321)
at java.net.URL.openStream(URL.java:960)


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms