My Oracle Support Banner

Java.net.UnknownHostException: <SERVICE_NAME>.us2.oraclecloud.com From JCS (Doc ID 2284946.1)

Last updated on JUNE 10, 2024

Applies to:

Oracle Java Cloud Service - SaaS Extension - Version N/A to N/A [Release 1.0]
Information in this document applies to any platform.

Goal

User gets following error when making outbound call i.e. Unable to reach <SERVICE_NAME>.us2.oraclecloud.com without any proxy configuration

java.net.UnknownHostException: <SERVICE_NAME>.us2.oraclecloud.com at
oracle.cloud.jcs.scanning.impl.extension.network.InetAddressGetAllByNameHandle
r.invoke(InetAddressGetAllByNameHandler.java:45) at
oracle.cloud.jcs.security.SecurityManager_KQUYW99843qimjb.__fwd__0Z0y7L7ug___M
t5TSy2rrLWbqQGic__U9v_POLICY_ID_133(SecurityManager_KQUYW99843qimjb.java:2470)
 at
org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsRes
olver.java:45) at
org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultH
ttpClientConnectionOperator.java:112) at
org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHt
tpClientConnectionManager.java:359) at
org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.ja
va:381) at
org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237)
 at
org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) at
org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) at
org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) at
org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.ja
va:185) at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.ja
va:83) at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.ja
va:108) at
<CUSTOM CODE> at
view.backing.JSWUpdated.submitAndRelease(JSWUpdated.java:934) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.j
ava:43) at java.lang.reflect.Method.invoke(Method.java:606) at
com.sun.el.parser.AstValue.invoke(AstValue.java:187) at
com.sun.el.MethodExpressionI3-
15098293440: (GCS Col
 

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
References


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